<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[0FEE]]></title><description><![CDATA[0FEE]]></description><link>https://0fee.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Fri, 04 Dec 2026 21:14:50 GMT</lastBuildDate><atom:link href="https://0fee.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[A 0% fee swap interface: where the fee would be charged, and why it never is]]></title><description><![CDATA[How a 0% platform fee swap interface is built: no integrator fee in the calldata, no custody, six EVM chains, and what it deliberately does not claim.]]></description><link>https://0fee.hashnode.dev/a-0-fee-swap-interface-where-the-fee-would-be-charged-and-why-it-never-is</link><guid isPermaLink="true">https://0fee.hashnode.dev/a-0-fee-swap-interface-where-the-fee-would-be-charged-and-why-it-never-is</guid><category><![CDATA[Web3]]></category><category><![CDATA[defi]]></category><category><![CDATA[Ethereum]]></category><category><![CDATA[Blockchain]]></category><dc:creator><![CDATA[0FEE]]></dc:creator><pubDate>Fri, 27 Nov 2026 18:57:36 GMT</pubDate><content:encoded><![CDATA[<p>Every swap interface sits between a wallet and a router. The interesting part of such an interface is not the chart or the token list. It is the calldata the user signs, and specifically whether that calldata contains a fee transfer.</p>
<p>Most interfaces answer that question the same way: they pass an integrator fee to the aggregator and take a cut of every route. That is a legitimate business model and it is easy to implement, because every major aggregator exposes a <code>feeRecipient</code> and a <code>feeBps</code> field for exactly this purpose.</p>
<p>0FEE takes the other branch. The aggregator is called with no fee parameter at all.</p>
<h2>The fee is a parameter, not a claim</h2>
<p>When a route is requested, the quote carries the fields that will be encoded into the transaction. If <code>feeRecipient</code> and <code>feeBps</code> are set, the swap contract settles a cut for that address inside the same transaction. If they are absent, there is no cut to settle: the input amount goes into the pool and the output amount comes back.</p>
<p>The interface builds its quote without those fields, so the transaction that leaves the page contains no fee transfer. The quote panel prints <code>Platform fee 0% (Free)</code> beside price impact and network cost, which is the same number the calldata shows rather than a marketing line on top of it.</p>
<p>The revenue model is a single sponsored placement on the page. One slot, sold once, shown to everyone. It does not scale with volume, and that is the point: the operator's income is decoupled from the user's trade size, so there is no incentive to route a trade somewhere worse in order to collect more.</p>
<h2>Custody is a non-goal</h2>
<p>There is no deposit, no account, no withdrawal, and no balance held by the site. A wallet connects through an injected browser wallet or a WalletConnect pairing QR, and every transaction is signed in that wallet. The interface is static files plus client-side routing logic; it runs no backend that could hold keys or queue withdrawals, so there is nothing to freeze and no account to close.</p>
<p>That changes what a user has to trust. Not "this team will not move my funds", but "there is no state at the interface that contains funds". The contracts a trade touches belong to third-party routers, pools and bridges. The security page lists every address the interface calls and says which of them are not ours.</p>
<h2>Cross-chain in one signature</h2>
<p>A cross-chain swap is where front-ends usually hand off to a bridge screen and ask for a second signature. Here the bridge call and the swap are composed into one route: the input is bridged, the output is swapped on the destination chain, and the wallet signs once.</p>
<p>The trade-off is honest and visible. A cross-chain route carries bridge risk, longer settlement, and a final amount that can move while the bridge is in flight. The interface shows the route's own estimate instead of pretending the number is fixed.</p>
<h2>Six chains, no allow-list server</h2>
<p>BNB Chain, Ethereum, Base, Arbitrum, Polygon and Optimism are supported from the same page. Any ERC-20 or BEP-20 token can be imported by contract address: the interface reads the symbol and decimals from the chain, so there is no server-side allow-list deciding which tokens exist and no listing request to file.</p>
<h2>What this design does not do</h2>
<ul>
<li>It is not a contract. The interface calls third-party routers, pools and bridges, holds no funds and owns no contracts, so there is nothing in it to audit beyond routing logic. The site's security page says plainly that no third-party audit exists.</li>
<li>It does not promise a price. Quotes come from live pool and bridge data and move with the market between quote and signature.</li>
<li>It does not need an application. There is no token allow-list to join and no issuer to ask.</li>
</ul>
<h2>Where to look</h2>
<ul>
<li>Interface: <a href="https://0feeswap.com">0feeswap.com</a></li>
<li>Docs repository: <a href="https://github.com/0feelabs/0feeswap-docs">github.com/0feelabs/0feeswap-docs</a></li>
<li>Contract list and terms: <a href="https://0feeswap.com/security/">0feeswap.com/security</a> and <a href="https://0feeswap.com/terms/">0feeswap.com/terms</a></li>
</ul>
<p>If you build a swap front-end, the question worth answering in public is the same one: does the calldata your interface produces contain a fee transfer, and to whom.</p>
]]></content:encoded></item></channel></rss>