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

- Open metamask in the browser and click on the red circle
denoted 1st
then clickImport account
denoted 2nd

- Then paste the private key here and click
Import

-
Similarly import
Account-1
-
Then click on the
1st
circle then click the2nd
circle which saysAdd network

- Then click
Add network manually
on the bottom

- After that fill up all the information as shown in the picture and click
save

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