▶️Crafts and Mint Token ERC20

Task Details: Craft an ERC20 contract that mints at least 100 tokens with Hardhat (in 7 Steps)

  1. Within the scripts folder, create a file called deploy.js and mint.js

  1. Let's write our deploy.js script

  1. And then let's write our mint.js script

  1. Execute the following command in your terminal to run the deploy script using the Swisstronik network

  1. Execute the following command in your terminal to run the mint script using the Swisstronik network

  1. Upon successful execution, your terminal should display the latest message you've defined in the contract 🎉

Last updated

Was this helpful?