Skip to content

Nestjs backend service for managing daily rewards from an ICON node validator

Notifications You must be signed in to change notification settings

icon-project/node-reward-manager

Repository files navigation

Description

Backend script to manage and transfer rewards from a node (or any wallet) on ICON Network.

The following script will run a cron job that will check every hour for unclaimed IScore, and transfer it to the receiver address.

Requirements

  • Install the required packages:
  • make (run sudo apt-get install make or sudo apt-get install build-essential)
  • docker (follow the instructions here)
  • node (follow the instructions here)
  • git
  • Clone the repository:
  • git clone https://github.com/icon-project/node-reward-manager.git
  • Define the following environment variables:
PRIVATE_KEY='NODE_WALLET_PRIVATE_KEY'
RECEIVER_ADDRESS='cxfa09b71b9a82abc56678707ac4cbc0437635ff1d'
NETWORK='mainnet'

How to run

To start run: make start To Stop run: make stop

About

Nestjs backend service for managing daily rewards from an ICON node validator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published