Web3 Bootcamp
Beyond Bitcoin
Agenda
Lecture 1
Activity 1: Setting up a MetaMask wallet
Lecture 2
Activity 2: Using your wallet
Lecture 1
Byzantine Generals Problem Review
Decentralized Systems can’t agree on on a single common truth
Byzantine Generals Problem Review
Blockchain Solves the “Byzantine General Problem!”
Decentralized Systems can’t agree on on a single common truth
Introduction to Bitcoin
Bitcoin Was the first Blockchain to Solve the Byzantine Generals Problem
Decentralized Systems can’t agree on on a single common truth
Bitcoin Was the first Blockchain to Solve the Byzantine Generals Problem
Decentralized Systems can now agree on on a single common truth
Bitcoin History and Terminology
The Bitcoin whitepaper was published on October 28, 2008 by Satoshi Nakamoto.
A whitepaper is “a document released by developers that explains the technology and purpose of the project they are working on”.
Title of the whitepaper: “Bitcoin: A Peer-to-Peer Electronic Cash System”.
Bitcoin: A Peer-to-Peer Electronic Cash System
Unlocks the ability to conduct financial transactions without a middleman.
Bitcoin: A Peer-to-Peer Electronic Cash System
Example: Alice wants to pay Bob $10
Alice
Traditional
Bitcoin: Peer-to-Peer
Bob
Middleman
$10
$10
$10
Limitations of Bitcoin
Bitcoin’s sole use is to transfer value electronically.
What if we want to use the power of decentralization to create other applications?
Two options:
Intro to Ethereum
History
Following Bitcoin, many wanted to create more use cases for blockchain.
The popular approach at the time was to create an application specific blockchain.
This would be like creating a new App Store anytime you wanted to create a new App.
Gaming
Transportation
Social Media
History
In 2014, Vitalik Buterin published a whitepaper for Ethereum: A Next-Generation Smart Contract and Decentralized Application Platform.
Vitalik’s idea was to create a tool for anyone to easily create a new decentralized application.
On July 30, 2015, the Ethereum network was officially launched.
Smart Contracts
The key innovation of Ethereum is smart contracts.
A Smart Contract is a program on a blockchain that executes when certain preconditions are met.
Allow users to automate agreements rather than using a centralized intermediary.
Simple Smart Contract - Insurance
Alice wants to purchase fire insurance for her house, so she asks her friend Bob if they can enter into an insurance agreement.
Alice
Bob
$100
$100,000
Odds of Fire = 1000 - 1
Simple Smart Contract - Insurance
If Alice’s house has a fire within a year, the fire department will submit a transaction to the contract and Alice will be paid the money in the contract.
Alice
Bob
$100,100
“Fire has occurred.”
Simple Smart Contract - Insurance
But, if one year goes by and the fire department has not submitted a transaction, Bob receives the money.
Alice
Bob
$100,100
Smart Contract Benefits
Ethereum Competitors
Demo Time!
Create a MetaMask wallet.
Lecture 2
Wallets
Internet 🡪 Browsers
Blockchains 🡪 Wallets
Wallets enable users to interact with blockchains the applications built on top of them.
There are many different wallets for different blockchains, but MetaMask is the most universally used.
Network
Address
Balance
Components of an Ethereum Transaction
Gas
Ethereum is essentially a world computer: anyone can write and execute programs on it.
How do we make sure that no one is hogging the network power? Gas!
Users must pay to perform computations and run programs on the network. They do this by paying gas.
Gas
If you don’t pay enough gas in your transaction, your transaction will fail.
Gas Examples:
Current gas price = [fill in here]
The average Eth transaction costs [fill in here].
Demo Time!
Send a transaction using your MetaMask wallet.