A
A
Anton20012021-08-30 02:23:04
C++ / C#
Anton2001, 2021-08-30 02:23:04

How to get eth wallet address using seed phrase?

On the site https://iancoleman.io/bip39/ I can specify my seed phrase , coin - ETH and get a list of addresses
612c16b05773d875562419.png
How can I do this using c# ?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anton2001, 2021-08-30
@Anton2001

In general, the guys did what was needed but for BTC, but I need for ETH
Here is the code for btc

Mnemonic restoreNnemo = new Mnemonic("Тут сид фраза");
            
            ExtKey masterKey = restoreNnemo.DeriveExtKey();

            KeyPath keypth = new KeyPath("m/44'/0'/0'/0/0");
            ExtKey key = masterKey.Derive(keypth);

            string ssAddress = key.PrivateKey.PubKey.GetAddress(ScriptPubKeyType.Legacy, Network.Main).ToString();
            MessageBox.Show(ssAddress);

A
asinco, 2021-12-27
@Meoniz

There is a code in python, if relevant - I can throw it off

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question