solathon
solathon copied to clipboard
☄️ High performance, easy to use and feature-rich Solana SDK for Python.
Run: from solathon import Client, PublicKey client = Client("https://api.devnet.solana.com") public_key = PublicKey("B3BhJ1nvPvEhx3hq3nfK8hx4WYcKZdbhavSobZEA44ai") balance = client.get_balance(public_key) print(balance) from solathon import Client, PublicKey File "/Users/mac/opt/miniconda3/envs/py/lib/python3.8/site-packages/solathon/__init__.py", line 3, in from .client import Client...
Traceback (most recent call last): File "sollong_test.py", line 9, in from solathon import Keypair File "/usr/local/lib/python3.8/dist-packages/solathon/__init__.py", line 3, in from .client import Client File "/usr/local/lib/python3.8/dist-packages/solathon/client.py", line 5, in from .utils...
Right now, most of the objects do not have a __repr__ method, and hence when they are printed, the object is printed without any meaningful info. I have added repr...
This is the layouts file: https://github.com/SuperteamDAO/solathon/blob/master/solathon/core/layouts.py It is using the `construct` library the vastly represents low level language data types and strucutres. It would be nice to have Pythonic alternative...
Right now, most of the `Client` class method accept commitment parameter, however it isn't actually being used when the request is being sent. This part is where the commitment needs...
solathon.utils.RPCRequestError: Failed to fetch data from RPC endpoint. Error -32601: Method not found
The package is not high-performance as it doesn't support async mode. With AsyncClient a lot of errors occur. Here is an example of one of them: AttributeError: 'AsyncClient' object has...