Crate solana_sdk[−][src]
Re-exports
pub extern crate bs58; |
Modules
account | |
account_info | |
account_utils | useful extras for Account state |
borsh | Borsh utils |
bpf_loader | @brief The latest Solana BPF loader. |
bpf_loader_deprecated | @brief The original and now deprecated Solana BPF loader. |
bpf_loader_upgradeable | @brief An Upgradeable Solana BPF loader. |
builtins | @brief Solana builtin helper macros |
client | Defines traits for blocking (synchronous) and non-blocking (asynchronous) communication with a Solana server as well a a trait that encompasses both. |
clock | Provides information about the network’s clock which is made up of ticks, slots, etc… |
commitment_config | |
decode_error | |
deserialize_utils | |
entrypoint | |
entrypoint | @brief Solana Rust-based BPF program entry point supported by the latest BPFLoader. For more information see ‘./bpf_loader.rs’ |
entrypoint_deprecated | |
entrypoint_deprecated | @brief Solana Rust-based BPF program entry point supported by the original and now deprecated BPFLoader. For more information see ‘./bpf_loader_deprecated.rs’ |
entrypoint_native | @brief Solana Native program entry point |
epoch_info | |
epoch_schedule | configuration for epochs, slots |
evm_loader | |
evm_state | |
feature | |
feature | |
feature_set | |
fee_calculator | |
genesis_config | The |
hard_forks | The |
hash | |
hash | The |
incinerator | Lamports credited to this address will be removed from the total supply (burned) at the end of the current block. |
inflation | configuration for network inflation |
instruction | Defines a composable Instruction type and a memory-efficient CompiledInstruction. |
keyed_account | |
loader_instruction | |
loader_upgradeable_instruction | Upgradeable loader instruction definitions |
log | @brief Solana Rust-based BPF program logging |
message | A library for generating a message from a sequence of instructions |
native_loader | |
native_token | |
nonce | |
nonce_account | |
nonce_keyed_account | |
packet | |
poh_config | |
process_instruction | |
program | |
program_error | |
program_option | A C representation of Rust’s |
program_pack | State transition types |
program_stubs | @brief Syscall stubs when building for programs for non-BPF targets |
program_utils | |
pubkey | |
pubkey | |
recent_blockhashes_account | |
recent_evm_blockhashes_account | |
rent | configuration for network rent |
rpc_port | |
sanitize | |
secp256k1_instruction | |
secp256k1_program | |
serialize_utils | |
short_vec | |
shred_version | |
signature | The |
signers | |
slot_hashes | named accounts for synthesized data accounts for bank state, etc. |
slot_history | slot history |
stake_history | named accounts for synthesized data accounts for bank state, etc. |
stake_weighted_timestamp | |
system_instruction | |
system_program | |
system_transaction | The |
sysvar | named accounts for synthesized data accounts for bank state, etc. |
timing | The |
transaction | Defines a Transaction type to package an atomic sequence of instructions. |
transport |
Macros
custom_heap_default | Fallback to default for unused custom heap feature. |
custom_panic_default | Fallback to default for unused custom panic feature. This must be used if the entrypoint! macro is not used. |
declare_builtin | Convenience macro to declare a builtin |
declare_builtin_name | |
declare_id | |
declare_id | Convenience macro to declare a static public key and functions to interact with it |
declare_name | |
declare_program | Convenience macro to declare a native program |
declare_sysvar_id | |
entrypoint | Declare the entry point of the program and use the default local heap implementation |
entrypoint | Deprecated |
entrypoint_deprecated | Declare the entry point of the program. |
entrypoint_deprecated | Deprecated |
ic_logger_msg | Convenience macro to log a message with an |
ic_msg | Convenience macro to log a message with an |
info | Deprecated |
msg | Print a message to the log |
program_stubs | Deprecated |
pubkeys | |
respan | A proc-macro which respans the tokens in its first argument (a |