Ganache-cli: deterministic vs mnemonic

Created on 31 May 2016  路  3Comments  路  Source: trufflesuite/ganache-cli

whats the difference?

from the readme:

-d or --deterministic: Generate deterministic addresses based on a pre-defined mnemonic.
-m or --mnemonic: Use a specific HD wallet mnemonic to generate initial addresses.

Most helpful comment

  • -d: Pre-defined mnemonic, but you don't care what it is. i.e., you just care about determinism:
$ testrpc -d
  • -m: You care what the mnemonic is:
$ testrpc -m "dead fish racket soul plunger dirty boats cracker mammal nicholas cage"

Both are deterministic, but only in the latter case do the details of that determinism matter to you (and as such, it requires more complex input).

All 3 comments

  • -d: Pre-defined mnemonic, but you don't care what it is. i.e., you just care about determinism:
$ testrpc -d
  • -m: You care what the mnemonic is:
$ testrpc -m "dead fish racket soul plunger dirty boats cracker mammal nicholas cage"

Both are deterministic, but only in the latter case do the details of that determinism matter to you (and as such, it requires more complex input).

ohhhhh

How to use -m key? example pls

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dwalintukan picture dwalintukan  路  6Comments

gskerry picture gskerry  路  3Comments

pradeeps picture pradeeps  路  6Comments

zweicoder picture zweicoder  路  3Comments

varasev picture varasev  路  3Comments