Package to work with hot wallet for different cryptocurrency
Project description
Wallet lib
Description
This library contains classes to work with hot wallet for different cryptocurrency.
API Documentation
Supported cryptocurrencies
- BCH
- BTC
- DASH
- ZEC
Methods
wallet.create_address(label=None)
- creates an address (label is ignored for ZEC)wallet.get_balance()
- returns the current balancewallet.get_transaction(tx_id)
- returns transaction info by tx idwallet.get_transactions(label=None, count=25, offset=0)
- returns list of transactions by label based on count and offset arguments.wallet.send(address, amount)
- sends some amount to an address.wallet.get_transactions_since(block_hash)
- gets all transactions since block block_hash, or all transactions if block_hash is None. (No mempool transactions)wallet.run(command, args...)
- runs a custom command with the arguments specifiedwallet.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).
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.2.tar.gz
(5.7 kB
view hashes)
Built Distribution
wallet_lib-1.2.2-py3-none-any.whl
(10.9 kB
view hashes)
Close
Hashes for wallet_lib-1.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f852f88763a2600b3222f98c256db41191c2c47c4a188a42582a9ee78dcc4fa |
|
MD5 | fffd83e5f08bfb935ca0b46ebf098282 |
|
BLAKE2b-256 | 59c7281d2ee6ca22c1e09d9faaea88dfd3bc73ac0cdcdd118ac75c98b63bb9cb |