You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This should test the payout process in a locally forked network using hardhat to ensure that things will go well
$ yarn payouts:run
This should run the production payouts
Gotchas
The current code that generates the payout data can only be used in the frontend and the payout data is to be copied from the console logs
The first time you run the payout generation script, you need to copy the merkle root out of the console.log then copy that back into the poc.data.ts, then run again to verify payouts
In order to get the console logs to show up you will potentially have to clear the indexdb in your browser and hard reload
You must have the DEPLOY_PRIVATE_KEY configured in the contracts/.env file and it must be the private key that was used to deploy the grant round in order to execute payouts
The text was updated successfully, but these errors were encountered:
Scope: Make payouts easy enough for someone outside of the dGitcoin workstream to run via command line.
UX
$ yarn payouts:generate-payout-data
(ask for necessary data to generate payout data) (current steps are documented here:
https://github.com/dcgtc/dgrants/blob/main/contracts/tasks/payout-data/poc.data.ts)
(https://github.com/dcgtc/dgrants/blob/main/contracts/tasks/execute-payouts.ts) can use
$ yarn payouts:run-test
$ yarn payouts:run
Gotchas
The text was updated successfully, but these errors were encountered: