docs.rs failed to build arcium-anchor-0.3.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
arcium-anchor-0.9.7
arcium-anchor
A helper crate for integrating Arcium into Solana programs. Provides utilities, traits, and account types that simplify the development of Anchor-based Solana programs that interact with the Arcium network for encrypted computations.
Usage
use ;
// Initialize a computation definition
init_comp_def?;
// Queue a computation for execution
queue_computation?;
// Handle computation results
match computation_output
Main Exports
Core Functions
queue_computation()- Queue an encrypted computation for executioninit_comp_def()- Initialize a computation definition on-chaincomp_def_offset()- Calculate computation definition account offset
Types
ComputationOutputs<O>- Enum for computation results (Success/Failure)SharedEncryptedStruct<const LEN: usize>- Container for shared encrypted dataMXEEncryptedStruct<const LEN: usize>- Container for MXE encrypted data
Traits
QueueCompAccs- Trait for accounts that can queue computationsFinalizeCompAccs- Trait for accounts that can finalize computationsInitCompDefAccs- Trait for accounts that can initialize computation definitions
PDA Utilities
Various helper macros for deriving Program Derived Addresses (PDAs) used by Arcium accounts.