I wrote this code for a job interview, but I didn't get the job so I have made it open-source. It might be a good reference for someone?
Also if you star my github repo I'll pay you 1500 sats.
https://github.com/kornpow/lnd-kube-ha
1. It uses `lndinit` to initialize and/or unlock the LND from a stored secret.
2. Configures LND to use the postgres DB backend
3. It uses ETCD leader election, so you can have a high-availability LND deployment where if one goes down, a second replica, (on a different machine) can take over the Lightning Ops.
4. It runs the Aperture server to create a Lightning Paywall.
I really, really, really want to have a career working with Bitcoin and Lightning, so if you know anyone hiring please send them my way!
@92294577…49af776d @82341f88…fbfbe6a2 @04c915da…3dfbecc9 @5db24d2f…12d97fa2 @eab0e756…7ab91f4f @e20f8a38…394a6e7c @3f770d65…7a745b24 @50d94fc2…df281d63 @58c741aa…a6d23196 @5eb3fabe…35a033cd @b4d8807e…123fd29f @7b2ceeb5…0c9640a2 @85080d3b…db931204