You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's not possible to reason about the fees of an transacation when we do not yet
know it's inputs, and fees in coinjoins are a quite important subject.
An other point to consider about the fees is the 'peeling effect':
if if an user want to coinjoin several time the same coin, it will
"peel" it by paying fee and it's impossible to keep a coin w/ a stable denomination,
making hard to have standard denomination pools ala samourai.
One solution can be to have some fee providers that will accept payment for the fees
via lightning or liquid and will add 1 input to the psbt.
Fee provider
One solution of fee provider can be:
The fee provider run an nostr relay
Peer have a (custodial) 'account' at the fee provider, using ecash/ln/liquid/ or whatever you
want
Fees are never payed by peers in the coinjoined input/outputs in order to keep rounded
denomination values.
Instead of creating a toxic change, the amount delta can be used to found an additionnal
output that go to the fee provider (minus the tx fee that will be deducted from peer
"account").
if there is no tx funding the fee provider, the provider will add an input that cover the
tx fees.
only one fee provider per pool, so all output funding the provider account can be
aggregated or only 1 input pay for fees.
peers can join a pool w/ an "i dont want pay fee" flag so ppl who want to have a quick
coinjoin or ready to pay for others fee can cherry pick those inputs.
The text was updated successfully, but these errors were encountered:
About fee calculation:
It's not possible to reason about the fees of an transacation when we do not yet
know it's inputs, and fees in coinjoins are a quite important subject.
An other point to consider about the fees is the 'peeling effect':
if if an user want to coinjoin several time the same coin, it will
"peel" it by paying fee and it's impossible to keep a coin w/ a stable denomination,
making hard to have standard denomination pools ala samourai.
One solution can be to have some fee providers that will accept payment for the fees
via lightning or liquid and will add 1 input to the psbt.
Fee provider
One solution of fee provider can be:
want
denomination values.
output that go to the fee provider (minus the tx fee that will be deducted from peer
"account").
tx fees.
aggregated or only 1 input pay for fees.
coinjoin or ready to pay for others fee can cherry pick those inputs.
The text was updated successfully, but these errors were encountered: