I have used Geth.aar library for generating ethereum address from 24 word seed.

But every time I got new address.

I need same address every time.

Please help me with this.


Sorry, you cannot the generate the same key (Mnemonic seed of words) more than once.

To quote Nick

There are 2160 Ethereum addresses, so you'd have to generate an average of 280 private keys before you randomly generated two identical ones (or two different private keys that result in the same address).

Generation of private keys is purposefully designed to be random in a way that no other person can derive it. i.e they are called "private" for security reasons.

Your best bet is to generate the key once & store it in a database or write it to a text file of some sort.

Then use that(the stored key) to continuously generate the same address from there.

You may also use ethaddress.org to generate your private keys. It's easier to use than Geth IMHO

  • Sounds like OP is attempting to deterministically get an address using a seed; that should always yield the same family of addresses (and is the whole point of using a seed).
    – lungj
    Aug 8 '18 at 1:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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