mirror of
https://github.com/AtHeartEngineer/zkp-app-boilerplate.git
synced 2026-01-08 21:08:01 -05:00
main
Zk app boilerplate
Pre requisites
- Install rust and circom2
Getting started
- Clone or fork this template repository.
git clone https://github.com/wanseob/zkp-app-boilerplate - Install packages
yarn - Build: this compiles the circuits and exports artifacts. Then compiles the contracts and generate typescript clients.
yarn build - Run a demo app using a localhost private network.
yarn demo
Run tests
-
Test contracts
yarn workspace contracts test -
Test your circuits
yarn workspace circuits test -
Test your app
yarn workspace app test
Example: EdDSA signature rollup
Let's compress EdDSA signatures into one zk proof! Go to tutorial!
To check the complete codes, visit the tutorial branch.
Languages
TypeScript
88.2%
HTML
5.2%
CSS
2.8%
Shell
2.1%
Circom
1.7%