Crate solana_sdk

source ·


pub extern crate bs58;
pub use signer::signers;


Account information.
useful extras for Account state
The definition of address lookup table accounts.
Hashing with the blake3 hash function.
Utilities for the borsh serialization format.
The latest BPF loader native program.
The original and now deprecated Solana BPF loader.
An upgradeable BPF loader native program.
Solana builtin helper macros
Defines traits for blocking (synchronous) and non-blocking (asynchronous) communication with a Solana server as well a a trait that encompasses both.
Information about the network’s clock, ticks, slots, etc.
Debug-formatting of account data.
Converting custom error codes to enums.
Configuration for epochs and slots.
Methods for working with Feature accounts.
Collection of all runtime features.
Calculation of transaction fees.
The genesis_config module is a library for generating the chain’s genesis config.
The hard_forks module is used to maintain the list of slot boundaries for when a hard fork should occur.
A designated address for burning lamports.
configuration for network inflation
Types for directing the execution of Solana programs.
Hashing with the keccak (SHA-3) hash function.
Defines the LamportsError type.
Logging utilities for Rust-based Solana programs.
Sequences of Instructions executed within a single transaction.
Definitions for the native SOL token and its fractional lamports.
Durable transaction nonces.
Solana precompiled programs
Cross-program invocation.
The ProgramError type and related definitions.
Basic low-level memory operations.
A C representation of Rust’s Option, used across the FFI boundary for Solana program interfaces.
The Pack serialization trait.
Implementations of syscalls used when solana-program is built for non-BPF targets.
Configuration for network rent.
A trait for sanitizing values and members of over the wire messages.
A vector of Solana SDK IDs
Public key recovery from secp256k1 ECDSA signatures.
Helpers for reading and writing bytes.
Compact serde-encoding of vectors with small length.
The signature module provides functionality for public, and private keys.
A type to hold data for the SlotHashes sysvar.
A type to hold data for the SlotHistory sysvar.
A type to hold data for the StakeHistory sysvar.
Instructions and constructors for the system program.
The system_transaction module provides functionality for creating system transactions.
Access to special accounts with dynamically-updated data.
The timing module provides std::time utility functions.
Atomically-committed sequences of instructions.
Successors of instruction_context_context::StackFrame, KeyedAccount and AccountInfo


Define the default global allocator.
Define the default global panic handler.
Convenience macro to declare a builtin
Same as declare_id except report that this id has been deprecated
Same as [declare_sysvar_id] except that it reports that this ID has been deprecated.
Convenience macro to declare a static public key and functions to interact with it
Declares an ID that implements SysvarId.
Implements the Sysvar::get method for both BPF and host targets.
Print a message to the log.
Print a message to the log.
Convenience macro to define a static public key
A proc-macro which respans the tokens in its first argument (a Path) to be resolved at the tokens of its second argument. For internal use only.
Convenience macro for AddAssign with saturating arithmetic. Replace by std::num::Saturating once stable
Convenience macro for doing integer division where the operation’s safety can be checked at compile-time.


Attribute Macros