RSSAmplifier

Skill Issue Dev | Dax the Dev · Mar 5, 2026

Tree-state client: fetch the Merkle tree from chain

0
Sign in to vote or save

This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.

The wallet needs the Merkle root to generate proofs, and ideally the full tree to scan for owned notes. Added TreeStateClient that pulls compressed-account state from a Photon RPC, reconstructs the depth-32 Poseidon tree client-side, and verifies the on-chain root matches. Performance: 50K notes reconstructs in ~400ms. Above ~1M and the wallet should switch to lazy path-fetching (only request the…

Read on github.com

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.