Skip to content

jernejnose/iwan-python-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Python SDK for iWan RPC Server

Python library to interface iWAN rpc server. Compliant with API spec on https://iwan.wanchain.org/static/apidoc/docs.html

Usage

Clone repository

Clone repository and copy SDk to your project directory

git clone https://github.com/jernejnose/iwan-python-sdk.git
cp cp iwan-python-sdk/iwan.py ./

Code examples

import iwan

testApi = iwan.ApiInstance(YOUR_API_KEY, YOUR_SECRET_KEY)
#by default it connects to 'wss://api.wanchain.org:8443/ws/v3/', you can change that by defining uri parameter
testApi.get_balance("0x2cc79fa3b80c5b9b02051facd02478ea88a78e2c")

Notes

  • Documentation and tests are yet to be implemented.

License

MIT

About

Python SDK for iWan RPC Server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages