#Metamask Wallet connection
$ npm install $ npm start
navigate browser to localhost:3000
React Js,Web3js
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
src Folder - WalletCard.js -
connectWalletHandler - For connecting the metamask wallet AccoutChangedHandler - Chainging account from metamask can cause this function to work chainChangedHandler - Chainging the chain network in the metamask can cause this function to work getAccountBalance - Get the Balance of the token/coin in your metamask wallet.