Creating wallet with same mnemonic key #2040
Unanswered
Nightfuury
asked this question in
Q&A
Replies: 1 comment
-
It works fine for me. Is there something else you are doing on the same line? Are you sure there isn't a typo in your variable names? > Wallet.fromMnemonic("one apart congress easy deposit audit orphan grunt october select target better", "m/44'/60'/0'/1")
Wallet {
_isSigner: true,
_signingKey: [Function (anonymous)],
address: "0x93474579D4408cc9Cc7fAb2ed955962454E3847d",
_mnemonic: [Function (anonymous)],
provider: null
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
While creating wallets with same mnemonic key, I am getting following error
[Error: invalid mnemonic]
Code:-
var wallet2 = ethers.Wallet.fromMnemonic(mnPhrase ,
m/44'/60'/0'/1
) //error coming at this linewhere mnPhrase = "one apart congress easy deposit audit orphan grunt october select target better"
Beta Was this translation helpful? Give feedback.
All reactions