A crypto swap is the direct exchange of one cryptocurrency for another — through a centralised exchange's trading engine, a decentralised exchange's automated market maker (AMM), or a cross-chain bridge protocol. Swaps are the most fundamental DeFi action: the primitive from which lending, yield strategies, and arbitrage are built. SWAP ON A CENTRALISED EXCHANGE On Binance or CoinDCX, swapping ETH for SOL means: the exchange matches your order against the order book, takes a spread or fee, and credits SOL to your account. You don't interact with any blockchain directly — the exchange holds custody and handles all settlement internally. SWAP ON A DECENTRALISED EXCHANGE (AMM) DEX swaps use liquidity pools — smart contracts holding two tokens that anyone can trade against algorithmically. Uniswap's constant product formula (x × y = k) ensures the pool maintains equal value on both sides. When you swap ETH for USDC: your ETH enters the pool, USDC exits, price adjusts based on the new ratio. You receive slightly less than quoted due to price impact and the 0.3% pool fee going to liquidity providers. DEX AGGREGATORS DEX aggregators (1inch, Jupiter on Solana, CowSwap) route swaps across multiple pools to find optimal execution. A $100,000 ETH→USDC swap on a single pool causes significant price impact. An aggregator might split it across Uniswap V3, Curve, and Balancer — minimising slippage. CROSS-CHAIN SWAPS Moving assets between blockchains (ETH to Solana) requires a bridge. Bridges lock assets on the source chain and mint equivalent wrapped tokens on the destination. Bridge protocols: Stargate, LayerZero, Wormhole, Synapse. Cross-chain bridge security is critical — bridges have been sources of the largest crypto hacks ($600M Ronin Bridge, $320M Wormhole).