Companion

object Companion

Functions

channelKeyPath
Link copied to clipboard
common
fun channelKeyPath(fundingPubKey: DeterministicWallet.ExtendedPublicKey): KeyPath
fun channelKeyPath(fundingPubKey: PublicKey): KeyPath

Create a BIP32 path from a public key. This path will be used to derive channel keys. Having channel keys derived from the funding public keys makes it very easy to retrieve your funds when've you've lost your data: