File tree Expand file tree Collapse file tree 2 files changed +1
-13
lines changed
Expand file tree Collapse file tree 2 files changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -39,14 +39,4 @@ make zk-id
3939
4040# Show all available commands
4141make help
42- ```
43-
44- ## Light Protocol V2 API
45-
46- These examples use Light Protocol SDK v0.17+ with the V2 accounts layout:
47-
48- - ` light_sdk::cpi::v2::CpiAccounts ` - V2 CPI accounts builder
49- - ` light_sdk::cpi::v2::LightSystemProgramCpi ` - V2 system program CPI
50- - ` PackedAddressTreeInfo::into_new_address_params_assigned_packed() ` - V2 address parameters
51-
52- The V2 layout requires a ` system_accounts_offset ` parameter to locate system accounts in remaining accounts.
42+ ```
Original file line number Diff line number Diff line change 22
33Program with a single instruction to create nullifiers to prevent double-spending.
44
5- Can be added to your custom program without requiring a custom circuit.
6-
75* Nullifiers require a data structure that ensures the nullifier is only created once.
86* On Solana a straight forward way is to derive a PDA with the nullifier as seed for the PDA account.
97* Nullifier accounts must remain active, hence lock ~ 0.001 SOL in rent per nullifier PDA permanently.
You can’t perform that action at this time.
0 commit comments