Skip to content

sekuja/swisstronik-perc20-mint-token

Repository files navigation

Swisstronik Tesnet Techinal Task 4 (Mint a PERC20 Token)

link : Click!

Feel free donate to my EVM address

EVM :

0x03974DdCA9eE8a606287c361AE37e2b78F53CB3a

Steps

1. Clone Repository

git clone https://github.com/sekuja/swisstronik-perc20-mint-token.git
cd swisstronik-perc20-mint-token

2. Install Dependency

npm install

3. Set .env File

create .env file in root project

PRIVATE_KEY="your private key"

4. Update Smart Contract (Skipp if you won't modify Token name)

  • Open contracts folder
  • Open PERC20Sample.sol file
  • Feel free to modify token name and token symbol

5. Compile Smart Contract

npm run compile

6. Deploy Smart Contract

npm run deploy

7. Mint Token

npm run mint

8. Transfer Token

npm run transfer

8. Finsihed

  • Open the deployed-adddress.ts (location in utils folder)
  • Copy the address and paste the address into testnet dashboard
  • Open the tx-hash.txt (location in utils folder)
  • Copy the address and paste the tx hash link into testnet dashboard
  • push this project to your github and paste your repository link in testnet dashboard

About

MINT A PERC-20 TOKEN

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published