Hathor Wallet
Hathor Wallet is a python library that allows you to interact with the hathor-wallet-headless API. To test, you can use the headless wallet running at https://hathor-wallet-headless.mailsonnascin.repl.co/. Or use one running locally, here you can get all the instructions to install.
Installation
To install Hathor Wallet, simply use pip: pip install hathor-wallet
Usage
First, import the library and create an instance of the Configs and HathorWallet class:
from hathor_wallet.hathor_wallet import HathorWallet
from hathor_wallet.configs import Configs
configs = Configs(
wallet_base_url='https://hathor-wallet-headless.mailsonnascin.repl.co/',
x_api_key='fa38a4bad4c7a19c319ab7c0672002ca46499cb86d5910c535fb6731fdb775d2',
wallet_id='<your wallet id>',
seed='<wallet seeds you want to start>'
).start()
wallet = HathorWallet(**configs)
Available methods
wallet.start(): Starts the walletwallet.status(): Returns the status of the walletwallet.balance(): Returns the balance of the walletwallet.current_address(mark_as_used=None): Returns the current address of the wallet, it is possible to pass as a parameter if you want to mark the address as used.wallet.all_generated_addres(): Returns all addresses generated by the wallet.simple_send_tx: Performs a simple transaction to another address.tx_history: Returns the transaction history of the Hathor wallet.wallet.stop(): Stops the wallet
Contributions
All contributions are welcome!
Metadata
Release files for hathor-wallet 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hathor-wallet-0.1.0.tar.gz | 4.4 kB | Without provenance | Details for hathor-wallet-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hathor_wallet-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for hathor_wallet-0.1.0-py3-none-any.whl |
Total release size: 9.6 kB
Release files / hathor-wallet-0.1.0.tar.gz
| Download URL | hathor-wallet-0.1.0.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
039d46fd032af412ea0d16972312680e20526a5c08d72400548181098c44f240
|
|
BLAKE2b-256 checksum How to use checksums |
42ffa0004339307af2a07af701d0389fe92ed88c6362389e36d52373527aa738
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|
Release files / hathor_wallet-0.1.0-py3-none-any.whl
| Download URL | hathor_wallet-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
383bfb484e778e2c35f8146499321809f08fd9ce06cb46bdb4f40a756f3b72ea
|
|
BLAKE2b-256 checksum How to use checksums |
61cd13e725bb38625462aace2c68c18f82a94b7c6efba253f96ff1e24cab0884
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|
Security for hathor-wallet 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.