From bf66e7243a270616374cd53aa8dc00ead87bfc31 Mon Sep 17 00:00:00 2001 From: David Murdoch <187813+davidmurdoch@users.noreply.github.com> Date: Tue, 26 Apr 2022 18:47:40 -0400 Subject: [PATCH] replace `ganache-cli` with `ganache` in README The ganache package binds to both the `ganache` command and the `ganache-cli` command. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index cb4f9235..a9d6dc5f 100644 --- a/README.md +++ b/README.md @@ -466,11 +466,11 @@ INFURA_API_KEY - Key to access an Ethereum node via Infura service (for connecti In case ganache is not installed: ``` -$ yarn global add ganache-cli +$ yarn global add ganache ``` Then launch ganache: ``` -$ ganache-cli -p 7545 +$ ganache -p 7545 ``` In a different console, deploy the contract by running the migration script: @@ -496,7 +496,7 @@ There are 2 options to get MNEMONIC: - Either generate 12 random words on https://iancoleman.io/bip39/ (BIP39 Mnemonic). - Or get the MNEMONIC generated by ganache with the following command: ``` -$ ganache-cli +$ ganache ``` The second option is recommended for development purposes since the wallets associated to the MNEMONIC will be pre-loaded with ETH for tests on ganache.