Skip to main content

Package to work with hot wallet for different cryptocurrency

Project description

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(blockhash=None, target_confirmations=1) - gets all transactions since block: blockhash, or all transactions if blockhash is None. target_confirmations return the nth from the best blockhash.
  7. wallet.run(command, *args) - runs a custom command with the arguments specified
  8. wallet.get_zmq_notifier(zmq_address, topics=[{ALL_TOPICS}], loop=None, verbose=False) - API for receiving topics from specified zmq address (ipc, tpc and udp supported).

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

wallet_lib-1.2.7.tar.gz (5.8 kB view hashes)

Uploaded Source

Built Distribution

wallet_lib-1.2.7-py2-none-any.whl (11.1 kB view hashes)

Uploaded Python 2

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