This release is a pre-release and may not be stable for production use.
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
Metadata
Release files for hdao-python-sdk 1.0.1rc1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hdao-python-sdk-1.0.1rc1.tar.gz | 10.0 kB | Without provenance | Details for hdao-python-sdk-1.0.1rc1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hdao_python_sdk-1.0.1rc1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for hdao_python_sdk-1.0.1rc1-py2.py3-none-any.whl |
Total release size: 24.6 kB
Release files / hdao-python-sdk-1.0.1rc1.tar.gz
| Download URL | hdao-python-sdk-1.0.1rc1.tar.gz |
|---|---|
| Size | 10.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c5ed3f2a4713a9d3591be26deb820ad18796266d6f808932e2a0e8c12a4cb9dc
|
|
BLAKE2b-256 checksum How to use checksums |
0e2b70b959bfd0f892283fdef2a070690a44af8c77de5609656a95a994170cb9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / hdao_python_sdk-1.0.1rc1-py2.py3-none-any.whl
| Download URL | hdao_python_sdk-1.0.1rc1-py2.py3-none-any.whl |
|---|---|
| Size | 14.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
ce73e170d7f99672ba2cdaaaaecfb34541d8181510917c93ae978e2b113c1f5a
|
|
BLAKE2b-256 checksum How to use checksums |
a1c4d025ee9d3187e0db4386dbf0b3a04f42d51bb87a755ce4d7d25b2b394ef6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for hdao-python-sdk 1.0.1rc1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.