🧠 Lightning experts of nostrverse 🧠
Is it possible to send sats from a lightning address to another lightning address in a way, that the fees are subtracted from the sent amount, and not counted as extra?
🧠 Lightning experts of nostrverse 🧠
Is it possible to send sats from a lightning address to another lightning address in a way, that the fees are subtracted from the sent amount, and not counted as extra?
you don't send from an address...
Thanks. I explained it badly. I tried to mean not from onchain to lightning (swap) but lightning to lightning
also in lightning you don't send from an address.
as a sender you're actually anonymous.
as a receiver you don't know where the payment originally came from, you only know it's last hop.
Don’t think so, because the fees are calculated on the fly and the sender can change hops. So the receiver can not calculate what he is receiving at the end
You can specify maximum fees, at least with Zeus and your own node. When doing rebalancing of channels you do just that to send from one channel and receive on the other.
It’s best just to charge a fixed fee that you expect to pay at a max and be done with it! 🐶🐾🫡
Hmm, and how about when you forward payments?
As I see, even when we pay to a lightning address, we create an invoice on the fly and pay that. When we pay an invoice, we pay that price, + the routing fee. This way who created the invoice will receive the amount fully.
But, if we have a node in the center, we create an invoice to that, we pay that + fees, then the node creates an invoice to the end address, then it pays. Is it possible from the nodes perspective to send all the received sats in a way that it includes the fees?
Anything that is acting as a proxy will have to pay the fees. Unless there is a direct channel between the node that acts as a proxy and a receiver’s node.
You can probably also do it one the fly, I think lnproxy does something like that! 🐶🐾🫡
Paying fees is not a problem. I use the channels, I have to pay.
I am only thinking if it is possible to send forward the received sats in a way, that the invoice + the fees add up to the original amount received. No remaining sats on the wallet.
Take a look at https://github.com/lnproxy/lnproxy ! Since I never had to do that, I can’t say for sure. Also, see how amboss is doing it for Magma. 🐶🐾🫡