⚠️ Important: If you're looking for the foundry-full-course or moccasin-full-course you can find them here:Foundry/Solidity: https://github.com/Cyfrin/foundry-full-course-cu
Moccasin/Vyper: https://github.com/Cyfrin/moccasin-full-course-cu
Learn about blockchains and smart contracts and get a career in Web3
Welcome to the repository for the Blockchain Basics Course!
This repository houses course resources and discussions for the course.
Please refer to this for an in-depth explanation of the content:
- Website - Join Cyfrin Updraft and enjoy 50+ hours of smart contract development courses
- Twitter - Stay updated with the latest course releases
- LinkedIn - Add Updraft to your learning experiences
- Discord - Join a community of 3000+ developers and auditors
- Newsletter - Weekly security research tips and resources to level up your career
- Codehawks - Smart contracts auditing competitions to help secure web3
Cyfrin Updraft Courses:
- Recommended Testnet: Sepolia
If you receive a flag pop-up requiring you to have 0.001 ETH on mainnet, you may be able to wait 10 to 20 minutes and try again to avoid adding the 0.001 ETH on the mainnet.
- Tenderly Virtual Signup: https://tenderly.co/?mtm_campaign=partner&mtm_kwd=cyfrin
- Main (Sepolia): Sepolia GCP Faucet
- Alchemy Faucet (Sepolia): https://sepoliafaucet.com/
- Infura Faucet (Sepolia): https://www.infura.io/faucet/sepolia
- Google (Sepolia): https://cloud.google.com/application/web3/faucet/ethereum/sepolia
- Chainlink Faucet (Sepolia): https://faucets.chain.link/sepolia
- No need for 0.001 ETH on mainnet
- ZKsync Faucets (ZKsync Sepolia): https://docs.zksync.io/build/tooling/network-faucets.html
- ZKsync Bridge: https://portal.zksync.io/bridge/
⚠️ All code associated with this course is for demo purposes only. They have not been audited and should not be considered production ready. Please use at your own risk.
- AI Frens
- ChatGPT
- Just know that it will often get things wrong, but it's very fast!
- Phind
- Like ChatGPT, but it searches the web
- Bard
- Other AI extensions
- ChatGPT
- Github Discussions
- Ask questions and chat about the course here!
- Stack Exchange Ethereum
- Great place for asking technical questions about Ethereum
- Peeranha
- Decentralized Stack Exchange!
- Cookbook
- A smart contract registry and co-pilot
- Demo site
- Understand why we should care about blockchains, how signatures work, how PoS blockchains work and practice using DeFi
- Cyfrin Tools
- Ethereum gas estimation, unit conversion, ABI encoding/decoding, and cryptographic hash tools
- Terminology
- Web3
- What is a blockchain
- Demo site
- Understand why we should care about blockchains
- Bitcoin Whitepaper
- Ethereum Whitepaper
- What is a Smart Contract?
- Nick Szabo
- University of Cambridge blockchain energy comparison
⌨️ The Purpose of Smart Contracts
- 🎥 Original Video
- 🦬 My ETH Denver Talk
- 🍔 McDonalds Scandal
- ⛓ More on the evolution of agreements
- ✍️ What is a Smart Contract?
- 🧱 How does a blockchain work?
- 🔮 Chainlink & Oracles
⌨️ Benefits of Smart Contracts
- Decentralized
- Transparency & Flexibility
- Speed & Efficiency
- Security & Immutability
- Counterparty Risk Removal
- Trust Minimized Agreements
⌨️ Metamask Wallet Walkthrough
⌨️ Sending Your First Transaction
- Tenderly Virtual Signup: https://tenderly.co/?mtm_campaign=partner&mtm_kwd=cyfrin
⌨️ Sending First Transaction on a Testnet
- Metamask Download Link
- Etherscan
- Sepolia Etherscan
- Sepolia Faucet (Check the link token contracts page)
- NOTE: The Chainlink documentation always has the most up to date faucets on their link token contracts page. If the faucet above is broken, check the chainlink documentation for the most up to date faucet.
- OR, use the Sepolia ETH Faucet, just be sure to swap your metamask to Sepolia!
⌨️ Blockchain Architecture Overview
- Demo site
- Understand why we should care about blockchains, how signatures work, how PoS blockchains work and practice using DeFi
- Summary
- Demo site
- Understand why we should care about blockchains, how signatures work, how PoS blockchains work and practice using DeFi
- Block Rewards
- Advanced Gas
- EIP 1559
- GWEI, WEI, and ETH
- Run Your Own Ethereum Node
- Cyfrin Tools
- Ethereum gas estimation, unit conversion, ABI encoding/decoding, and cryptographic hash tools
⌨️ The Lifecycle of a Transaction
⌨️ Blockchain Use Cases Overview
⌨️ Centralized vs Decentralized Exchanges
⌨️ Making Your First Transaction on ZKsync
⌨️ Why ZKsync is Our Recommended Chain
(back to top) ⬆️
⭐️ Learn Solidity & Smart Contract Development
💻 Code: https://github.com/cyfrin/remix-simple-storage-cu
Transparency is important! So we want to disclose any potential conflicts that might have affected my judgement so you can pick tools that are right for you. Patrick is co-founder of Alpha Chain, a blockchain infrastructure company. Alpha Chain runs Chainlink, Ethereum, Binance, Polygon, Harmony, Solana, Moonbeam, and Moonriver blockchain services. Alpha Chain often works with Alchemy and receives discounted services. Patrick is the co-founder of Cyfrin, and they do smart contract security & auditing services. Patrick is also the co-founder of Chain Accel, who is an advisor on the Peeranha project.
Because of all this, I have added alternatives to each section where we suggest a tool.
(back to top) ⬆️
A huge thank you to our sponsors. These are the groups and technologies
- Matter Labs (ZKsync)
- Arbitrum Foundation
- Chainlink Labs
- Tenderly
- Uniswap
- BadgerDAO
- Optimism RPGF Round 3
(back to top) ⬆️
Thanks to everyone who is taking, participating in, and working on this course. It's been a passion project and a data dump of everything I've learnt in the web3 space to get you up to speed quickly. Also, a big thank you to Cyfrin & Chain Accel for encouraging this course to come to light, and many, many, many people from the community.
And thanks to the Cyfrin team for making this possible!
Cyfrin Updraft content is open-sourced licensed as GPLv3.
(back to top) ⬆️

