Bitcoincash Module for XChainPy Clients
Project description
xchainpy/xchain-bitcoincash
Bitcoin-Cash Module for XChainPy Clients
Modules
client
- Custom client for communicating with bitcash , haskoin apimodels
- Model wrapper for bitcoin-cash and haskoin required typesutil
- Utitilies for using bitcash and haskoin
Following dependencies have to be installed into your project
bitcash - cashaddress - mnemonic
Service Providers
This package uses the following service providers:
Function | Service | Notes |
---|---|---|
Balances | Sochain | https://sochain.com/api#get-balance |
Transaction history | Sochain | https://sochain.com/api#get-display-data-address, https://sochain.com/api#get-tx |
Transaction details by hash | Sochain | https://sochain.com/api#get-tx |
Transaction fees | Bitgo | https://app.bitgo.com/docs/#operation/v2.tx.getfeeestimate |
Explorer | Blockstream | https://blockstream.info |
Sochain API rate limits: https://sochain.com/api#rate-limits (300 requests/minute)
Bitgo API rate limits: https://app.bitgo.com/docs/#section/Rate-Limiting (10 requests/second)
Tests
These packages needed to run tests:
- pytest
pip install pytest
- pytest-asyncio
pip install pytest-asyncio
How to run test ?
$ python -m pytest xchainpy/xchainpy_bitcoincash/test/test_bitcoincash_clients.py
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
Built Distribution
File details
Details for the file xchainpy_bitcoincash-0.1.1.tar.gz
.
File metadata
- Download URL: xchainpy_bitcoincash-0.1.1.tar.gz
- Upload date:
- Size: 11.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16293f3137351eac23dcbe1f8a02506dbacd98222bfbabc31e1cd9ce71fd1ca4 |
|
MD5 | a3a61c4fcc668be1338a47428cdbe062 |
|
BLAKE2b-256 | 273bc906778dad5f1ec452cf00ce4657630840c5242bd42a90a30a13694334fc |
File details
Details for the file xchainpy_bitcoincash-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: xchainpy_bitcoincash-0.1.1-py3-none-any.whl
- Upload date:
- Size: 13.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c596f782164cc59eaae46611925cb52a18fef820672e551f2072ad78528bf5c |
|
MD5 | edde715dfb9c154a074d1b0086688d54 |
|
BLAKE2b-256 | 66874eeefbb3b280d4902a9350259b40a25dd238848d9828bac2caf7ec5eb40a |