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.6.4.tar.gz
(39.9 kB
view details)
Built Distribution
solana-0.6.4-py3-none-any.whl
(47.7 kB
view details)
File details
Details for the file solana-0.6.4.tar.gz
.
File metadata
- Download URL: solana-0.6.4.tar.gz
- Upload date:
- Size: 39.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 205c4abbd93fb0a7ec1a1ad16170ba7f5d25fd9108af35958de9d5ab6ac86411 |
|
MD5 | d9099218460ccc7c760f31161c51c66d |
|
BLAKE2b-256 | 95691fb9f4436d05461a2b8aa207fb100b1a693d0864149d4c16ebba13a710d3 |
File details
Details for the file solana-0.6.4-py3-none-any.whl
.
File metadata
- Download URL: solana-0.6.4-py3-none-any.whl
- Upload date:
- Size: 47.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 532a89c08651775b7e5076f28b893fb51e00ca61b8d1447af0a63853c4a679ba |
|
MD5 | 84753b3297d855bed7364968261d6c4b |
|
BLAKE2b-256 | e3efb927304ef02062a85492c788d61f5aad09a8d6f30717a15e38466c9fd9c9 |