https://github.com/satansdeer/ethereum-token-tutorial
This is example repo for my articles about simple ERC20 compliant token
https://github.com/satansdeer/ethereum-token-tutorial
drizzle ethereum ethereum-dapp ganache ganache-cli metamask solidity truffle truffle-framework zeppelin
Last synced: about 1 month ago
JSON representation
This is example repo for my articles about simple ERC20 compliant token
- Host: GitHub
- URL: https://github.com/satansdeer/ethereum-token-tutorial
- Owner: satansdeer
- Created: 2018-02-28T06:39:19.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-11-04T00:27:18.000Z (over 3 years ago)
- Last Synced: 2025-02-25T14:50:51.051Z (about 2 months ago)
- Topics: drizzle, ethereum, ethereum-dapp, ganache, ganache-cli, metamask, solidity, truffle, truffle-framework, zeppelin
- Language: JavaScript
- Homepage: http://maksimivanov.com/posts/ethereum-react-dapp-tutorial
- Size: 219 KB
- Stars: 26
- Watchers: 4
- Forks: 21
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ethereum Token Tutorial
This is example repo for my articles about simple ERC20 compliant token:
* [Part 1](http://maksimivanov.com/posts/ethereum-react-dapp-tutorial)
* [Part 2](http://maksimivanov.com/posts/ethereum-react-dapp-tutorial-part-2)## How to run
First install truffle and ganache globally:
```sh
npm install -g truffle
npm install -g ganache-cli
```Now run `ganache-cli` on port `7545`:
```sh
ganache-cli -b 3 -p 7545
```Run the migrations (contracts are already compiled):
```sh
truffle migrate
```Install [🦊 Metamask](https://metamask.io/) browser extension and connect to local network (custom RPC, `http://localhost:7545`)
Go to `/front` folder install dependencies and run the app:
```sh
cd front
yarn
yarn start
```Web app should be available on `http://localhost:3000`.

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.