BR Academy
0%
Writing Circuits·Lesson 11 of 33·25 min

Lab: Write a Merkle Tree Membership Proof Circuit

This lesson is for enrolled learners

The concept You build a Merkle membership circuit in Circom: a leaf, a path of siblings, a path of directions, and a public root. The lab makes you encode the hash direction correctly and keep the leaf out of the public outputs unless the design truly needs it. This is the first circuit large enough to hide an off-by-one or……

Enroll to continue Already enrolled? Sign in