ThePathMark
Nº 20 Field notes

I thought a DEX swap was just Buy with extra steps.

What actually happens when you swap on a decentralized exchange — the double popup, the slippage number I ignored, and the gas fee on a trade that failed anyway.

The short version
  • A DEX (decentralized exchange) lets you trade one token for another through smart contracts — no account signup, but you pay gas and sign every step yourself.
  • Most beginner swaps use an AMM (automated market maker): a pool of two tokens, and a formula that sets the price based on how much is in each side.
  • The usual flow is connect wallet → approve the token you're selling → confirm the swap. Two or three wallet popups, not one.
  • Slippage is how much worse a price you'll accept if the pool moves while your transaction is pending — too loose and you can get a bad fill; too tight and the swap may fail.
  • Fake swap sites copy real interfaces. Bookmark official URLs, check the token contract address, and start with a tiny test amount.

I had bought crypto on an app. Tap amount, tap Buy, done. So when someone said “just swap on Uniswap,” I assumed the same thing with a wallet attached. Wrong. A DEX swap is you signing instructions to a smart contract that pulls one token from your wallet and sends another back — with gas on every step, a permission popup you only see the first time, and a slippage setting I did not know was a dial I was turning.

01

Two buttons, not one

The site looked familiar. Green swap button. Friendly charts. I connected my wallet — that part felt modern and cool.

Then MetaMask asked me to approve USDC. Not swap. Approve. I clicked through because I wanted the swap. The approval was a standing permission for a contract I had not read to move my stablecoins. I learned later that is normal — see Token approvals — but nobody framed it as step one of two.

The swap button was not the trade. It was a request for the trade. The trade happened on-chain after I paid gas twice.

Second popup: the actual swap. Gas fee: about four dollars. Trade size: twelve dollars of USDC into ETH. I did the math, felt ridiculous, and confirmed anyway. Education has a cover charge.

02

Slippage — the number I did not understand

The interface showed 0.5% slippage in small grey text. I ignored it. Later, on a thinner pool for a newer token, the same default failed three times. Each failure still charged gas — about a dollar fifty a pop on that L2. Annoying on principle. Expensive when you are learning.

Slippage is the wiggle room you give the pool. Price moves while your transaction waits in line; if it moves more than your tolerance, the contract aborts. Too tight: failures. Too loose: you might accept a much worse price than the screen showed.

I now read minimum received before I sign. Not the headline output — the floor.

03

The pool ate more than the fee

My second experiment was swapping into a small-cap token on a quiet pool. Gas was cheap. Price impact was not. The interface warned me at 8%. I thought that was a legal disclaimer. It was arithmetic. My own trade size moved the pool because almost nobody else was in it.

I received noticeably less than the preview suggested even though the transaction succeeded. No hack. No bug. Just thin liquidity — not enough tokens sitting in the vault to absorb my order without moving the price.

That was the moment I understood AMMs are not magic matching engines. You are leaning on a puddle, not an ocean.

04

The risk that could have been worse

A week later someone sent me a “faster Uniswap” link in a reply thread. The site was a pixel-perfect copy. I almost approved unlimited USDC before the URL registered — uni-swap with a hyphen, not the real domain I had bookmarked.

I closed the tab. Nothing lost. That was luck plus paranoia, not skill.

Fake swap frontends are among the most common wallet drains. They do not need your seed phrase. They need one careless approval. After my real first swap, I started typing URLs myself and revoking old permissions on quiet Sundays.

05

How I swap now

Small size on chains where gas is cents, not dollars. Bookmarked sites only. Exact approvals when the app offers them. Default slippage unless the UI complains. One test swap before anything that would sting.

It is slower than clicking Buy on my phone. It is also the front door to everything else in DeFi — lend, stake, farm — same rhythm, different contract.

Prefer the reference version? Read How to swap on a DEX for the full checklist without my tuition bills.

⚑ One honest flag

I still swap on DEXs when I need on-chain assets. I just stopped treating it like a checkout button. Every confirm is a wire transfer with no recall — dress accordingly.

The first swap did not make me a trader. It made me read popups. Boring superpower. Useful one.

If this cleared something up, you can buy me a coffee — or say hi on X.

← All field notes