This is a collection of practical dApps projects, containing complete architecture and core functionalities that mature full-stack dApps should have, including Speedrun Ethereum challenge content and my own solutions. Primarily developed using the Scaffold full-stack architecture.
Currently uploaded dApps and their brief descriptions:
-
01_MetaMaskConnector: The most basic dApp example introduction. Can connect to MetaMask wallet and display token balance.
-
02_SpeedrunNTF: Complete NFT dApp architecture, from contract deployment to frontend demonstration, and NFT minting.
-
03_SpeedrunDeFiStaking: DeFi architecture demonstration, showing how to stake, deposit, withdraw, and listen to transaction events.
-
04-speedrun-token-vendor: ERC20 token vending machine, demonstrating token buying/selling and listening to transaction events.
-
05-speedrun-dice-game: Dice rolling gambling game, players can win prizes by guessing correctly, while tracking betting history events for each challenger.
-
06-speedrun-dex: Build a DEX providing exchange between ETH and ERC20 tokens. Order-book free and counterparty-free, with always available liquidity.
-
07-scaffold-prices-getter: Provides a get prices page where you can query real-time price information for BTC and ETH.
-
08-au-blockexplorer: Self-built full-stack dApp Ethereum blockchain explorer.
-
09-sa-ens-searcher: ENS (Ethereum Name Service) searcher tool built with Scaffold-Alchemy. Features ENS name resolution, reverse address lookup, user information display, and ENS avatar loading.
-
10-se2-ops-pinata-message-board: IPFS decentralized message board built with Scaffold-ETH 2. Combines blockchain smart contracts with IPFS distributed storage for a decentralized messaging platform with real-time updates, and censorship resistance.
-
11-speedrun-prediciton-markets: Complete on-chain prediction market dApp where users can bet on event outcomes. Features ERC20 outcome tokens, AMM-based trading with dynamic pricing, oracle-based result reporting, and liquidity provision mechanics. Includes buy/sell trading, token redemption, and explores the fundamentals of decentralized prediction markets.
-
12-speedrun-zk-voting: Anonymous voting system powered by zero-knowledge proofs using Noir circuits. Ensures complete voter privacy while preventing double voting through nullifier mechanisms and Merkle tree verification. Features Poseidon hash-based commitments, on-chain proof verification with Barretenberg, and demonstrates advanced cryptographic primitives for privacy-preserving dApps.
- Node.js (>= v18.18)
- Yarn (v1 or v2+)
- Git
- Scaffold-Eth-2:
npx create-eth@latest
- Scaffold Alchemy:
npx create-web3-dapp@latest