Payout

Payout completed (and active) jobs automatically.

Disclaimers

  • ETH PAYOUTS HAVEN'T BEEN TESTED, THE PROGRAM COULD EMPTY YOUR ETH WALLET
  • The list of offers is taken from othub. If for some reason othub is down, the program won't work.
  • Othub is fairly slow at updating data. If for some reason the script throws an error, wait at least 15 minutes before running it again. It could happen that the script payed out a job, but othub hasn't updated, so the script will try to payout again.

Setup

Create a wallets.json file with the parameters specified in wallets-example.json. You can input as many nodes as you want.

(optional) If you want the script to also payout active jobs, set payoutOnlyCompleted in config.json

(optional) If you want to disable payouts for certain blockchains, set the "enabled" property to false in config.json

Add RPCs in config.json. There are a few free rpcs that don't require making accounts :

I would suggest to create free private rpcs though as in my experience they are faster and more reliable :

Install dependencies before running :

npm install

How to run

npm start