- Install Foundry by following the instructions from their repository.
- Copy the
.env.examplefile to.envand fill in the variables. - Install the dependencies by running:
yarn install. In case there is an error with the commands, runfoundryupand try them again.
yarn buildyarn testConfigure the .env variables.
Start up anvil:
$ anvilDeploy:
yarn deploy:localhostUpdate auction config:
cast send $CONTRACT_ADDRESS "updateConfig(uint64,uint64,uint256,uint256)" 1704369600 1704373200 1000000000000000000 200000000000000000 --private-key $LOCAL_PRIVATE_KEYyarn deploy:sepolia