The anti-spam deposit mechanism in eigenwallet (formerly UnstoppableSwap) solves a critical vulnerability inherent to non-custodial BTC to XMR atomic swaps: asymmetric free-option and griefing attacks against market makers.
The Problem It Solves
Because Monero lacks native smart-contract timelocks, the protocol requires the Maker to lock XMR first after watching the Taker lock BTC.
Without an anti-spam deposit, a malicious Taker (or a competing market maker) could lock up a Maker’s Monero liquidity for hours at virtually zero cost. The attacker could simply abandon or force-refund the trade whenever:
The price shifted unfavorably during the swap execution (using atomic swaps as a free option).
They wanted to launch a Denial-of-Service (DoS) attack to drain the Maker's available capital pool and disrupt their service.
How the Anti-Spam Deposit Works
When selecting an offer, a Maker can set an anti-spam lock ratio (typically ~2% to 5% of the swap value).

Trade Commitment & Selection: The Taker selects an offer displaying an anti-spam ratio (e.g., 2% deposit = guaranteed 98% instant refund floor).
Normal / Successful Swap (Zero Cost): If the swap completes as intended, the Taker gets 100% of their Monero, the Maker redeems 100% of the locked Bitcoin, and no deposit is forfeited.
Partial Refund on Stalled Swaps: If a swap fails or is aborted by the Taker, the initial refund transaction returns only the bulk balance (e.g., 95%–98% of the deposited BTC) back to the Taker immediately. The remaining 2%–5% stays temporarily locked.
Maker Discretion (Release vs. Withhold):
Honest Takers (Release): After a short timelock (typically ~30 minutes), the Maker releases the remaining deposit back to the Taker if the failure was caused by unintended connectivity loss or network delays.
Griefers (Withheld/Burned): If the Maker detects malicious behavior or price manipulation, the Maker can choose to withhold the deposit.
Crucial Security Invariant: Non-Profit for Makers
A critical aspect of the eigenwallet anti-spam mechanism is that the Maker receives $0 from a withheld deposit.
Withheld funds remain locked in an unspendable Bitcoin script path (effectively burning or permanently locking the collateral).
Why this matters: Because the Maker cannot profit from a canceled swap, they have no financial incentive to maliciously cause swaps to fail just to steal the Taker's deposit. It serves purely as a deterrent against griefer spam.