Skip to main content

Crate solana_zk_elgamal_proof_interface

Crate solana_zk_elgamal_proof_interface 

Source
Expand description

The native ZK ElGamal 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 ElGamal proof documentation.

This module contains the instruction types, the proof context state, and the proof instruction data types. For the precise processor logic, see the ZK ElGamal Proof program. implementation.

Modules§

instruction
Instructions provided by the ZK ElGamal proof program.
proof_data
state

Constants§

ID
The const program ID.

Functions§

check_id
Returns true if given address is the ID.
id
Returns the ID.