Lightning is so hard, even my LLM is telling me we need more research before creating a bolt12 offer programmatically.
Login to reply
Replies (14)
Why are you asking? What are you trying to do?
Apparrently I need a channel to get BOLT12
most definitely do :D
what lightning node are you runnning, out of curiousity?
CDK-LDK. Need to test Ehash stuff.
BDK - LDK?
did you build from scratch?
CDK with an LDK node. https://github.com/cashubtc/cdk
And yea. Building from scratch. Sent some sats on chain last night. Maybe they're there when I check today.
Going to run CDK v0v.14.x and have Ehash code using a branch of that. Need to have one long running so the other can open a channel to it. And then generate a BOLT12 offer. And then pay via the offer to make the Payout event trigger for Ehash. Which then would kick off calculations of how many sats each Ehash is worth. Which would enable users to melt their Ehash for LN sats or Ecash.
Oh geez lol
Huh?
Just seems like a lot
Very much so. We're bringing three protocols into one system. 😵💫 and Sv2 is three sub protocols.
Oh geez
what's the end goal here? for entertainment or the basis of something awesome? :D
We're going to take mining shares and make them Ecash so people can do fun things like subsidize their local mining pool.