curl -L https://foundry.paradigm.xyz | bash
# This will download foundryup. Then install Foundry by running:
foundryup
forge build
Run test with -vv
to print logs
forge test -vv
Run testMintGasReport to mint 1 token and generate gas report for minting
forge test --match-test testMintGasReport --gas-report
forge install openzeppelin/[email protected]
forge install brockelmore/forge-std
Since remappings doesn't work with hardhat, I need change the dependencies structure to hardhat style and config remappings for Forge
yarn hardhat deploy --network rinkeby --tags nft
yarn hardhat etherscan-verify --network rinkeby