/RollupNC_tutorial

circom and snarkjs / websnark tutorial, using RollupNC as an example

Primary LanguageAssembly

Zk Rollup Tutorial

Head over to : https://keen-noyce-c29dfa.netlify.app

Circom doc refer to https://docs.circom.io/getting-started/installation/

1. clone repo

git clone https://github.com/xiangjianmeng/RollupNC_tutorial
git submodule update --init --recursive

2. install snarkjs

npm install -g snarkjs@0.5.0

3. install circom 2.1.2, more refer to https://docs.circom.io/getting-started/installation/

curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh

4. run demo

# -d to assign work dir
# -n to assign trusted setup power
# -n to assign .circom filename in work dir
./run.sh -d ./4_single_tx -p 14 -n sample_circuit