-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] [RFC] offer: be able to create an offer with description #729
base: master
Are you sure you want to change the base?
[WIP] [RFC] offer: be able to create an offer with description #729
Conversation
That's a duplicate of #678. |
Oh nice, thanks for pointing me to it. What is the status of the conversation? there is any eta to it? |
This has nothing to do with the LSP: I think that your current code isn't working because the custom offer you're creating isn't registered in the
The open issue with #678 (and the reason why it wasn't merged) is that there currently isn't any persistence mechanism for those custom offers. We would need to store those offers in a new DB, and load them on start-up to register them to the It's really unclear whether this additional work is worth the effort: we haven't had any other request for that feature apart from Ocean. None of the |
Thanks for guiding me, @t-bast. I didn’t pay much attention to the error that was returned because I couldn’t compile Perhaps I could use the JVM build as a workaround? This might be something we can discuss further in PR #126.
Yep this is the point where I got stuck too 😸 (outside of the previous error that you pointed out)
I’d like to double click about "ocean" here before moving forward with the discussion. Just to clarify, even though I’m the same person raising this, this is not an "ocean" request. The work I do isn’t entirely owned by them — I contribute to Phoenix because I find it enjoyable and it aligns well with my expertise and interests. Then if ocean will ship phoenixd as an alternative is just because I like the usability that you are giving to the user and I do not like to see user of the lightning network said that it is too difficult just because they are using the wrong implementation. This PR stems from a discussion with @rustyrussell regarding PR #7786, where we were considering the idea that users should specify what they want to be paid for. However, in my opinion, the rationale for the Phoenix mobile wallet is too compelling to bring this argument to the mobile wallet side. On the server side, though, I think this idea might be more acceptable.
Probably I am missing some of them for sure, but I was looking at the UI that was using phoenixd, and they do not have a bolt12 support at all. e.g: https://albyhub.com Are there any E.g: I know that cashu is doing bolt12 magic with a description but I did not have a change to understand what yet and they should be a phoenixd operator P.S: In the meantime I will move my fork of phoenixd using the #678 |
Good points, it can indeed be useful for
Then |
Thanks @t-bast I could take ownership for this. Due that I am new there do you have any channel where I can put some question if I get stuck understanding the design of phoenixd? P.S: changing ownershit -> ownership I made a typo sorry my screen reader did not catch it |
Great! We usually use github discussions, we're pretty responsive on those, don't hesitate to use that for questions! |
52d19c5
to
2daa125
Compare
Signed-off-by: Vincenzo Palazzo <[email protected]>
Signed-off-by: Vincenzo Palazzo <[email protected]>
2daa125
to
52d65f4
Compare
PR Proposal: Support for Offers with Descriptions in phoenixd
I started exploring
phoenixd
to enable the creation of offers with custom descriptions, allowing users to specify the purpose of their payments.It is widely recognized that
phoenixd
is one of the best solutions for regular users to operate their own node without having to navigate the complexities of the Lightning Network. However, in the Phoenix mobile wallet, there is currently no option to create offers with custom descriptions beyond the default one. While this limitation exists for valid reasons, I believe it is possible to support this type of offer on the server side. Doing so could unlock new use cases for using Phoenix.This PR aims to introduce support for creating offers with custom descriptions that work seamlessly with the LSP, just like the default offers.
Current Status
This PR is a work-in-progress because I believe there are changes required on the LSP side to handle and fetch this new type of invoice.
I have a partially working version of
phoenixd
based on this commit: phoenixd branch with description offers. While the modifications inphoenixd
are functional, the feature is not fully operational due to the LSP's current limitations. I would need guidance on how to modify the LSP to support these changes.Request for Feedback
I am opening this PR to gather feedback from the team regarding the following points:
phoenixd
?Missing steps