Expand description
On-chain program interaction module. Contains the client and utilities for interacting with the Lightcone smart contract. On-chain program interaction module for Lightcone.
This module provides the client and utilities for interacting with the Lightcone smart contract on Solana.
Re-exports§
pub use accounts::Exchange;pub use accounts::Market;pub use accounts::OrderStatus;pub use accounts::Position;pub use accounts::UserNonce;pub use builder::OrderBuilder;pub use client::LightconePinocchioClient;pub use ed25519::create_batch_ed25519_verify_instruction;pub use ed25519::create_cross_ref_ed25519_instructions;pub use ed25519::create_ed25519_verify_instruction;pub use ed25519::create_order_verify_instruction;pub use ed25519::Ed25519VerifyParams;pub use error::SdkError;pub use error::SdkResult;pub use orders::calculate_taker_fill;pub use orders::derive_condition_id;pub use orders::is_order_expired;pub use orders::orders_can_cross;pub use orders::CompactOrder;pub use orders::FullOrder;pub use constants::*;pub use instructions::*;pub use pda::*;pub use types::*;pub use utils::*;
Modules§
- accounts
- Account structures and deserialization for Lightcone Pinocchio.
- builder
- Fluent builder for creating and signing orders.
- client
- Async client for interacting with the Lightcone Pinocchio program.
- constants
- Constants for the Lightcone Pinocchio program.
- ed25519
- Ed25519 signature verification instruction helpers.
- error
- Error types for the Lightcone on-chain program module.
- instructions
- Instruction builders for all 14 Lightcone Pinocchio instructions.
- orders
- Order types, serialization, hashing, and signing.
- pda
- PDA (Program Derived Address) derivation functions.
- types
- Type definitions for the Lightcone Pinocchio on-chain program.
- utils
- Utility functions for the Lightcone Pinocchio SDK.