Skip to content

KingGizzard/Ballotbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ballotbox

built during the 2023 FVM hackathon

Exploiting ZKP technology and IPFS to make the future of data by the user, for the user.




set up

dependencies

install node

npm i
npm install -g @lighthouse-web3/sdk

environment

chmod a+x blockchain/compile.sh
cp .example.env .env

fill in .env with relevant keys

lighthouse-web3 import-wallet --key <skAgent2>
lighthouse-web3 api-key --new 



protocol

note: this section can be used in a self contained manner

use these directories in order

push smart contracts live to filecoin hyperspace-test-network, using truffle


this agent asks questions (fully public)


this agent answers questions (anonymous answer, private data)


this agent requests answer data (public question, private response data)


oracle relays information to each party, and handles anonymous submission




This repo contains a guide on running the system with a front-end included




resources

use hyperspace-faucet to fund your accounts in ENV.json

hyperspace-explorer

hyperspace-explorer-alternative


libraries

explanations on the semaphore zero knowledge proof libraries

explanation of lighthouse-sdk for file storage

About

Ballotbox

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •