The frontend can be found at packages/next-app
To play with it, go to the hardhat folder and run
yarn chain
yarn hardhat deploy --group 42 --network localhost
Then go to the next-app folder and run
yarn dev
The project contains two smart contracts
Personus
: The core personus contract that provides vouch-based identity commitment inductionPersonusConsumer
: A demo contract that consumes the Personus identity commitments
The tests for the smart contract can be found at /packages/hardhat/test
yarn test
- Written for https://rdi.berkeley.edu/berkeley-defi/f22
- Work built on top of Semaphore (https://github.com/semaphore-protocol/semaphore)