https://github.com/gitbolt/solathon
☄️ High performance, easy to use and feature-rich Solana SDK for Python.
https://github.com/gitbolt/solathon
beginners blockchain cryptocurrency python sdk solana web3
Last synced: about 1 year ago
JSON representation
☄️ High performance, easy to use and feature-rich Solana SDK for Python.
- Host: GitHub
- URL: https://github.com/gitbolt/solathon
- Owner: SuperteamDAO
- License: mit
- Created: 2022-01-07T17:41:27.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-04-30T07:32:57.000Z (about 2 years ago)
- Last Synced: 2024-05-01T07:51:54.792Z (about 2 years ago)
- Topics: beginners, blockchain, cryptocurrency, python, sdk, solana, web3
- Language: Python
- Homepage: https://solathon.vercel.app
- Size: 1.06 MB
- Stars: 69
- Watchers: 1
- Forks: 24
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
Solathon
Solathon is a high performance, easy to use and feature-rich Solana SDK for Python. Easy for beginners, powerful for real world applications.
# ✨ Getting started
## Installation
```
pip install solathon
```
## Client example
```python
from solathon import Client
client = Client("https://api.devnet.solana.com")
```
## Basic usage example
```python
# Basic example of fetching a public key's balance
from solathon import Client, PublicKey
client = Client("https://api.devnet.solana.com")
public_key = PublicKey("B3BhJ1nvPvEhx3hq3nfK8hx4WYcKZdbhavSobZEA44ai")
balance = client.get_balance(public_key)
print(balance)
```
# 🗃️ Contribution
Drop a pull request for anything which seems wrong or can be improved, could be a small typo or an entirely new feature! Checkout [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines on how to proceed.