koii_claimrewards

1.0.4 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i koii_claimrewards

Weekly Downloads

4

Version

1.0.4

License

ISC

Unpacked Size

42.1 kB

Total Files

5

Last publish

Collaborators

  • pewds