Skip to content

PaulZhemanov/poseidon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  1. Install Noir
curl -L https://raw.githubusercontent.com/noir-lang/noirup/refs/heads/main/install | bash
noirup
  1. Install Proving Backend:
curl -L https://raw.githubusercontent.com/AztecProtocol/aztec-packages/refs/heads/master/barretenberg/bbup/install | bash
bbup
  1. Create new repo:
mkdir zk
cd zk
  1. Create new Nargo project:
nargo new deposit
  1. 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
  1. Create new Cargo project:
cargo new cli
  1. Run deposit_proof_convert.rs:
cargo run
  1. 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

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors