ethereum-token-tutorial icon indicating copy to clipboard operation
ethereum-token-tutorial copied to clipboard

This is example repo for my articles about simple ERC20 compliant token

Ethereum Token Tutorial

This is example repo for my articles about simple ERC20 compliant token:

How to run

First install truffle and ganache globally:

npm install -g truffle
npm install -g ganache-cli

Now run ganache-cli on port 7545:

ganache-cli -b 3 -p 7545

Run the migrations (contracts are already compiled):

truffle migrate

Install 🦊 Metamask browser extension and connect to local network (custom RPC, http://localhost:7545)

Go to /front folder install dependencies and run the app:

cd front
yarn
yarn start

Web app should be available on http://localhost:3000.

Web app

Login to Metamask using first private key from ganache-cli output. This account has all the Tutorial Tokens.

Try to send tokens to one of other accounts. You can get their addresses from ganache-cli as well.