Ten Solidity portfolio projects, what each one proves to the person reviewing it, and how to extend them into work that is yours. A free, build-first path from your first NFT to a ZK voting dApp.
Solidity Tutorials and Guides
Start your journey with our comprehensive Solidity tutorials and guides. Whether you're new to blockchain development or looking to advance your smart contract skills, these resources will help you learn Solidity programming, understand Ethereum, and build secure decentralized applications.
Austin Griffith builds and ships a full Ethereum app in eight minutes: scaffold the project, write the contract, wire up the frontend with Scaffold-ETH 2 hooks and components, then deploy to Base. Full video and timestamped transcript.
Build a working decentralized exchange in Solidity: constant-product pricing with a 0.3% fee, ETH/token swaps, and liquidity deposits, using Scaffold-ETH 2 from install to testnet.
A practical workflow for building Ethereum dApps with AI: specs, Scaffold-ETH 2, smart contracts, frontend, security review, deployment, and launch.
Austin Griffith's Columbia University guest lecture on where AI agents and Ethereum meet: the x402 payment standard with a working client, server and facilitator, the ERC-8004 agent registry, and a full Scaffold-ETH 2 build deployed to Arbitrum. Full video and edited transcript.
Developer guide to ERC4626 vaults: core functions, key risks (inflation, reentrancy, oracle), and secure fees, caps, queues with Solidity examples.
Step-by-step guide to register an ENS address (.eth), secure your Web3 identity, and set an ENS avatar. Covers pricing, commitβreveal, reverse resolution, and best practices.
Master blockchain game security with this comprehensive tutorial to smart contract vulnerabilities, randomness exploits, and defense patterns. Includes Solidity examples and real-world attack scenarios for Web3 developers.
Learn why block.timestamp and blockhash fail for randomness in Solidity. Master Chainlink VRF and commit-reveal schemes to build provably fair smart contracts and secure blockchain games.
Learn to implement Chainlink VRF v2 in Solidity smart contracts for provably fair randomness. Complete guide with code examples, security patterns, and best practices for Web3 developers.
Learn how to implement the commit-reveal scheme in Solidity to prevent front-running attacks in blockchain games. Complete guide with code examples, security best practices, and real-world applications.
Austin Griffith and Elliot Friedman take a counter contract from an empty folder to a live deployment on Arbitrum: scaffold, tinker locally, fund a deployer, deploy for a fraction of a cent, then bridging, the address table precompile, and forced transactions. Full video and edited transcript.
How AMMs like Uniswap work: constant product formula (x*y=k), price impact, impermanent loss, and Solidity code. Essential for DeFi traders, LPs, and smart contract devs.
Dive into real-world flash loan exploits like PancakeBunny & Cream Finance. Learn defensive Solidity patterns like TWAP oracles and reentrancy guards to prevent DEX hacks.
Learn to mitigate front-running and MEV attacks on your DEX. This guide covers key strategies, Solidity examples, and a checklist for developers.
Learn everything about impermanent loss in DeFi. Understand the formula, see real-world examples, and discover key strategies to protect your crypto assets as a liquidity provider.
A concise, developer-focused guide to the ERC20 approve pattern. Learn how token allowances work, common pitfalls, and best practices for secure dApp development and user safety. Includes Solidity examples and actionable tips.
Step-by-step guide to creating your own ERC20 token in Solidity. Learn the standard, write the contract, and deploy to Ethereum. Includes code, security tips, and best practices.
Austin Griffith walks through the anatomy of a full-stack Ethereum app at Devcon SEA: the two packages, the local chain, the tinker loop, and the Speedrun Ethereum curriculum that builds on it. Full video and edited transcript.
A developer-focused guide to bonding curves and dynamic token pricing in Solidity. Learn the math, use cases, and best practices for implementing bonding curves in your dApps. Includes Solidity code and real-world examples.
A practical guide to Solidity contract-to-contract interactions. Learn how contracts call each other, handle errors, and manage security. Includes code patterns, pitfalls, and best practices.
A developer's guide to sustainable ERC20 token supply models. Explore inflation, deflation, capped supply, and dynamic mechanisms for robust tokenomics. Includes Solidity examples and real-world case studies.
Staked your ETH but miss using its value in DeFi? Discover Liquid Staking Tokens (LSTs)! This guide explains how LSTs like stETH and rETH work, the difference between rebasing and reward-bearing tokens, and their impact on DeFi. Essential for Solidity devs exploring advanced staking.
Master scalable Solidity staking with O(1) reward distribution. This guide details gas-efficient techniques using per-token accumulated values for fair, low-cost DeFi rewards, perfect for optimizing your smart contracts.
High APYs are just the start. Learn to engineer advanced tokenomics for your staking protocol focusing on intrinsic utility, smart supply dynamics, and aligned incentives for long-term value and sustainability. A guide for Web3 developers.
Go beyond basic staking! Learn to implement time-weighted rewards to incentivize long-term stakers and dynamic APYs that respond to market conditions in your Solidity contracts. A practical guide for Web3 devs aiming for fairer and more sustainable tokenomics.
A comparison guide for choosing between ERC721 and ERC1155 NFT standards. Understand the key differences, use cases, and decision factors to select the best standard for your project.
A comprehensive technical guide for developers on the ERC721 NFT standard: metadata, tokenURI management, OpenZeppelin usage, and best practices for building robust, marketplace-ready NFTs.
Explore the real-world applications of NFTs in Web3, from gaming and virtual real estate to ticketing, IP protection, and loyalty programs. See how NFTs are transforming industries beyond art.
Discover the top security best practices for NFT smart contracts in Solidity. Learn how to avoid common vulnerabilities, use OpenZeppelin, and audit your ERC721 contracts for real-world deployment.
Austin Griffith deliberately ships a front-runnable commit-reveal contract to mainnet to find out whether MEV bots are watching. Optimism ignores it. Ethereum mainnet takes the money in one block. Full video and edited transcript.