Package to work with hot wallet for different cryptocurrency


License
MIT
Install
pip install wallet-lib==1.2.7

Documentation

Wallet lib

PyPI version

Description

This library contains classes to work with hot wallet for different cryptocurrency.

API Documentation

Supported cryptocurrencies

  1. BCH
  2. BTC
  3. DASH
  4. ZEC

Methods

  1. wallet.create_address(label=None) - creates an address (label is ignored for ZEC)
  2. wallet.get_balance() - returns the current balance
  3. wallet.get_transaction(tx_id) - returns transaction info by tx id
  4. wallet.get_transactions(label=None, count=25, offset=0) - returns list of transactions by label based on count and offset arguments.
  5. wallet.send(address, amount) - sends some amount to an address.
  6. wallet.get_transactions_since(block_hash) - gets all transactions since block block_hash, or all transactions if block_hash is None. (No mempool transactions)
  7. wallet.run(command, args...) - runs a custom command with the arguments specified
  8. wallet.get_zmq_notifier(zmq_address, topics=[TOPIC_BLOCKHASH,...], loop=None, verbose=False) - API for receiving topics from specified zmq address (ipc, tpc and udp supported).