Solana Interaction Libraries
Solana Interaction Libraries¶
Interaction libraries are software libraries used for interacting with the Solana blockchain, with different implementations available for different programming languages.
Main Libraries¶
JavaScript/TypeScript - @solana/web3.js: Official JS SDK - @coral-xyz/anchor: Anchor framework client
Rust - solana-sdk: Official Rust SDK - solana-client: RPC client
Python - solana-py: Python SDK
Go - solana-go: Go SDK
Features¶
- Connect to RPC nodes
- Build and send transactions
- Query accounts and balances
- Program invocation
- Event listening
Selection Guide¶
Web Frontend Use @solana/web3.js + Wallet Adapter
Backend Services Choose the corresponding language SDK based on your tech stack
Smart Contracts Use solana-sdk (Rust)
Related Concepts¶
- SDK: Software Development Kit
- RPC: Remote Procedure Call
- API: Application Programming Interface