This repository has been archived by the owner on Jan 22, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[zk-token-proof] Update docs for the ZK Token proof program in `zk-to…
…ken-sdk` (#32186) * add docs for the proof program instructions * add docs for the zk token proof program * add docs for the instruction data types * add brief description of the proofs for each of the proof instructions * Apply suggestions from code review Co-authored-by: Tyera <teulberg@gmail.com> * change `pubkey` or `public-key` in the docs to `public key` --------- Co-authored-by: Tyera <teulberg@gmail.com>
- Loading branch information
1 parent
20a7cdd
commit 42aa5d2
Showing
3 changed files
with
51 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,11 @@ | ||
//! The native ZK Token proof program. | ||
//! | ||
//! The program verifies a number of zero-knowledge proofs that are tailored to work with Pedersen | ||
//! commitments and ElGamal encryption over the elliptic curve curve25519. A general overview of | ||
//! the program as well as the technical details of some of the proof instructions can be found in | ||
//! the [`ZK Token proof`] documentation. | ||
//! | ||
//! [`ZK Token proof`]: https://edge.docs.solana.com/developing/runtime-facilities/zk-token-proof | ||
// Program Id of the ZkToken Proof program | ||
solana_program::declare_id!("ZkTokenProof1111111111111111111111111111111"); |