finds.dev← search

// the find

michaelhly/solana-py

★ 1,433 · Python · MIT · updated Jun 2026

Solana Python SDK

Python SDK for interacting with the Solana blockchain — sends transactions, queries RPC nodes, works with SPL tokens. It's a thin wrapper over the JSON RPC API, deliberately offloading the heavy cryptographic primitives to the `solders` package (Rust bindings). For anyone building Solana tooling or bots in Python rather than JS/Rust.

Sync, async, and WebSocket clients are all first-class — you can use whichever fits your architecture without workarounds. The split between `solana-py` (RPC layer) and `solders` (types and crypto) is architecturally clean; the Rust bindings mean you're not doing keypair operations in pure Python. SPL token support is built in, covering the common operations you'd actually need. Actively maintained — last push two days ago, CI is green, and the cookbook docs cover real use cases rather than toy examples.

The `solders` dependency is non-obvious friction — newcomers will hit import errors or type confusion before they understand the split, and the README buries the explanation. No support for Versioned Transactions (v0) or Address Lookup Tables in the Python layer, which matters if you're interacting with modern programs that use them. The WebSocket API is awkward: you call `recv()` once to get the subscription ID and again for actual messages, which is easy to get wrong and not well-documented. Integration tests require a local validator via Docker, which is the right call, but there's no guidance on what to do when the test validator drifts from mainnet behavior.

View on GitHub → Homepage ↗

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →