- Install Foundry by following the instructions from their repository.
- Copy the
.env.example
file to.env
and fill in the variables. - Install the dependencies by running:
yarn install
. In case there is an error with the commands, runfoundryup
and try them again.
yarn build
yarn test
Configure the .env
variables.
Start up anvil:
$ anvil
Deploy:
yarn deploy:localhost
Update auction config:
cast send $CONTRACT_ADDRESS "updateConfig(uint64,uint64,uint256,uint256)" 1704369600 1704373200 1000000000000000000 200000000000000000 --private-key $LOCAL_PRIVATE_KEY
yarn deploy:sepolia