Skip to content
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

Offers without extra plugin #2976

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

Offers without extra plugin #2976

wants to merge 3 commits into from

Conversation

thomash-acinq
Copy link
Member

@thomash-acinq thomash-acinq commented Jan 7, 2025

Enable basic offer management without the need for a plugin.

Offers allow a wide range of use-cases and it would be impossible to cover everything in eclair which is why we have relied on plugins to manage offers. However most users will not need advanced features, with this PR we aim to provide the basic features that will be enough for 95% of users. Advanced users can still use a plugin to manage more complex offers.

Supported use-cases:

  • accepting donations
  • selling items without inventory management
  • compact offers using our public node id
  • private offers where our identity is protected by a blinded path

@thomash-acinq thomash-acinq changed the title Offers no plugin Offers without extra plugin Jan 7, 2025
@thomash-acinq thomash-acinq marked this pull request as draft January 7, 2025 12:48
@thomash-acinq thomash-acinq force-pushed the offers-no-plugin branch 2 times, most recently from b8611f6 to 5e9bc0e Compare January 14, 2025 10:14
When using blinded payment paths, the fees of the blinded path should be paid by the recipient, not the sender.

- It is more fair: the sender chooses the non blinded part of the path and pays the corresponding fees, the recipient chooses the blinded part of the path and pays the corresponding fees.
- It is more private: the sender does not learn the actual fees for the path and can't use this information to unblind the path.
@thomash-acinq thomash-acinq force-pushed the offers-no-plugin branch 2 times, most recently from 3950baf to fbd66d6 Compare February 10, 2025 15:56
@thomash-acinq thomash-acinq force-pushed the offers-no-plugin branch 2 times, most recently from cb4e211 to 467a5a4 Compare February 10, 2025 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant