--- id: solders version: "0.29.0" license: unclear license_treatment: unclear maintenance: active --- # solders — Python bindings for Solana Rust tools License: unclear · Maintenance: active · Downloads: 1.5M/mo ## What it is and what it does Solders is a Rust-backed Python library that handles the low-level cryptographic and serialization work for Solana blockchain operations. It provides keypair generation, transaction signing and serialization, and utilities for building and parsing RPC requests and responses—the core SDK primitives needed to interact with Solana without making actual network calls. It also includes litesvm, a fast in-process testing environment that replaces the slower solana-test-validator for integration tests. The library is designed as a complement to solana-py, which uses solders internally for its core operations. Solders focuses on the SDK primitives and testing infrastructure; if you need actual RPC networking, SPL Token clients, or SPL Memo support, solana-py provides those layers on top. Solders depends on typing-extensions and jsonalias at runtime and is actively maintained with recent releases. Use it for: - Building and signing Solana transactions offline without network I/O. - Generating and managing Solana keypairs and public keys in Python applications. - Writing fast integration tests for Solana programs using the litesvm module instead of solana-test-validator. - Parsing and constructing Solana RPC request and response objects programmatically. - Embedding Solana transaction handling in high-performance Python services that need Rust-level speed. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Solders is a high-performance Python toolkit for Solana built in Rust, providing keypair and transaction handling, RPC request/response building, and a fast in-process testing environment via litesvm. Yes, if you are building Solana applications in Python and need fast, low-level transaction and keypair handling. The active maintenance, recent release, and lack of known vulnerabilities make it reliable. Medium install friction is acceptable given prebuilt wheels for common platforms. The unclear license status warrants a quick check before use in proprietary projects, but the library itself is widely adopted (top 5000 PyPI packages). ## Install pip install solders uv add solders poetry add solders ## Installing solders Before you install: Medium install friction due to compiled Rust bindings, but prebuilt wheels are available for common platforms (macOS, Linux x86_64/aarch64, Windows). Actively maintained with a release 1 day old. Quickstart: pip install solders from solders.keypair import Keypair from solders.pubkey import Pubkey from solders.instruction import Instruction from solders.message import Message from solders.transaction import Transaction from solders.hash import Hash payer = Keypair() program_id = Pubkey.default() instruction = Instruction(program_id, bytes([1]), []) message = Message([instruction], payer.pubkey()) tx = Transaction([payer], message, Hash.default()) Requires Python >= 3.10 (per requires_python); compiled Rust bindings require a compatible platform (prebuilt wheels for macOS, Linux, Windows). Verify before relying: - Whether the package's license status (currently unclear in metadata) affects commercial or proprietary use. - Performance benchmarks comparing solders to solana-py for typical workloads. - Whether all Solana RPC methods are fully supported or if gaps exist relative to the official Rust SDK. ## Package facts - License: not declared (unclear) - Python support: supports_current - Install friction: medium - Maintenance: active - Downloads: 1.5M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags solana python sdk, solana transaction signing, solana keypair management, solana rpc client, solana integration testing, solana litesvm, rust solana bindings, solana-blockchain, cryptography, rust-bindings [View on SkillFed](https://skillfed.io/packages/solders) · [View on PyPI](https://pypi.org/project/solders/)