| Program ID | NFLx5WGPrTHHvdRNsidcrNcLxRruMC92E4yv7zhZBoT |
| Networks | Mainnet, Devnet |
| Source code | github.com/Lightprotocol/nullifier-program |
| Example Tx | Solana Explorer |
For the usage example source code, see here: create_nullifier.rs
How It Works
- Derives PDA from
["nullifier", id]seeds (whereidis your unique identifier, e.g. a nonce, uuid, hash of signature, etc.) - Creates an empty rent-free PDA at that address
- If the address exists, the whole transaction fails
- Prepend or append this instruction to your transaction.
Dependencies
- Rust
- TS
Using the Helper
- Rust
- TS
Manually Fetching Proof
- Rust
- TS
Check If Nullifier Exists
- Rust
- TS
Note that this is a reference implementation. Feel free to fork the program as you see fit.