Building a DeFi App: Code along
summary
Live code builds a mintable ERC20 with two decimals using OpenZeppelin in Remix + MetaMask, deploys a token shop wired to Chainlink Price Feeds on Sepolia so buyers send ETH and receive tokens priced in USD, and enforces minting via a minted-role. Automation funds upkeep with 5 LINK and runs at 60s interval to auto-mint 1 token per interval after granting the role. A VRF flow requests a random 1–10 amount and mints that many; initial runs succeed after adding the consumer and minter role.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 5:52Creating token with OpenZeppelin
- 15:30Deploy token and add to MetaMask
- 20:12Building token shop with Chainlink
- 33:00Grant minting permissions
- 42:27Buying tokens from shop
- 47:30Setting up token automation
- 1:01:18Configuring Chainlink Automation
- 1:15:38Creating token raffle with VRF
- 1:29:50Deploying and testing raffle
- 1:35:03Summary








