First, start local network using hardhat, by:
This will create the RPC localhost url which we can use to connect with metamask to test this application.
By default the account is loaded with gas and three tokens.
Use private key
of index 1 account on metamask.
Tokens can be imported by using import token option on metamask extension using the address logged by running below step.
NOTE: use the bank address in App.js
Then, in file directory, you can deploy solidity contracts by:
In the client directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.