Skip to content

lastrust/erc20-minting-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ERC20 Minting Boilerplate

By cloning this repository, you can instantly create a mint application of ERC20.

Getting Started

1. Clone

$ git clone https://github.com/lastrust/erc20-minting-boilerplate.git
$ cd erc20-minting-boilerplate

2. Create your DApp with Bunzz

Please access to Bunzz. For this application, you need to deploy "Token (ERC20)" smart contract at a minimum.

3. Configure environment

To make the frontend app interact with the deployed contract, you need to configure environment of the app.

First, create the .env file.

# Create .env file
$ touch .env

Contents of .env file↓ Please replace YOUR_CHAIN_ID and YOUR_CONTRACT_ADDRESS. You can copy the contract address from the Bunzz dashbord. If you don't know the chain ID, you can search it in chainlist.org.

REACT_APP_CHAIN_ID=YOUR_CHAIN_ID
REACT_APP_CONTRACT_ADDRESS=YOUR_CONTRACT_ADDRESS

And when you replace the contract with other module (not "Token(ERC20)"), you need to replace abi.json as well. You can copy it from the Bunzz dashboard.

4. Start application

$ yarn install
$ yarn start

5. Try to use application

This is the screen for minting the ERC20 Token (Funsible Token). スクリーンショット 2021-12-14 11 29 07

Now let's mint the ERC20 Token. Enter the amount of the Token. When you are done, press the "mint" button.

Minting creates ERC20 Token on the blockchain.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •