Visualising how smart contracts update blockchain state using a minimal AMM — Let’s imagine deploying a decentralised exchange (DEX) like UniSwap, or one of its derivatives like SushiSwap. Or, better yet, the smart contract I built in Solidity following the fourth scaffold-eth challenge. It runs on the Ethereum virtual machine (EVM) but works similarly on compatible blockchains. dApps as backends