Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

LSPS1: Use a separate fee for onchain vs ln payments #91

Closed
SeverinAlexB opened this issue Feb 28, 2024 · 3 comments
Closed

LSPS1: Use a separate fee for onchain vs ln payments #91

SeverinAlexB opened this issue Feb 28, 2024 · 3 comments

Comments

@SeverinAlexB
Copy link
Collaborator

LSPS1 uses one field fee_total_sat to indicate how much the user needs to pay for the requested channel.

Issue: With rising onchain fees, onchain payments are exceedingly more expensive for the lsp than lightning payments. Onchain payments create its own UTXO and are therefore more expensive for the LSP to spend.

Solution: Add a different price for LN payments compared to onchain payments. This can be done directly now or in a backwards compatible way at a later point.

@SeverinAlexB SeverinAlexB changed the title LSPS1: Use a seperate fee for onchain payments vs ln payments LSPS1: Use a separate fee for onchain payments vs ln payments Feb 28, 2024
@SeverinAlexB SeverinAlexB changed the title LSPS1: Use a separate fee for onchain payments vs ln payments LSPS1: Use a separate fee for onchain vs ln payments Feb 28, 2024
@tnull
Copy link
Collaborator

tnull commented Feb 28, 2024

Makes sense to me, probably best to do it now.

@ErikDeSmedt
Copy link
Contributor

Having a separate fee for on-chain is a good idea.

If we change the spec I'd like to consider how we could include dual funding as a payment option.
The proposal is final and has been merged a 2 weeks ago.

@SeverinAlexB SeverinAlexB added this to the Finalize LSPS1 milestone Feb 29, 2024
@tnull
Copy link
Collaborator

tnull commented Jan 10, 2025

Closing this as this repository will be archived shortly. Please reopen on the bLIP repository if still relevant.

@tnull tnull closed this as completed Jan 10, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants