Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tutorial / Readme Lacks Clarity #4

Open
Nycticebus opened this issue Mar 18, 2019 · 0 comments
Open

Tutorial / Readme Lacks Clarity #4

Nycticebus opened this issue Mar 18, 2019 · 0 comments

Comments

@Nycticebus
Copy link

The part of the Readme which states:

  1. Copy the token address from the terminal:

EIP20: 0x345ca3e014aaf5dca488057592ee47305d9b3e10

is very unclear, as there are 3 contracts which are migrated. Here is a sample output:

Compiling your contracts...
===========================
> Everything is up to date, there is nothing to compile.


Starting migrations...
======================
> Network name:    'ganache'
> Network id:      5777
> Block gas limit: 6721975


1_initial_migration.js
======================

   Replacing 'Migrations'
   ----------------------
   > transaction hash:    0x646cb93304149c128b46bc175f5d1eaa1ab5810078d7ee8eed5a006ebfa41998
   > Blocks: 0            Seconds: 0
   > contract address:    0xF79f8789d57a2334D202CE2C893A3F653F9fa28D
   > account:             0xC7d24bA673E914FE0c6bEbEB1A55cDB223fe1E67
   > balance:             99.99430184
   > gas used:            284908
   > gas price:           20 gwei
   > value sent:          0 ETH
   > total cost:          0.00569816 ETH


   > Saving migration to chain.
   > Saving artifacts
   -------------------------------------
   > Total cost:          0.00569816 ETH


2_deploy_tokens.js
==================

   Replacing 'EIP20'
   -----------------
   > transaction hash:    0x6304cc3c1e70d161e57c34d0ea538e1532acd1b0dcf3d08c23747d638fca8b14
   > Blocks: 0            Seconds: 0
   > contract address:    0x7cceB3cdB405b9ae0D0c6fB298A77D442eD80d4D
   > account:             0xC7d24bA673E914FE0c6bEbEB1A55cDB223fe1E67
   > balance:             99.97198206
   > gas used:            1073955
   > gas price:           20 gwei
   > value sent:          0 ETH
   > total cost:          0.0214791 ETH


   > Saving migration to chain.
   > Saving artifacts
   -------------------------------------
   > Total cost:           0.0214791 ETH


3_deploy_factory.js
===================

   Replacing 'EIP20Factory'
   ------------------------
   > transaction hash:    0x90167656e01213e7f1f5f51ca9182603360d77d18cb47d7d154246c9a9f4a602
   > Blocks: 0            Seconds: 0
   > contract address:    0x7eBa7F7C13F3E0a508C7137304CeCc60CC1FB149
   > account:             0xC7d24bA673E914FE0c6bEbEB1A55cDB223fe1E67
   > balance:             99.86992594
   > gas used:            5075772
   > gas price:           20 gwei
   > value sent:          0 ETH
   > total cost:          0.10151544 ETH


   > Saving migration to chain.
   > Saving artifacts
   -------------------------------------
   > Total cost:          0.10151544 ETH


Summary
=======
> Total deployments:   3
> Final cost:          0.1286927 ETH

It is the contract address from 2_deploy_tokens.js, which in my example would be 0x7cceB3cdB405b9ae0D0c6fB298A77D442eD80d4D which needs to be put in to the eip20.js file, const tokenAddress = '0x7cceB3cdB405b9ae0D0c6fB298A77D442eD80d4D'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant