Module dusk_plonk::prelude
source · Expand description
Collection of functions needed to use plonk library.
Use this as the only import that you need to interact with the principal data structures of the plonk library.
Re-exports
pub use crate::commitment_scheme::PublicParameters;
pub use crate::composer::Builder;
pub use crate::composer::Circuit;
pub use crate::composer::Compiler;
pub use crate::composer::Composer;
pub use crate::composer::Prover;
pub use crate::composer::Verifier;
pub use crate::constraint_system::Constraint;
pub use crate::constraint_system::Witness;
pub use crate::constraint_system::WitnessPoint;
pub use crate::error::Error;
pub use crate::proof_system::Proof;
Structs
- Represents an element of the scalar field $\mathbb{F}_q$ of the BLS12-381 elliptic curve construction.
- This represents a Jubjub point in the affine
(x, y)
coordinates. - This represents an extended point
(X, Y, Z, T1, T2)
withZ
nonzero, corresponding to the affine point(X/Z, Y/Z)
. We always haveT1 * T2 = XY/Z
. - Represents an element of the scalar field $\mathbb{F}_r$ of the Jubjub elliptic curve construction.