npm install @nomicfoundation/hardhat-toolbox
npm install @nomiclabs/hardhat-ethers
npm install @nomiclabs/hardhat-waffle
npm install ethereum-waffle
npm install ethers
npm install hardhat
And Dont Forget to Add Below Lines in hardhat.config.js
require("@nomiclabs/hardhat-waffle");
npm init -y
npm i hardhat
npx hardhat
Open Terminal and Run
npx hardhat node
to Run Hardhat Local Blockchain
Now Deploy Our Contarc to Localhost
npx hardhat run Scripts/DeployOld.js --network localhost`
Now Copy The Address of This Deployed Smart Contract. This Will Help Us When We Be Deploying out Contarct
Now Run Vite App. Do Configuration in Your React App to Connect With Metamask With Ethers JS
Good Luck 👋. And Don't Forget To Like and Fork This Repository