Skip to content

Commit 07f4d30

Browse files
author
tilo-14
committed
update nullifier-program description with use case context
1 parent a2d5e2a commit 07f4d30

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

compressed-pdas/program-examples.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Full compressed account lifecycle (create, increment, decrement, reset, close):
4848

4949
## Nullifier Program
5050

51-
* [**nullifier-program**](https://github.com/Lightprotocol/nullifier-program) - Creates a rent-free PDA derived from an id. If the id has been used before, the PDA already exists, causing the instruction to fail.
51+
* [**nullifier-program**](https://github.com/Lightprotocol/nullifier-program) - For some use cases, such as sending payments, you might want to prevent your onchain instruction from being executed more than once. Creates a rent-free PDA derived from an id. If the id has been used before, the PDA already exists, causing the instruction to fail.
5252

5353
## ZK-ID Program
5454

snippets/overview-tables/program-examples-table.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88
| [Create-and-Update](https://github.com/Lightprotocol/program-examples/tree/main/create-and-update) | Create new compressed accounts and update existing ones within a single instruction and one validity proof |
99
| [Read-Only](https://github.com/Lightprotocol/program-examples/tree/main/read-only) | Create compressed accounts and read them on-chain |
1010
| [Account Comparison](https://github.com/Lightprotocol/program-examples/tree/main/account-comparison) | Compare compressed accounts with standard Solana accounts |
11-
| [Nullifier Program](https://github.com/Lightprotocol/nullifier-program) | Creates a rent-free PDA derived from an id. If the id has been used before, the PDA already exists, causing the instruction to fail |
11+
| [Nullifier Program](https://github.com/Lightprotocol/nullifier-program) | For some use cases, such as sending payments, you might want to prevent your onchain instruction from being executed more than once. Creates a rent-free PDA derived from an id. If the id has been used before, the PDA already exists, causing the instruction to fail |
1212
| [ZK-ID](https://github.com/Lightprotocol/program-examples/tree/main/zk-id) | Program that uses zero-knowledge proofs for identity verification with compressed accounts |

0 commit comments

Comments
 (0)