I have wallet in Infinito wallet. My mnemonic seed has 12 words and Yoroi, Daedalus Wallet does not support it.

I can get different Master Private key, address for Cardano Shelley, Byron wallet from mobile wallet app.

I am going to get them from code.

The master private key of Cardano Shelley can be gotten by following code.

const rootKey = CardanoWasm.Bip32PrivateKey.from_bip39_entropy(
  Buffer.from(entropy, 'hex'),

Ref: https://developers.cardano.org/docs/get-started/cardano-serialization-lib/generating-keys#bip39-entropy

But I can't get the master private key of Cardano byron wallet.

How can I get the private key and address of Cardano byron wallet from mnemonic?

  • Can you share what error you are getting when you say you cannot get it with that function? Mar 31 at 6:23
  • What prefix does your Byron wallet start with? Ae2 or Dd? Mar 31 at 6:26
  • I don't get any error. I am getting another private key which is different from wallet app. Its prefix is Ae2
    – Heindrick
    Mar 31 at 9:10
  • Actually, I am getting same private key as Cardano Shelley. I want to know if there is another way to get private key for Cardano byron
    – Heindrick
    Mar 31 at 9:36
  • did anyone manage to recover the Ada Byron from Infinito wallet?
    – u30004
    Jul 23 at 4:25

2 Answers 2


Your private key in infinito is the right one to use, you just have to find the correct deviation numbers. I was recently hired to recover a byron wallet from the same app (infinito-wallet), I'll be releasing the script publicly once I get permission.


The way you obtain the rootKey from the mnemonic is the same for both Shelley and Byron.

For Byron, you then have to do the following to get the right address:

const accountKey = rootKey
  .derive(harden(1852)) // purpose
  .derive(harden(1815)) // coin type
  .derive(harden(0)); // account #0

const utxoPubKey = accountKey
  .derive(0) // external

const byronAddr = CardanoWasm.ByronAddress.icarus_from_key(
  utxoPubKey, // Ae2* style icarus address

You can have more information here.

  • I already tried it. But I am getting another byron address which is different from Infinito wallet address. I think Infinito wallet was using old way to get private key and wallet address. Is there any other way to get private key?
    – Heindrick
    Mar 31 at 11:28
  • I am not familiar with Infinito wallet. Is it possible to ask their team on how they do it? Apr 1 at 0:07

Your Answer

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

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