Skip to main content

arcium_client/
lib.rs

1use anchor_lang::prelude::Pubkey;
2
3pub mod idl;
4pub const ARCIUM_PROGRAM_ID: Pubkey = idl::arcium::ID_CONST;
5pub const ARCIUM_STAKING_PROGRAM_ID: Pubkey = idl::arcium_staking::ID_CONST;
6
7/// Computation definition offset of the keygen circuit.
8pub const MXE_KEYGEN_COMPUTATION_DEFINITION_OFFSET: u32 = 1;
9
10/// Computation definition offset of the key recovery init circuit.
11pub const MXE_KEY_RECOVERY_INIT_COMPUTATION_DEFINITION_OFFSET: u32 = 2;
12
13/// Computation definition offset of the key recovery finalize circuit.
14pub const MXE_KEY_RECOVERY_FINALIZE_COMPUTATION_DEFINITION_OFFSET: u32 = 3;
15#[cfg(feature = "transactions")]
16pub mod instruction;
17pub mod pda;
18#[cfg(feature = "transactions")]
19pub mod state;
20#[cfg(feature = "transactions")]
21pub mod transactions;
22pub mod utils;