lightningdevkit / lightningdevkit.org

Lightning Development Kit Documentation
https://lightningdevkit.org
MIT License
58 stars 39 forks source link

Improvements for Key Management Guide #103

Open ConorOkus opened 2 years ago

ConorOkus commented 2 years ago
ConorOkus commented 2 years ago

Update from Slack convo"

Jeff says: "That seed is used to create a master key, from which we derive other keys. Check out KeysManager::new to see how this is done. So if BDK already has an HD wallet with its own seed, you'd want to have a separate derivation path for LDK use (at least where Matt pointed out) rather than reusing the seed from BDK. But LDK uses the seed for other things, you'll notice."