- Private Key = 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
- Chain ID = 31337
- Rpc Url = http://127.0.0.1:8545/
- Currency Symbol = GO
- Navigate to the hardhat folder.
- Run
yarn
to install dependencies. - Execute
yarn hardhat node
to start the Hardhat node. - Open Metamask.
- Add a new network using the details provided for the Hardhat node.
- Switch Metamask to the newly added network.
- Go to the nextjs folder in your terminal
- Run
yarn
to install dependencies. - Start the development server with
yarn dev
.
- Use only the network details above or else you may encounter errors.
- Incase you get an internal json-rpc error, then delete your current account that was generated before, go back to the
yarn hardhat node
output, and add any account listed there. The error should go away, if it doesnt, then try again.