Writing Smart Contracts for Fungible Tokens

Writing Smart Contracts for Fungible Tokens#

In this section we will be writing Solidity smart contracts that will create the ERC-20 token on the Ethereum blockchain. The smart contracts we create will implement the ERC-20 Token Standard. There are multiple smart contracts that we will write and they will all be used to create the ERC-20 token smart contract that we want to use on the Ethereum blockchain.

The smart contracts that we will implement for the main ERC-20 token smart contract include the following:

Interfaces:

  • IERC20.sol

Libraries:

  • SafeMath

  • Role.sol

  • MinterRole.sol

  • Context.sol

Contracts:

  • ERC20.sol

  • ERC20Detailed.sol

  • ERC20Burnable.sol

  • ERC20Mintable.sol

 

This page is a preview of Creating an ERC20 Token on Ethereum

No discussions yet