Expand description
SDK for building nullifier instructions.
Provides helpers for fetching validity proofs and building instructions
that work with any Rpc-compatible client (LightProgramTest or LightClient).
Structs§
- Proof
Result - Result from fetching validity proof - contains all data needed to build the instruction.
Constants§
- PROGRAM_
ID - The deployed program ID.
Functions§
- address_
tree - Returns the address tree pubkey (static for v2).
- build_
instruction - Builds the create_nullifier instruction from proof data.
- create_
nullifier_ ix - Creates a nullifier instruction in one call.
- derive_
nullifier_ address - Derives the nullifier address for a given ID.
- fetch_
proof - Fetches validity proof and packs accounts for a nullifier creation.
- output_
queue - Output queue pubkey (V2 batch queue 5: oq5oh5ZR3yGomuQgFduNDzjtGvVWfDRGLuDVjv9a96P).