Solana.py
Project description
Solana.py
Solana Python API built on the JSON RPC API.
Python version of solana-web3.js for interacting with Solana.
Read the Documentation.
Quickstart
Installation
pip install solana
General Usage
import solana
API Client
from solana.rpc.api import Client
http_client = Client("https://api.devnet.solana.com")
Development
Setup
- Install pipenv.
brew install pipenv
- Install dev dependencies.
pipenv install --dev
- Activate the pipenv shell.
pipenv shell
Lint
make lint
Tests
# All tests
make tests
# Unit tests only
make unit-tests
# Integration tests only
make int-tests
Start a Solana Localnet
Install docker.
# Update/pull latest docker image
pipenv run update-localnet
# Start localnet instance
pipenv run start-localnet
Using Jupyter Notebook
make notebook
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
solana-0.10.0.tar.gz
(41.8 kB
view details)
Built Distribution
solana-0.10.0-py3-none-any.whl
(49.9 kB
view details)
File details
Details for the file solana-0.10.0.tar.gz
.
File metadata
- Download URL: solana-0.10.0.tar.gz
- Upload date:
- Size: 41.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf3fc5152296d63544ebebadadd341ba79665d6e3333ddb131d84401558804fe |
|
MD5 | b0b0015cc63156863e519a8c93b497e2 |
|
BLAKE2b-256 | 35bd30ad931834f46774191dcb7f95d9dd658cba1ecc276acba8d684d756e262 |
File details
Details for the file solana-0.10.0-py3-none-any.whl
.
File metadata
- Download URL: solana-0.10.0-py3-none-any.whl
- Upload date:
- Size: 49.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 562fcadeb50d9054750d4e1417b2a997a62b7554ba0ff384e44444cb554157f2 |
|
MD5 | 86329a6ef38d49675623875e66b93028 |
|
BLAKE2b-256 | 6be5e03cf8f4a4dd87e73f9c96295a6025b6e6668c78317b616c2610fb19771c |