ERC stands for Ethereum Request for Comment. Essentially, they are standards that have been approved by the community and are used to convey technical requirements and specifications for certain use cases.
ERC-20 specifically is a standard which outlines the technical specification of a fungible token.
"A fungible token is one in which all 'parts' of the token are the same. Exchanging 1 ETH for a different 1 ETH doesn't change anything. You still have 1 ETH. Therefore, ETH is a fungible token. All fiat currency is also fungible."
"NFTs are examples of Non-Fungible Tokens (more on this later) where each token is different from a different token."
- Make sure you have downloaded and installed Metamask.
- Select the Rinkeby Testnet network to work with
- Request some testnet ether on Rinkeby through any one of the following faucets:
- Metamask Faucet
- Chainlink Faucet
- Paradigm Faucet
Once you have set all of these up, let's get started!
Use Remix IDE for writing the smart contract.
reference to LW3.sol
Compile your contract by either pressing Save (CTRL + S on Windows, Command + S on Mac)
Head over to the Deployer tab in Remix.
Select the Injected Web3 environment (ensure you are on the Rinkeby Test Network), and connect your Metamask wallet.
Select the (.sol) contract, and enter values for the constructor arguments _name and _symbol.
Click Transact and approve the transaction from Metamask to deploy your contract!