3

What derivation path does Core-Lightning use to end up at the Node Public Key (and private key), given a mnemonic seed?

1 Answer 1

3

The node public key is not derived using BIP32. It's derived from the hsm_secret using an HKDF. The hsmtool utility can help you derive keys from your hsm_secret.

I described in this issue how every key managed by Core-Lightning is derived. It was a while ago but i don't think it's changed since.

Your Answer

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

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