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.

Files for hdao-python-sdk, version 1.0.1rc1
Filename, size File type Python version Upload date Hashes
Filename, size hdao_python_sdk-1.0.1rc1-py2.py3-none-any.whl (14.6 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size hdao-python-sdk-1.0.1rc1.tar.gz (10.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page