# Deploying a DEX I Austin Griffith

- Speakers: [Austin Griffith](https://streameth.org/speakers/austin-griffith)
- Channel: [ETHGlobal](https://streameth.org/ethglobal)
- Date: 2025-11-09
- Duration: 31:57
- Topics: Scaffold-ETH, Speedrun Ethereum, Build Guild, DEX, Arbitrum, Layer 2, IPFS, smart contracts, liquidity pools, x*y=k, constant product, AMM, staking, token vendor, NFTs, credentials, DAO, incentives, hyperstructures, DeFi, overcollateralized lending, stablecoin, prediction market, Ethereum development, decentralized finance, onchain apps
- Watch: https://streameth.org/watch/yt-8-EGmURPFts
- YouTube: https://www.youtube.com/watch?v=8-EGmURPFts

## Description

Austin Griffith continues his Ethereum building series by showing how to deploy a decentralized exchange (DEX) using Scaffold-ETH and the Speedrun Ethereum curriculum. He begins by revisiting the simple counter app from the previous session, deploying it to Arbitrum, and explaining why developers should move beyond testnets to use inexpensive Layer 2s for real deployments. After configuring Scaffold-ETH to point to Arbitrum, he connects a wallet, interacts with the live contract, and emphasizes publishing both the smart contract and frontend to IPFS. Austin then introduces the concept of scaling from simple apps to real-world use cases by following Speedrun Ethereum challenges—covering NFTs, staking systems, token vendors, games, and eventually, DEXs.

He walks through the logic behind building decentralized systems where users don’t have to trust intermediaries. Starting with staking and token sales, he explains how incentives and state machines create autonomous coordination among users. The talk culminates with the DEX concept, describing how liquidity pools and constant-product equations (x*y=k) enable trustless token swaps. Liquidity providers earn small fees while users trade freely, and developers act as the “hardware builders” creating these hyperstructures that can’t be censored or shut down. He closes by connecting DEXs to broader DeFi concepts like overcollateralized lending and stablecoins, showing how these building blocks power the next level of onchain finance.

00:00 – Recap: deploying the first app
00:37 – Reviewing the local counter app
00:59 – Deploying to Arbitrum
02:19 – Why to skip testnets and use L2s
02:58 – Switching Scaffold-ETH to live networks
03:28 – Interacting with deployed contracts
03:52 – Introduction to Speedrun Ethereum challenges
04:39 – Building multiple projects for experience
05:23 – Real-world onchain use cases
06:09 – Canonical records and attestations
07:01 – NFTs as credentials and token gating
07:52 – Staking app for coordination and trustless DAOs
08:56 – The state machine pattern in smart contracts
11:10 – Incentives and automation in DeFi design
12:19 – Handling failure and refunds securely
13:46 – Token vendor and ICO mechanics
14:38 – Onchain games, randomness, and commit-reveal
17:14 – The DEX as a hyperstructure
18:47 – From order books to automated market makers
19:32 – Liquidity reserves and the constant-product formula
20:22 – Incentives for liquidity providers
21:17 – How DEXs enable trustless swapping
21:55 – Developers as hardware builders
22:22 – Build Guild onboarding and developer growth
23:04 – Scaling through mainnet and L2 deployments
24:08 – Intro to overcollateralized lending and DeFi concepts
31:32 – Closing remarks and next sessions preview

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _  

🇮🇳 *ETHGlobal New Delhi*
This workshop is specifically for ETHGlobal New Delhi, a 3-day hackathon held September 19-21 at the India International Convention & Expo Centre, bringing together the most skilled web3 developers, designers and product builders from all around the globe for a weekend-long adventure to advance the Ethereum ecosystem! Watch the full ETHGlobal New Delhi 2025 playlist here: https://www.youtube.com/playlist?list=PLXzKMXK2aHh7zCFW3hBqatZ18rQaYeEJL
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _  

✅ *Follow BuidlGuidl*
X: https://x.com/buidlguidl

✅ *Follow ETHGlobal*
X: https://x.com/ETHGlobal​
Warpcast: https://warpcast.com/ethglobal
Website: https://ethglobal.com
YouTube: https://www.youtube.com/c/ETHGlobal 

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _  

_Are you interested in Ethereum development and entrepreneurship?_
👉 Sign up for the next ETHGlobal event: https://ethglobal.com/events
🎁 Get exclusive access and perks with ETHGlobal Plus! https://ethglobal.com/plus
📣 Want us to throw an event in your city? Tell us where! https://ethglobal.com/city
