- yarn install
- yarn add --dev hardhat (you ,might need to change ur node version:
nvm use 16
)- npx hardhat & select empty project
- then run hardhat locally: npx hardhat node
- run nextjs app: npm run dev
- Add the network to metamask(add the RPC)
- Change the chainID on networkMapping.json to reflex the correct one