FUN Token Demo app that uses a basic ERC20 token deplpoyed on the Koven testnet. You can view the deployed token here.
This app is built with Truffle to deploy and verify the token contract. OpenZeppelin contracts are used to import mintable and burnable functionality. The front end was started with react-react-app. Front end interaction with the token contract is done with ethers.js and Metamask.
The app lets a user that has signed into Metamask and connected to the Kovan network preform the following actions:
- Mint more FUN tokens
- Burn FUN tokens
- Transfer FUN tokens to a designated eth address
Run these commands in the project directory
npm install -g truffle
truffle init
npm init -y
npm install @openzeppelin/contracts
Configure your .env
:
PRIVATE_KEY=0x???
KOVAN_RPC_URL='https://kovan.infura.io/v3/???'
ETHERSCAN_API_KEY=???
cd
into the client
directory to run the front end