make sure you have node (install from their website), hardhat installed use # npm install hardhat, set up your meta-mask properly, read the steps carefully
Create a ERC20 token using solidity and mint, balance and transfer function but only the user can access the mint function
by using openzepplin we can see there are many functions of the library and also these additional three functions written in solidity the smart contract has a three functions only the user can mint new tokens, anyone can burn or transfer tokens
- Inside the project directory, in the terminal type: npm i
- Open two additional terminals in your VS code
- In the second terminal type: npx hardhat node
- In the third terminal, type: npx hardhat run --network localhost scripts/deploy.js
- After you get the deployment address head on to https://remix.ethereum.org/
- Connect your meta-mask account clear the previous activity
- Select the virtual environment to injcted provider meta-mask
- In the at address give the deployment address
After this, you are good to go it will start on remix.