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

Uploaded Python 3

File details

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

File metadata

  • Download URL: hmytb-1.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 6903616acdb3881a8ba7e9f08a092a77a016212a0ff5b510ea69ce175dd9c8a5
MD5 ad9ceb46effc7a85d22dd506db7e1523
BLAKE2b-256 a217fea87880c6ffa8a072b5188a30d704b6a2f034958583e79cfed41cc5d5ad

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hmytb-1.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c28a75df208510c3f67755762d724e411ade03722ca1e4528464767a21af7465
MD5 abc58315678faf33674c93423fa00dea
BLAKE2b-256 57e4da861e5df24731739d12f1d3593647890ffeec40a3d1208e58ad1c51729a

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