OpenViSTAI · Agents · Blockchain · Crypto
Menu
Developer Tools

Solana Py

An open-source Python SDK for interacting with Solana through JSON-RPC, asynchronous HTTP, WebSockets and SPL Token program functionality.

Independent OpenViST project profile, based on linked sources.

Solana Py — OpenViST project profile in Developer Tools.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it when a Python application needs programmatic access to Solana RPC services, transaction-building support, asynchronous monitoring or SPL Token interactions.

Who it is for

  • Python developers building Solana applications
  • Teams creating backend services or developer scripts for Solana
  • Developers building transaction, monitoring or SPL Token utilities

Documented uses

  • Build and inspect Solana transactions
  • Call the Solana JSON-RPC API from Python
  • Monitor Solana activity through asynchronous WebSocket subscriptions
  • Develop utilities for the SPL Token Program
Before you choose

Requirements & limits

The cited project is a public, non-archived GitHub repository and is licensed under MIT. The documented package setup uses `pip install solders` followed by `pip install solana`.

  • It uses Python and exposes both asynchronous HTTP and WebSocket clients.
  • WebSocket subscriptions use server-confirmed, connection-specific handles rather than raw subscription IDs.
  • Many core types formerly associated with Solana Py are now provided by Solders.
  • The repository documents JSON-RPC, transaction, WebSocket and SPL Token use cases.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Set up Solana Py for Python development

Install the documented dependencies and package needed to interact with the Solana JSON-RPC API.

Before you start

  • Python environment
  • uv for the documented development setup
  • Access to the Solana Py repository and package installation tools

Steps

  1. Install the Solders Python bindings with the command below.

    Documented command
    pip install solders
  2. Install Solana Py with the command below.

    Documented command
    pip install solana
  3. For repository development, install development dependencies with the command below.

    Documented command
    uv sync
  4. Activate the virtual environment using the documented Windows or Linux/macOS command.

Expected outcome

The documented Python dependencies are installed, and repository developers have an activated environment for further work.

Guide limitations

  • This guide documents installation and development setup, not application deployment or transaction execution.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
1 October 2026
Original website title
michaelhly/solana-py · Official homepage title · retained in its source language

Related options

AnchorPy — The project documentation points to AnchorPy as a Python client for Anchor-based programs on Solana.

Explore project →