Python3 implemented SDK for HyperDao
Project description
stable_coin_python_sdk
Python SDK for HyperDao Stable Coin System
Install
- Using
pip
pip install hdao-python-sdk
- Install from source
git clone https://github.com/hyperdao/stable_coin_python_sdk
cd stable_coin_python_sdk
python setup.py install
Usage
Test
HyperDao stable coin system depends on HyperExchange mainnet. So the test cases should be run with HyperExchange testnet setup.
Please set the configuraions in config.py before runing tests.
HX_TESTNET_RPC = 'http://192.168.1.121:30088/'
CDC_CONTRACT_ID = 'HXCSSGDHqaJDLto13BSZpAbrZoJf4RrGCtks'
FEEDER_CONTRACT_ID = 'HXCGba6bUaGeBtUQRGpHUePHVXzF1ygMAxR1'
PRICE_FEEDER = {'account': 'senator0', 'address': 'HXNWj42PcH3Q2gEQ9GnVV2y87qsXd8MCL85W'}
USER1 = {'account': 'da', 'address': 'HXNYM7NT7nbNZPdHjzXf2bkDR53riKxV9kgh'}
Steps to run tests
cd tests
pytest
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
hdao-python-sdk-1.0.1rc1.tar.gz
(10.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hdao-python-sdk-1.0.1rc1.tar.gz.
File metadata
- Download URL: hdao-python-sdk-1.0.1rc1.tar.gz
- Upload date:
- Size: 10.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c5ed3f2a4713a9d3591be26deb820ad18796266d6f808932e2a0e8c12a4cb9dc
|
|
| MD5 |
bc71372fd57def07ff4417b67a24de7e
|
|
| BLAKE2b-256 |
0e2b70b959bfd0f892283fdef2a070690a44af8c77de5609656a95a994170cb9
|
File details
Details for the file hdao_python_sdk-1.0.1rc1-py2.py3-none-any.whl.
File metadata
- Download URL: hdao_python_sdk-1.0.1rc1-py2.py3-none-any.whl
- Upload date:
- Size: 14.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce73e170d7f99672ba2cdaaaaecfb34541d8181510917c93ae978e2b113c1f5a
|
|
| MD5 |
74e5208b145b3aff00ffd48f410c2c2b
|
|
| BLAKE2b-256 |
a1c4d025ee9d3187e0db4386dbf0b3a04f42d51bb87a755ce4d7d25b2b394ef6
|