Henry Tirla
Dec 20, 2022

--

One possible reason why the mnemonic phrase and private key are giving access to different wallet addresses is that you are using the privateKeyToAccount method to generate the account object from the private key, but you are not using it to generate the account object from the mnemonic phrase. Instead, you are generating the private key from the seed value produced by the to_seed method, and using that private key to generate the account object.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Responses (1)

Write a response