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.2.tar.gz (5.4 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.2-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hmytb-1.0.2.tar.gz
  • Upload date:
  • Size: 5.4 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.2.tar.gz
Algorithm Hash digest
SHA256 a6e9f860ae18871260bba3373fb07c1116290bff87ee5a54841d1c54bcaa328e
MD5 53b16d671f36ee785265785950586876
BLAKE2b-256 73365357d4605259914bd3ae1a17286a1afeaa1c3afc71ae9cc0d5d678f23c8f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hmytb-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 6.6 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7da719ba1fddbed60c2d96067431a56308c5a54186e5731d95441e21314d731b
MD5 9eabcc66ddba3806301f69fff2aef298
BLAKE2b-256 f62a7cd91dcf834c12ffbccd459664e029879627f25fd941daf3b8118646f119

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