Global Feed Post Login
Replying to Avatar Tony 🥩 ⚡

To all the expert lightning node operators out there. Even though I've been in bitcoin since 2013, I'm just now starting to run my own node and lightning, so still a novice in that regards.

My setup:

Node: Start 9 Embassy

Lightning backend: Core Lightning

Lightning front end: Ride the Lightning

My question:

I see where I can generate an on-chain address to send funds to, but I don't see anywhere that I can export the private keys and I'm also unable to locate where they might be on the filesystem/OS.

Anyone know how I can get the private keys or a recovery phrase? I'm hesitant to send any bitcoins to an address that I can't recover. Thanks.

Avatar
Bitcoin Jungle 2y ago

AFAICT, you’re looking for the hsm_secret file that core lightning creates when you create the wallet the first time. This is the private key. I’m more of a lnd user so just going by the docs here.

https://github.com/ElementsProject/lightning/blob/master/doc/BACKUP.md

Reply to this note

Please Login to reply.

Discussion

Avatar
Tony 🥩 ⚡ 2y ago

Thanks, I'll check it out. I was gonna use LND but it's still synching. Just in case I switch over, how do I get the private keys there?

Thread collapsed