Metadata-Version: 2.1
Name: hdao-python-sdk
Version: 1.0.1rc1
Summary: Python3 implemented SDK for HyperDao
Home-page: https://github.com/hyperdao/stable_coin_python_sdk
Author: realm520
Author-email: realm520@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown

# stable_coin_python_sdk
Python SDK for HyperDao Stable Coin System


# Install

1. Using ```pip```

```
pip install hdao-python-sdk
```

2. 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
```

