📄

Fee structure

This page explains how much is Tiramisu wallet charging in fees and what is the reasoning behind the fees.
On chain fee is set by operators of Tiramisu manually so that on-chain operations complete in one block.

Exchange fee

Exchange fee is charged for every exchange operation that a user makes on Tiramisu be it an LP sale / purchase or a listing sale or purchase. The fee is always incurred by the person who initiated the operation.
Fees on exchange operations are used to compensate the owner/minter or the coin that is exchanged as well as limit the number of transactions that happen on Tiramisu.
Here is the formula that is used:
fee = (max(3, 0.03 * amount)) SAT
The amount is rounded down.
For example a fee for an exchange of 5 AC at a rate of 5000 SATs / AC would be (max(3, 0.03 * amount)) = (max(3, 0.03 * 5 * 5000)) = 750 SAT
A fee for an exchange of 30 Maxi at a rate of 0.03 SATs / Maxi would be (max(3, 0.03 * 30 * 0.03)) = 3 SAT

Withdrawal fee

Every time a user withdraws funds from Tiramisu they are charged a fee. The fee is intended to compensate Tiramisu for the onchain transaction fee as well as other operations required such as lightning channel opening and closing costs.
This is a fee charged after a Bitcoin onchain withdrawal. The fee is calculated as follows:
fee = (max(20, 0.005 * amount) + onchain_fee) SAT
This is a fee charged after a Bitcoin lightning withdrawal. The fee is calculated as follows:
fee = (max(20, 0.005 * amount) + onchain_fee) SAT
This is a fee charged after a taproot asses onchain withdrawal. The fee is calculated as follows:
fee = (max(10, 2 * onchain_fee)) SAT

Minting fee

Minting fee pays for onchain fees associated with minting and the logistics associated with moving those funds.
fee = 2 * onchain_fee SAT
In bulk NFT minting fee is divided among multiple assets that were minted using the following formula.
fee = (2 * onchain_fee / (#NFTs) + 1) SAT / NFT