SolInPy: The Pythonic Framework for
Solana Infrastructure.
Abstracting blockchain complexity with a developer-first approach. Build, test, and broadcast SPL transactions through a streamlined, enterprise-grade Python framework.
pip install solinpyCore capabilities engineered for maximum performance.
Modern Solders Architecture
Built on Rust-based Solders for maximum transaction speed and reliability. Achieves thousands of transactions per second with type-safe asyncio integration.
Automatic ATA Derivation
Our framework automatically derives and creates Associated Token Accounts (ATA) during SPL Token transfers if the receiver does not have one. Ensures atomic, reliable transactions.
Enterprise Developer Experience
Type-hinted RPC client with robust error handling. Pythonic syntax abstracts low-level blockchain complexities, reducing development time and cognitive load.
Production-Ready Cryptography
Phantom, Backpack, Ledger, and direct keypair signing with unified interface. Enterprise-grade security protocols for all signer implementations.
SPL Token Operations
Comprehensive token and compressed NFT operations with battle-tested helper functions. Handles both standard and edge cases with predictable, documented behavior.
Multi-Environment Support
Seamless switching between Devnet, Testnet, and Mainnet environments. Configuration-driven deployment without code modifications.
Streamlined Token Operations
Execute SPL Token transfers with enterprise-grade type safety and automatic ATA management.
from solinpy.client.client import SolanaRPCClient
from solinpy.transaction.token import send_token_transfer
# Initialize client (Devnet for Hackathon)
client = SolanaRPCClient("https://api.devnet.solana.com")
# Automatic ATA derivation and transaction building
sig = send_token_transfer(
client=client,
sender_keypair=my_wallet,
destination_wallet="DESTINATION_ADDRESS",
token_mint="TOKEN_MINT_ADDRESS",
amount=1,
decimals=9
)
print(f"Transaction successful: {sig}")Enterprise applications enabled by SolInPy
Algorithmic Trading
Deploy high-frequency market makers and arbitrage strategies with guaranteed finality and sub-millisecond execution.
await trader.execute_swap(USDC, SOL, 1000)Bulk Token Operations
Automate large-scale token transfers and compressed NFT operations with atomic guarantees and automatic ATA provisioning.
await bulk_transfer(tokens, recipients, [signer])Institutional Payments
Reliable, programmable stablecoin and token transfers at enterprise scale with auditable transaction history.
await payment.process_batch(invoices, USDC)Blockchain Data Pipeline
Stream on-chain events and account state into data warehouses with type-safe, structured data ingestion.
async for event in client.subscribe_logs():Quickstart
From zero to your first transaction in 60 seconds.
Install
pip install solinpy
# Supports Python 3.8+Connect
from solinpy import Client
client = Client.mainnet()
await client.health() # Verify connectivitySend
from solinpy import Keypair
sender = Keypair.from_env("WALLET_PRIVATEKEY")
sig = await client.send_token_transfer(
sender, recipient, mint, amount,
)
