Based on the tutorial here: https://dev.to/dabit3/the-complete-guide-to-full-stack-ethereum-development-3j13
Usage:
npx hardhat node
npx hardhat run scripts/deploy.js --network localhost
- Update
src/App.js
with deployed contract locations npm start
Import the first Hardhat account and token addresses into Metamask.
If hardhat throws an invalid nonce error, reset the account in Metamask.