Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 25 days 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 (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-11-04T00:27:18.000Z (about 3 years ago)
- Last Synced: 2024-10-04T13:20:13.880Z (about 1 month 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`.
![Web app](http://d33wubrfki0l68.cloudfront.net/c4250fbace5f71f2af9312a7cea4d52c5d8dbf73/ae75a/assets/images/tutorial_token_wallet.png)
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.