Loading video player...
This course will give you a full introduction into all the core concepts of Solidity and smart contract development, including contract structure, payable functions, hashing, time-based logic, events, modifiers, security best practices, Foundry scripting, full professional testing, and deploying to Ethereum testnets. Follow along with the videos and you’ll be building production-ready smart contracts in no time. In this project, we would be building SecretPay, a password-protected ETH escrow DApp where users can lock ETH behind a secret phrase. Only the correct password unlocks the funds, and if unclaimed before the deadline, the sender can take a refund. Perfect for beginners and developers moving into Web3. ⭐️ Course Contents ⭐ 00:00:00 - Introduction 00:02:51 - Writing Our First Contract 00:39:18 - Deploying Our First Contract 00:46:34 - Writing Our Second Contract 00:52:28 - Building The SecretPay Contract 01:42:24 - Creating The Transfer Function 02:15:23 - Creating The Claim Transfer Function 02:40:52 - Creating The Refund Transfer Function 02:48:05 - Deploying SecretPay Contract On Remix 03:17:43 - Introduction To Foundry 03:35:04 - Writing Deployment Script On Foundry 04:50:44 - Writing Tests 06:09:41 - Outro 🔐 Sponsored Segment - GoLogin The internet is full of geo-restrictions, tracking, and account bans. GoLogin solves this by giving you full control over your online identity. With GoLogin you can: - 🌍 Access blocked websites & content - 🕵️♂️ Stay private with anti-fingerprinting - 👥 Manage multiple accounts easily - 🤝 Work with teams without sharing passwords - ⚡ Get 2GB free residential proxies for fast & secure browsing 👉 Try GoLogin FREE with 2GB proxies: https://bit.ly/gologin_cwt Promo code: CWT 🧠 What You’ll Learn We’ll build a password-protected ETH escrow system where: - Senders create ETH transfers locked behind a password - Recipients must know the correct secret to claim the funds - If the deadline passes, the sender can refund their ETH - All logic is handled by a Solidity smart contract deployed to Ethereum Sepolia You’ll see how to: - Accept and send ETH using payable functions - Hash passwords securely with keccak256 - Use structs & mappings to model transfers - Work with block.timestamp for deadlines - Emit events to power real-world frontends - Apply security best practices (checks-effects-interactions, basic re-entrancy protection) ✅ Who This Video Is For - Developers who want to learn Solidity from scratch - Web2 devs switching into Web3 / smart contracts - Anyone who wants a portfolio-ready DeFi-style project - Beginners who want one complete workflow: Code → Deploy → Verify → Test 🔗 Useful Links 🔐 GoLogin - Take control of your online privacy! Try GoLogin for FREE and get 2GB of free residential proxies. Start now: https://bit.ly/gologin_cwt 💻 CWT Website: https://cwt.build 📦 Course Resources (Source Code): https://github.com/cwtofficial 🏷 Hashtags #solidity #blockchain #web3 #ethereum #dapp #smartcontracts #foundry #codewithty #gologin