Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 1.67 KB

metamask.md

File metadata and controls

47 lines (32 loc) · 1.67 KB

How to add Local Nodes in Metamask

  • First go to the BackEnd folder and run: yarn hardhat node It will run a local blockchain with 20 nodes. All the nodes public key private key balance can be seen here. Copy the private key of Account-0
Local nodes

  • Open metamask in the browser and click on the red circle denoted 1st then click Import account denoted 2nd
Importing account

  • Then paste the private key here and click Import
Entering private key

  • Similarly import Account-1

  • Then click on the 1st circle then click the 2nd circle which says Add network

Adding network

  • Then click Add network manually on the bottom
Add network manually

  • After that fill up all the information as shown in the picture and click save
Hardhat-Localhost configuration

  • A prompt will come up click Switch to Hardhat-Localhost
Switch to Hardhat-Localhost