solana_zk_sdk/zk_elgamal_proof_program/mod.rs
1//! The native ZK ElGamal proof program.
2//!
3//! The program verifies a number of zero-knowledge proofs that are tailored to work with Pedersen
4//! commitments and ElGamal encryption over the elliptic curve curve25519. A general overview of
5//! the program as well as the technical details of some of the proof instructions can be found in
6//! the [`ZK ElGamal proof`] documentation.
7//!
8//! [`ZK ElGamal proof`]: https://docs.solanalabs.com/runtime/zk-token-proof
9
10pub mod errors;
11pub mod instruction;
12pub mod proof_data;
13pub mod state;
14
15// Program Id of the ZK ElGamal Proof program
16pub use solana_sdk_ids::zk_elgamal_proof_program::{check_id, id, ID};