Skip to main content

rewards-collector

Our balance checker/rewards collector for any computer with wallets added to hmy application.

Setup

Assuming you already have python3 and pip installed, pull our github repo to your machine with hmy setup:
git clone https://github.com/easy-node-pro/hmy-wallet-tools.git

Run setup of python dependencies:
pip3 install -r requirements.txt

Then setup your .env file with your info. Set your paths for hmy, passphrase.txt, rewards wallet and if you'd like notifications when python3 hmy_rewards.py -b is run fill out an ntfy.sh link.

Wallet Password

Use the same password for all wallets and save it in a text file.

Acquiring hmy application

If you don't have hmy, after pulling the repo run the following:

wget harmony.one/hmy && chmod +x hmy

Then install your keys into hmy. Use the help menu to figure it out:

./hmy keys --help

Using ntfy.sh for notifications

This is a simple notifications site. Pick any random url after ntfy.sh for example https://ntfy.sh/mycustomnotificationlinkisthebestone and use that as your url for notifications. Browse there and when you run the hmy_rewards.py app in collecting or balance mode you'll have an update sent to that url.

Using hmy-wallet-tools

Once you have everything setup, get your balance only notification by running (think of a cron job maybe?):

python3 hmy_rewards.py -b

Metadata

Release files for hmy-wallet-toolbox 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for hmy-wallet-toolbox 1.0.0
File Interpreter ABI Platform Actions
hmy_wallet_toolbox-1.0.0-py3-none-any.whl Python 3 none any Details for hmy_wallet_toolbox-1.0.0-py3-none-any.whl

Release files / hmy_wallet_toolbox-1.0.0-py3-none-any.whl

Download URL hmy_wallet_toolbox-1.0.0-py3-none-any.whl
Size 2.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1a1ee3273c671b43871b13b99c753094e86c5c79e77ad0b0bbda3d12203f8432
BLAKE2b-256 checksum
How to use checksums
260de6daf93f15ae9c113886946853c5890c44960adedcbc2486a733f1630f42
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.12

Security for hmy-wallet-toolbox 1.0.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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page