UPDATE: This repo is outdated. Refer to https://github.com/noir-lang/noir-examples for the most recent examples.
A collection of simple examples demonstrating how to do recursion in Noir.
- Install Node.js ≥v18 (tested on v18.17.0)
- Install Nargo via nix with the instructions here (tested on commit ea80de5)
- Install bb.js by running
npm i -g @aztec/bb.js
(tested on v0.3.3)
https://github.com/Savio-Sou/recursion-demo.git
cd recursion-demo
nargo compile main
nargo execute witness
bb.js prove -o proof
bb.js write_vk -o vk
bb.js verify -k vk -p proof
- TBC
- TBC