- run
yarn
- Go to infura and create an account, add the optimism addon.
- From infura get the optimism endpoint and put it in .env
- Get your private and public keys and put them in .env
- Run
npx hardhat run --network optimism scripts/claim.js
Follow previous steps until point (3)
- Get your friends's public key and put it in .env under the variable
FRIEND
- Run
npx hardhat run --network optimism scripts/friend-claim.js