Skip to main content

Crate percolator_sdk

Crate percolator_sdk 

Source
Expand description

§Percolator Rust SDK

A high-performance, type-safe SDK for interacting with the Percolator risk engine on Solana.

§Features

  • Instruction Builders: Type-safe construction of Percolator instructions.
  • Account Decoding: Fast, size-checked decoding of the RiskEngine state.
  • High-Level Client: Simplified RPC interaction for trading, deposits, and maintenance.

Re-exports§

pub use percolator::RiskEngine;
pub use percolator::Account;
pub use percolator::RiskParams;
pub use percolator::InsuranceFund;
pub use percolator::MAX_ACCOUNTS;
pub use accounts::*;
pub use client::*;
pub use instructions::*;

Modules§

accounts
client
instructions
percolator
Formally Verified Risk Engine for Perpetual DEX

Structs§

Keypair
A vanilla Ed25519 key pair
Pubkey
The address of a Solana account.

Traits§

Signer
The Signer trait declares operations that all digital signature providers must support. It is the primary interface by which signers are specified in Transaction signing interfaces