Skip to main content

Harmony ONE command line wallet tools

Project description

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

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

hmytb-1.0.5.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hmytb-1.0.5-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file hmytb-1.0.5.tar.gz.

File metadata

  • Download URL: hmytb-1.0.5.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.12

File hashes

Hashes for hmytb-1.0.5.tar.gz
Algorithm Hash digest
SHA256 d7b73c382086e7ec0e74513cc9ef01f444d8e36a5f8e216d642eaabb792d9a6b
MD5 f16de2cbceaeb3858071aec071c88e23
BLAKE2b-256 54eca9b6a2a56b2df029d1f565aeb316c5cd49dd84466dc4808ae9c7e1085853

See more details on using hashes here.

File details

Details for the file hmytb-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: hmytb-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.12

File hashes

Hashes for hmytb-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 5368f2ebbdccd05704c75c53fff2c20b49b6ff782bfd30b20504f009ef13ce6f
MD5 29a5dbff24d9a56fa969d0a383812915
BLAKE2b-256 1a9eba4395caa46390ef885ba1b7c15bc7b8fecb0acb11d6029e498c3d3e9020

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page