Inspiration
Public blockchains are transparent and every information stored on-chain is publicly available. This could potentially endanger privacy and safety of the people who are using the blockchain. Zero-Knowledge proofs allow us to preserve privacy, while building dapps. With the use of zk we could make anonymous voting applications that will allow for better decision making by allowing people to vote without worrying about the consequences of exposing the public information about themselves.
What it does
Nearcon Voting dapp is enabling users to vote on the best project on the hackathon, without exposing their personal information or even the blockchain address.
How we built it
We built this app with the use of Zero-Knowledge proofs and Near smart contracts written in rust. User interface is implemented in React.js.
Challenges we ran into
We ran into the big challenge that we were not able to fully resolve. The semaphore.rs library that we were using, contains the package that is not supported by the wasm runtime. We were able to build smart contract and to deploy it, but we weren't able to execute none of the functions.
Accomplishments that we're proud of
We are proud that we learned Rust and building smart contracts on Near. Also we got used to the Near ecosystem and met new colleagues.
What we learned
We learned the specifics of the Near ecosystem. Also we learned how to build, deploy and test smart contracts on Near.
What's next for hackerVote
The next step for us would be to continue building and improving the app. We will try to enable better support for zk on Near ecosystem. Then we will expend our team in order to make a voting tool that will have a real value for the users.
Built With
- circom
- javascript
- react
- rust
- ts
Log in or sign up for Devpost to join the conversation.