An Introduction to Smart Contracts
summary
Overview of Ethereum smart contracts with a concrete Solidity bank example that stores balances, uses the payable keyword to accept funds, and exposes a withdraw that forgets to deduct balance before sending funds. Demonstrates the re-entrancy exploit that allowed the DAO loss (~$60 million) and shows the practical fix: call order matters — require checks and state updates must precede external transfers. Mentions alternatives to Solidity and ongoing safer-language efforts.
AI-written summary · about
chapters (9)
- 0:00Introduction and welcome
- 2:43What is blockchain
- 5:56Ethereum and smart contracts
- 10:15Smart contract basics
- 11:42Solidity introduction
- 16:45Security flaws in Solidity
- 21:50Reentrancy attack explained
- 22:34Future of smart contract languages
- 23:16Q&A and closing
related talks
51mBlockchain and smart contracts (...)
20mLearning How to Build Secure Smart Contracts
50mBlockchain and Smart contracts
12mSmart Contract Security
25mCommSec D2 - Smart Contract (In)Security
47mSolidity for Beginners
49mHacked Blockchain Projects What we’ve learned
51mA Deal with the Devil: Breaking Smart Contracts
