- Terminal: npm run fork:dev
- Terminal: npx hardhat run --network localhost scripts/mainnetContract/swapTokenMainnet.js -- Swap ETH quickly for other tokens
- open url: http://localhost:3000/
- node version: 18.12.1
- If npm install fails, delete package-lock.json, delete yarn.lock, run npm cache clean --force, and then retry.
.next,package.json,package-lock.json,artifacts,cache
This project demonstrates a basic Hardhat use case. It comes with a sample contract, a test for that contract, and a script that deploys that contract.
Try running some of the following tasks:
npx hardhat help
npx hardhat test
REPORT_GAS=true npx hardhat test
npx hardhat node
npx hardhat run scripts/deploy.js