Skip to main content

Python3 implemented SDK for HyperDao

Project description

stable_coin_python_sdk

Python SDK for HyperDao Stable Coin System

Install

  1. Using pip
pip install hdao-python-sdk
  1. 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


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 hashes)

Uploaded source

Built Distribution

hdao_python_sdk-1.0.1rc1-py2.py3-none-any.whl (14.6 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page