- Install Noir
curl -L https://raw.githubusercontent.com/noir-lang/noirup/refs/heads/main/install | bash
noirup
- Install Proving Backend:
curl -L https://raw.githubusercontent.com/AztecProtocol/aztec-packages/refs/heads/master/barretenberg/bbup/install | bash
bbup
- Create new repo:
- Create new Nargo project:
- Create Deposit proof from /deposit/Prover.toml
cd circuits/deposit
nargo compile
nargo execute
bb prove -b ./target/deposit.json -w ./target/deposit.gz -o ./target
bb write_vk -b ./target/deposit.json -o ./target
- Create new Cargo project:
- Run deposit_proof_convert.rs:
- Create Withdraw proof from /withdraw/Prover.toml
cd circuits/withdraw
nargo compile
nargo execute
bb prove -b ./target/withdraw.json -w ./target/withdraw.gz -o ./target
bb write_vk -b ./target/withdraw.json -o ./target