Open up the script set_rarity.ts
, and first of all read it
Then:
- change all the
stakingDefaults
to attack your farm - set the keypair of the farm manager on
manager
- set up all the rarities on the
rarities
constant - test it first on devnet
- run
yarn && yarn execute
ornpm install && npm run execute
to run the script