yarn
As a standard lifecycle npm script, it is executed automatically upon install. It generate config file and typechain to get you started with type safe contract interactions
yarn dev
yarn local:dev
yarn void:deploy
yarn test
yarn fork:deploy base_sepolia
yarn deploy base_sepolia
输出文件在 deployments 中, 一个文件里面包含合约地址, abi, 等全部信息
yarn verify base_sepolia
yarn tenderly:push base_sepolia
yarn export base_sepolia export/base_sepolia.json
todo
yarn fork:run base_sepolia <file.ts> [args...]
yarn run base_sepolia <file.ts> [args...]
yarn fork:test <network> [--blockNumber <blockNumber>] [mocha args...]
This will test the contract against a temporary fork of the specified network.
forge test
This require the installation of forge (see foundry)