solders
Python bindings for Solana Rust tools
Decision gist · record as of 2026-08-14
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).AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python >= 3.10 (per requires_python); compiled Rust bindings require a compatible platform (prebuilt wheels for macOS, Linux, Windows).
- 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.
License · maintenance · safety
(unclear)
last release 2026-08-13 (1 days) · last repo commit 2026-08-13 · 445 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,523,637 downloads/mo, #3,818 on PyPI
Alternatives
Verify before relying
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())- 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.
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 on this page. Verify before relying on it.
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
solders on PyPI
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.
Requires Python >= 3.10 (per requires_python); compiled Rust bindings require a compatible platform (prebuilt wheels for macOS, Linux, Windows).
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())
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 the current Python release <4.0,>=3.10 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | 2 packagestyping-extensionsjsonalias |
| Maintenance | Actively maintained 1 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,523,637 / month, #3,818 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyProgramming Language :: Rust |
Evidence: solders-0.29.0-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl; solders-0.29.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; solders-0.29.0-cp310-abi3-manylinux_2_28_aarch64.whl; solders-0.29.0-cp310-abi3-musllinux_1_2_aarch64.whl; solders-0.29.0-cp310-abi3-musllinux_1_2_x86_64.whl; solders-0.29.0-cp310-abi3-win_amd64.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “solana python sdk”
- soldersSolders is a high-performance Python toolkit for Solana built in…
- solanaSolana.py is a Python SDK for building transactions and interacting…
- cdp-sdkPython client library for the Coinbase Developer Platform that…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also solana · anchorpy-core · chia-rs · py-sr25519-bindings · cdp-sdk · x402 · stellar-sdk · phonors · bitcoin-utils · eth-account