cardano-serialization-lib icon indicating copy to clipboard operation
cardano-serialization-lib copied to clipboard

Generate a legacy Daedalus key from recovery phrase

Open SebastienGllmt opened this issue 4 years ago • 1 comments

Cardano contains two ways to derive child keys: v1 for Daedalus addresses and v2 for everything else.

This functionality was provided by an old WASM library for Cardano (https://www.npmjs.com/package/cardano-wallet), but we didn't add it to our library.

I'm not sure if we need to introduce new dependencies to add this functionality, but it may be useful to have a derive function added to LegacyDaedalusPrivateKey along with a from_bip39_entropy function.

We can assume purpose is 44' and cointype is 1815' for Dd addresses.

SebastienGllmt avatar Dec 17 '20 12:12 SebastienGllmt

FYI I attempted to add this in https://github.com/Emurgo/cardano-serialization-lib/pull/104

SebastienGllmt avatar Feb 13 '21 10:02 SebastienGllmt