Skip to content

Web3-Study-with-Sigrid-Jin/zkp-app-boilerplate

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zk app boilerplate

Pre requisites

Getting started

  1. Clone or fork this template repository.
    git clone https://github.com/wanseob/zkp-app-boilerplate
  2. Install packages
    yarn
  3. Build: this compiles the circuits and exports artifacts. Then compiles the contracts and generate typescript clients.
    yarn build
  4. Run a demo app using a localhost private network.
    yarn demo

Run tests

  1. Test contracts

    yarn workspace contracts test
  2. Test your circuits

    yarn workspace circuits test
  3. 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.

About

Build your zkp app with typescript, hardhat, circom, and snarkjs!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 83.2%
  • HTML 5.1%
  • Solidity 4.0%
  • CSS 2.7%
  • Shell 2.5%
  • JavaScript 2.5%