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.1b4.tar.gz
(10.0 kB
view hashes)
Built Distribution
Close
Hashes for hdao_python_sdk-1.0.1b4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1adf04aa03afe8e254805762926a0b578510915cd7b36872362671a1a6864ff6 |
|
MD5 | f7f32432d4642dc15859323a5617ff8f |
|
BLAKE2b-256 | 360e10f4cd7934002768a971fbb350b34ba3557a7c7bf8c86c516fd632cfaefe |