satansdeer / ethereum-token-tutorial

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

Home Page:http://maksimivanov.com/posts/ethereum-react-dapp-tutorial

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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

http://maksimivanov.com/posts/ethereum-react-dapp-tutorial


Languages

Language:JavaScript 79.2%Language:HTML 16.3%Language:CSS 4.5%