Why Nostr? What is Njump?
2025-05-04 07:58:50
in reply to

gandlaf21 on Nostr: there are 2 different type of fees in cashu: 1. Is the lightning fee. It is hard to ...

there are 2 different type of fees in cashu:

1. Is the lightning fee. It is hard to predict the actual fee before completing the payment, which is why the protocol uses a `fee reserve`, like a max fee your wallet will allow to be paid. If not all of the fee reserve is used for the lightning payment, the mint will issue fresh ecash to you for the reserve/actual delta

2. Mints can optionally charge fees for swaps. Not all mints charge fees, since it's currently being used as mainly a spam prevention mechanism. To understand swap ecash fees, you have to know when a swap happens:

- You want to make a payment, but don't have the coin denominations that add up to the amount you want to send
- You want to receive a token (burn the senders ecash)

So if you send a token, that doesn't need to be swapped (you have the exact change) as a sender you have no fees. The receiver however will have to pay the fee to perform the swap.

Receiving always requires a swap, since that is the double spending prevention mechanism
Author Public Key
npub1cj6ndx5akfazux7f0vjl4fyx9k0ulf682p437fe03a9ndwqjm0tqj886t6