To reach this scripts you have to run
cd scripts/rewards
To run let's say award script on sepolia you simply call the sepolia-rewards.sh and pass a path to a json file containing all the addresses and amounts you want to reward as defined in sample-reward.json
An example is:
./award_on_local.sh sample-rewards.jsonDO NOT FORGET TO SETUP YOUR ENVIRONMENT TO HAVE STARKNET_KEYSTORE AND STARKNET_ACCOUNT (in a .env file in root directory)
Then to upload nft data to folders based on round, do not forget to modify ROUND_NUMBER= in docker-compose.yaml
To reach this scripts you have to run
cd scripts/rewards
To run let's say award script on sepolia you simply call the sepolia-rewards.sh and pass a path to a json file containing all the addresses and amounts you want to reward as defined insample-reward.json
An example is:./award_on_local.sh sample-rewards.json
DO NOT FORGET TO SETUP YOUR ENVIRONMENT TO HAVE STARKNET_KEYSTORE AND STARKNET_ACCOUNT (in a .env file in root directory) Then to upload nft data to folders based on round, do not forget to modifyROUND_NUMBER=
in docker-compose.yaml