skillfed

solders

Python bindings for Solana Rust tools

solders v0.29.0 1.5M downloads/30d#3,818 on PyPI445
License unclear Active released

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

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

solders on PyPI

pip

pip install solders

uv

uv add solders

poetry

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 the current Python release (<4.0,>=3.10)
Install friction medium — platform-specific wheel
Runtime dependencies 2 — typing-extensions, jsonalias
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)

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

Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyProgramming Language :: Rust

Tags

solana python sdksolana transaction signingsolana keypair managementsolana rpc clientsolana integration testingsolana litesvmrust solana bindings
solana-blockchaincryptographyrust-bindings

More Software Development packages