1.0.4 • Published 1 year ago

koii_claimrewards v1.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

Koii_claimer

This code is simplified from @_koii/create-task-cli , just to make claiming rewards easier. You need to create json file that contains let's call it "params.json" :

{"taskStateInfoAddress": "6GbpHRK3duDbo3dCEFXuJ2KD5Hg6Yo4A9LyHozeE7rjN",

"stakePotAccount": "FnQm11NXJxPSjza3fuhuQ6Cu4fKNqdaPkVSRyLSWf14d",

"beneficiaryAccount": "HERE_YOUR_WALLET_PUBLIC_ADDRESS",

"claimerKeypairPath": "VPS-task/namespace/staking_wallet.json"}

*this json file is an example for the free token task only.

Then all you need is to call :

npx koii_claimrewards@latest params.json
1.0.4

1 year ago