Skip to main content

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 api
  • models - Model wrapper for bitcoin-cash and haskoin required types
  • util - 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

xchainpy_bitcoincash-0.1.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

xchainpy_bitcoincash-0.1-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

Details for the file xchainpy_bitcoincash-0.1.tar.gz.

File metadata

  • Download URL: xchainpy_bitcoincash-0.1.tar.gz
  • Upload date:
  • Size: 11.1 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

Hashes for xchainpy_bitcoincash-0.1.tar.gz
Algorithm Hash digest
SHA256 6891a70aa59ecc8473de3084dd67effb32cda3d48a7e20213c26b4a1a5083010
MD5 785feeae7563f65cb479639311e05eaa
BLAKE2b-256 284aa0d84e9d928974de74b17ba897272b2d63dac8b64b69a887b2fa2b3e478e

See more details on using hashes here.

File details

Details for the file xchainpy_bitcoincash-0.1-py3-none-any.whl.

File metadata

  • Download URL: xchainpy_bitcoincash-0.1-py3-none-any.whl
  • Upload date:
  • Size: 13.0 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

Hashes for xchainpy_bitcoincash-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a63284ab503e48dacbc6d7011eb4677cb95f72c0c7ceeaf4bff513c70417fd02
MD5 3753a38d266f7abed18820c7cec71f82
BLAKE2b-256 6a8f0ef559f2014805953d64cc955445731d1036f07ba641dfe474d777738380

See more details on using hashes here.

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