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.8.0.tar.gz
(40.4 kB
view details)
Built Distribution
solana-0.8.0-py3-none-any.whl
(48.2 kB
view details)
File details
Details for the file solana-0.8.0.tar.gz
.
File metadata
- Download URL: solana-0.8.0.tar.gz
- Upload date:
- Size: 40.4 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 | 91d3d597c88dde889e3bb5a61c17bddf875a5e26f5ce983bcbea13c31c506f87 |
|
MD5 | f2ede1bba3bf12da9a911e236b259fca |
|
BLAKE2b-256 | 4d152ff9a4d8195af79ec1c60854a953ebb5d9efe49909b834fcfb795b66c052 |
File details
Details for the file solana-0.8.0-py3-none-any.whl
.
File metadata
- Download URL: solana-0.8.0-py3-none-any.whl
- Upload date:
- Size: 48.2 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 | 68a3fe5bf251bfcf17aeee0981fd77c48814f69c23c8a2b4e7443c292b5839e1 |
|
MD5 | 0b298d54a89dc288cf83b37b223758cc |
|
BLAKE2b-256 | 6192bc92eaeac921450e130dc5a03e5fa19dfcb11ca375c95c8fc8248d8a7ef1 |