Code Monkey home page Code Monkey logo

erc20-minting-boilerplate's Introduction

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.

erc20-minting-boilerplate's People

Contributors

hitsuji-haneta avatar ropital avatar nailkhalimov avatar bofu2007 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.