1

After I updated my Ganache the account addresses and the Mnemonic change everytime I start Ganache. The option "Autogenerate HD Mnemonic" is disabled.

Do you know a way to keep the same account addresses and the same Mnemonic?

Thank you for your help.

Take care

Pierre

2 Answers 2

0

Looks like a bug in Ganache UI's Quickstart workspace. It should persist the mnemonic if you enter one and disable the Auto Generate option. You should open a new issue on the Ganache repo!

1
  • @Pierre, feel free to upvote and mark as accepted! :-) Dec 18, 2020 at 16:13
-1

You can use -m to set the mnemonic so it is the same every time.

From the docs:

-m or --mnemonic: Use a bip39 mnemonic phrase for generating a PRNG seed, which is in turn used for hierarchical deterministic (HD) account generation.

So ...

ganache-cli -m "the quick brown fox ..."

Hope it helps.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.