solana-sdk-patterns
Installation
SKILL.md
Solana Rust SDK Patterns
Patterns for Rust services, CLI tools, and off-chain code that interact with Solana.
Crate Map
| Crate | Use for | Version guidance |
|---|---|---|
solana-sdk |
Off-chain: keypairs, transactions, signatures | Match cluster version |
solana-client |
RPC client (RpcClient, nonblocking::RpcClient) |
Match cluster version |
solana-program |
On-chain program code | Match cluster version |
solana-transaction-status |
Parsing confirmed transactions | Match cluster version |
spl-token |
SPL token instruction builders (off-chain) | Latest compatible |
spl-associated-token-account |
ATA derivation and creation | Latest compatible |
anchor-client |
Typed Anchor program interaction | Match Anchor version |
yellowstone-grpc-client |
gRPC streaming (accounts, transactions, slots) | Match plugin version |