MCPcopy Index your code
hub / github.com/anza-xyz/solana-sdk

github.com/anza-xyz/solana-sdk @v4.0.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v4.0.1 ↗ · + Follow
2,794 symbols 7,492 edges 298 files 465 documented · 17% updated 1d agovote-interface@v6.0.3 · 2026-07-02★ 25115 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…

Extension points exported contracts — how you extend this code

Sanitize (Interface)
A trait for sanitizing values and members of over-the-wire messages. Implementation should recursively descend through [8 …
sanitize/src/lib.rs
AbiExample (Interface)
The most important trait for the abi digesting. This trait is used to create any complexities of object graph to generat [37 …
frozen-abi/src/abi_example.rs
Nullable (Interface)
Trait for types that can be `None`. This trait is used to indicate that a type can reserve a specific value to represen [6 …
nullable/src/nullable.rs
Signer (Interface)
The `Signer` trait declares operations that all digital signature providers must support. It is the primary interface by [6 …
signer/src/lib.rs
Sysvar (Interface)
Interface for loading a sysvar. [11 implementers]
sysvar/src/lib.rs
IntoAccountInfo (Interface)
Constructs an `AccountInfo` from self, used in conversion implementations. [3 implementers]
account-info/src/lib.rs
StateMut (Interface)
Convenience trait to covert bincode errors to instruction errors. [3 implementers]
account/src/state_traits.rs
ToStr (Interface)
A trait for converting a program's specific error type to a `&str`. Can be used with `ProgramError::to_str:: ()` to g [2 …
program-error/src/lib.rs

Core symbols most depended-on inside this repo

unwrap
called by 760
program-option/src/lib.rs
len
called by 275
message/src/account_keys.rs
iter
called by 237
hard-forks/src/lib.rs
map
called by 224
account-view/src/lib.rs
clone
called by 126
program-option/src/lib.rs
extend_from_slice
called by 59
account/src/lib.rs
len
called by 58
stable-layout/src/stable_vec.rs
pubkey
called by 54
signer/src/lib.rs

Shape

Method 1,197
Function 1,182
Class 268
Enum 91
Interface 56

Languages

Rust100%
Python1%

Modules by API surface

frozen-abi/src/abi_digester.rs75 symbols
message/src/versions/v1/message.rs73 symbols
account/src/lib.rs73 symbols
transaction/src/lib.rs57 symbols
vote-interface/src/authorized_voters.rs43 symbols
program-option/src/lib.rs43 symbols
message/src/sanitized.rs41 symbols
transaction/src/versioned/mod.rs40 symbols
account-view/src/lib.rs40 symbols
message/src/legacy.rs38 symbols
keypair/src/lib.rs38 symbols
sysvar/src/program_stubs.rs37 symbols

For agents

$ claude mcp add solana-sdk \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page