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.4.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.4-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hmytb-1.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 3ff61f720258f3b3ecbfc04672a1069bdd35b1760fbbe75b23dfbb4cb84a665c
MD5 73cc428c08064e50609a1805b5e9ca00
BLAKE2b-256 9f3f74ad341a1e817b8932145b265948ad1547820bfa787a5132d676e08a8eae

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hmytb-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 6.7 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3a6f5df4b12984e24da30588b2630fd121b73bbd502b6bcd6af50d877306221c
MD5 97111dbefa7d7601818f18f3ba260467
BLAKE2b-256 52b8a355cfe16bcf58eceaa671ae4bdfa5cd2ba9f5ebe979a79aa520837255ad

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