SwapDaemon / suite binaries). A swap either completes for both sides or refunds — no custodial middleman.
Guarantee
- Complete: both parties receive agreed assets
- Refund: both recover originals after timelock
Mechanism
Fuego uses adaptor signatures (and chain-specific clients) rather than only classical HTLCs on every chain. High-level flow:- Parties exchange adaptor / setup data
- Each locks or prepares chain-specific spend paths
- Completion reveals the secret material needed for the other leg
- Timeout → refund path
Protocol swap fee (live)
Charged twice per completed swap: 1% on initiation + 1% on claim = 2% total (Alice and Bob each pay 1%). Initiated from the SwapXFG TUI or the DeXFG tab in the Fuego-Wallet GUI.
Fee split (not 100% to CDs)
The split is versioned. Blocks before v11 settled 69 CD / 11 Bonus Vault / 20 Treasury and reorg replay keeps that split, so
SWAP_FEE_*_PRE_V11 still exists and pre-v11 blocks reverse correctly.
Counterparty chains charge only their own network/miner fees on top.
vs Hearth
These are the only two protocol earnings streams. The v11 mint premium (1% of each mint’s burn) is a haircut inside the burn that funds both AuntPoL legs — the withheld XFG is the XFG leg and the HEAT it buys is the HEAT leg — not revenue. The 0.1% CD creation fee is paid in XFG to the dev fund — also not protocol revenue.
Timeouts
If a counterparty stalls, wait for timelock then refund (refund / RPC). Watchdog logs are warnings only — you initiate refunds.

