pull down to refresh
Hey, I think I solved the amountless offer problem and made an update that solved the issue, if you want to test, I made an pr for umbrel and startos already. Would you be willing to test the app in advance with me,since I have no ocean mining, i could give you an amountless offer and you could try if ocean accepts it or I could give you the app s9pk for sideload testing on startos...otherwise just wait for the release, tested sucessfully with my phoenix wallet already....
id help, sure. I'm happy to sideload it on my start9, point me to the link 🤙
The patch is now confirmed working in real life! Bolt12 Pay 0.2.105 is released in the StartOS Community marketplace. Amountless offers are working and I received a first payout from ocean mining.
this is awesome! Glad you were able to test it I was gonna jump in tonight
my tests have all been successful so far :) got my bitaxe set up with it...just waiting for a payout to confirm. But sending to the offers seems to be variable now!
And seems when I decode the offers, they are utilizing blinded paths as I can't see my own node in the decoded info. Does that sound right to you ?
Yes, that's expected. BOLT12 offers use blinded paths for recipient privacy, so you normally won't see your own node id exposed in the decoded offer. Glad to hear your tests are working too! I'm seeing successful OCEAN DATUM payouts and CLN → LND payments as well.
you've done something very cool here, well done !
Thanks mate! And thanks for pointing me to the issue!
can confirm just received 1 sat via Ocean payout to my bolt12 offer!
Amountless offers should be working now , I even pointed my bitaxe to ocean and the amountless offers got accepted.
Sent you the link for the prerelease
thank you, appreciated! I also added detailed domain setup instructions in the startos instructions docs to further reduce the onboarding hustle for new users... https://github.com/Alex71btc/bolt12-pay-startos/releases/tag/v0.2.105
Yes interesting indeed, I will investigate...
Using phoenix wallet or another Bolt 12 pay instance payment with any amount was no problem. This might actually be a direct channel connectivity problem, since I had the same problem once with Phoenix until I had opened a channel to acinq , then the route was found easily and bigger amounts where possible...
So if possible try 1, 2 sats then 21, 210 and 1000 so on for testing. Try to make a channel to ocean if possible. I still have to try with cln but will have to set up that node first
Seems it just needed time! I tried my offer again and now any amount is being allowed to be paid to the offer. Woo hoo!
Glad to see you are now able to pay offers, for the fixed ammount: I investigated this further and it currently looks like a limitation/interop issue in the experimental LNDK/BOLT12 stack rather than an Ocean issue.
We confirmed that:
- amountless offers can be created successfully
- Phoenix correctly recognizes them as amountless
- fixed-amount offers work instantly
- but invoice requests for amountless offers currently time out when paying
So at the moment, truly amountless offers do not seem to work reliably yet with the current experimental LNDK/LND implementation.
For now the safest workaround is still using a small fixed amount (like 1 sat minimum), which is why BOLT12 Pay currently defaults to that behavior. ( thats why i hardcoded minimum 1 sat in my app)
I will keep investigating this and may open an upstream LNDK issue since the flow itself should theoretically be supported by the spec.
I have further narrowed down the issue and found a partial solution to create truly amount less offers but still paying them fails, I opened a github issue for the LNDK repo (responsible for offer handling that I had forked and integrated into my app, hopefully they will also help resolving this issue.
If you send me a bolt 12 offer in my nostr as a dm I could assist in testing debugging...npub1uhlrd6umajd0rxv36xsl2qkzz4xgmvy29m39mhn8aqrnz0g7x8rq2rnnh8
let's do that. what client do you use ?
i use amethyst but any nostr client will allow private messages, you just need to sign them
i sent you a DM using yakihonne. Let me know if you didn't receive, ive had issues with yaki and Amethyst talking to each other.
did you try the bip 353 default address?
i can't seem to get that to work, but been focused on just getting creation of an offer to work so I have one that I can pay any amount to. Will get there :)
you need a public domain set up for this to make it work
I do have a public domain set up and working, although the DNS part was a little difficult for me to understand so possible i screwed that up.
either use cloudflare or if you dont use cloudflare, set up a sub domain with the build in startos lets encrypt cert, them add a txt record (A) according to your setup as following the startos instructions
hmm, i am testing with CLN and a coinos.io account. The offers I make in bolt12 pay with no value in the amount only allow me to send 1 sat (does not give the option to put an amount). This is posing a problem when trying to receive payouts from Ocean mining pool as it hits a validation error that wants the amount to not be 1 sat so it can send whatever is owed.
Good to know on the channel being private. Happy to provide more info and help fix just let me know !