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://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.7.0.tar.gz
(40.1 kB
view details)
Built Distribution
solana-0.7.0-py3-none-any.whl
(47.9 kB
view details)
File details
Details for the file solana-0.7.0.tar.gz
.
File metadata
- Download URL: solana-0.7.0.tar.gz
- Upload date:
- Size: 40.1 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.60.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 681c2438394bb2465490b7a5e20bbd753745645086fa2a6c7f5c7099cca6d95f |
|
MD5 | 5ec469c394f41ee4982133cce1ca5794 |
|
BLAKE2b-256 | 668d0e4a0de817cdc53022b2a6eb7c8c66bb8cd0a88daa2fcc0122f7e12f8fc7 |
File details
Details for the file solana-0.7.0-py3-none-any.whl
.
File metadata
- Download URL: solana-0.7.0-py3-none-any.whl
- Upload date:
- Size: 47.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.60.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64ce5a48fac87a87b8489fc38159e4016e66756e53b4a07a9153f156f8d7b80f |
|
MD5 | 0663e8fc3474018d1aeb1bd04a1407c3 |
|
BLAKE2b-256 | 456a7c8acf2f1c595ef3e41b6978634f18c8f1741f41e9c40766126820c897b4 |