Replies: 4 comments 3 replies
-
Another option as outlined in the Discord server:
https://discord.com/channels/753336465005608961/824249944810192956/1008914615255695381 |
Beta Was this translation helpful? Give feedback.
-
Tradeoffs:
https://discord.com/channels/753336465005608961/824249944810192956/1008916290909511741 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
This was added to the main website site here - https://lightningdevkit.org/key_management/#creating-a-unified-wallet |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
BDK allows us to create descriptor-based wallets, it would be good if we can use a subkey or child key to seed our LDK
KeysManager
and make backup/recovery easier by only using one 12 word mnemonic.The descriptors in a BDK wallet look something like this:
Receive addresses -
wpkh(${xprv}/84'/1'/0'/0/*)
Change addresses -
wpkh(${xprv}/84'/1'/0'/1/*)
I believe we want a separate derivation path for LDK keys. We'll then be able to use the child key pair derived from that master key with LDK as long as it's a 32-byte seed.
We'll need to pick a constant
LDK KeysManager Seed Path
, this should be a hardened key.Does this PR look like it will have what we need to generate the sub-key pair with a different path and feed to LDK
KeysManager
?Beta Was this translation helpful? Give feedback.
All reactions