�BLOCKCHAIN SECURITY���Session 02
Dr. Christian Seifert
Twitter: @cseifert
Telegram: christian_forta
Discord: � Christian | Forta#0582
Outline
Page 2
EARLY DIGITAL PAYMENTS
The rise of computers and the internet changed the way money works forever
1955 – Bank of America unveils the ERMA computer for check processing, reducing processing time by 80%
1973 – Visa first digitizes credit cards, reducing processing time to less than 1 minute
1990 – Tim Berners-Lee creates the world’s first-ever website
1994 – Pizza Hut starts accepting order payments online
1996 – OP Financial Group becomes one of the first online banks
1997 – Coca-Cola starts offering the first mobile payments using text
Today, electronic payments make up two-thirds of all non-cash payments.
The wiring in an ERMA machine
First e-commerce payments
Slide Credit: “Michael Lewellen, Blockchain Education Course, Tarski Technologies, LLC”
ORIGINS OF BITCOIN
Page 4
Cypherpunks
Advocating online freedom & privacy
Early attempts at e-money
Digital cash pioneers before Bitcoin
Building blocks for Bitcoin
Technologies later used in Bitcoin
Economist, Milton Friedman
John Gilmore, early cypherpunk participant
Slide Credit: “Michael Lewellen, Blockchain Education Course, Tarski Technologies, LLC”
BYZANTINE GENERALS PROBLEM
The Byzantine Generals Problem is a game theory problem, which describes the difficulty decentralized parties have in arriving at consensus without relying on a trusted central party. In a network where no member can verify the identity of other members, how can members collectively agree on a certain truth?
The game theory analogy behind the Byzantine Generals Problem is that several generals are besieging Byzantium. They have surrounded the city, but they must collectively decide when to attack. If all generals attack at the same time, they will win, but if they attack at different times, they will lose. The generals have no secure communication channels with one another because any messages they send or receive may have been intercepted or deceptively sent by Byzantium’s defenders. How can the generals organize to attack at the same time?
Page 5
https://river.com/learn/what-is-the-byzantine-generals-problem
BITCOIN WHITE PAPER
On 31 October 2008, a paper authored by Satoshi Nakamoto was posted to a cryptography mailing list titled: “Bitcoin: A Peer-to-Peer Electronic Cash System” �Satoshi cited both Hashcash and B-Money in the paper.
In short, the Whitepaper proposed a digital cash solution with:
Page 6
Slide Credit: “Michael Lewellen, Blockchain Education Course, Tarski Technologies, LLC”
APPLY(S,TX) -> S’ or Error
Use Cases:
WHAT IS IT?
Page 7
Bitcoin is distributed, secure, immutable ledgers where participants are inherently not trusted
Sender | Recipient | Amount |
| John | 1 BTC |
John | Christian | 0.1 BTC |
John | Dani | 0.25 BTC |
Account | Balance |
John | 0.65 BTC |
Christian | 0.1 BTC |
Dani | 0.25 BTC |
BLOCKCHAIN PROPERTIES
Page 8
Immutable
Transactions can’t be tampered with
Verifiable
Transaction rules are guaranteed
Decentralized
No single point of failure
Slide Credit: “Michael Lewellen, Blockchain Education Course, Tarski Technologies, LLC”
MINING
Page 9
BLOCK1
HASH XYZ�TX1�TX2
BLOCK1
HASH ABC
PHASH XYZ�TX3�TX4
BLOCK1
HASH DDD
PHASH ABC�TX5�TX6
Network Nodes and Miners
�
Cryptographic Puzzle Solution
�
Sha256 ( )Starts with X 0s
�
PHash
+
Nonce
�
Sha256 ( )= 00000837361d1b1…. db61
�
ABC
+
“182”�
Miner receives 6.25 BTC (approx. 125K USD) as a reward
How does this prevent double spending?
MEMPOOL
Page 10
BITCOIN HASHING POWER
Page 11
BITCOIN Creation and early usage
Nakamoto released the Bitcoin software as open-source code in January 2009
On January 3rd, 2009, the bitcoin network was created when Nakamoto mined the first block of the chain, known as the genesis block.
Early Bitcoin users included Hal Finney, Wei Dai, and Nick Szabo.
On May 21st, 2010, the first commercial transaction with Bitcoin occurred when Laszlo Hanyecz bought two Papa John's pizzas for ₿10,000.
Nakamoto disappeared in 2010, handing control over to Gavin Anderson . Gavin would later serve as Lead Developer of the Bitcoin Foundation and decentralize control over future development.
Page 12
Slide Credit: “Michael Lewellen, Blockchain Education Course, Tarski Technologies, LLC”
Bitcoin History
After 2010, Bitcoin began to see markets established as adoption grew
Mar 2010 – The first bitcoin exchange starts trading at $.003
Feb 2011– The Silk Road black market starts using bitcoins as payment, Bitcoin reaches $1
Mar 2013 – First regulatory guidance issued by FinCEN for "virtual currencies" �
Oct 2013 – FBI shuts down the Silk Road, Bitcoin starts to enter the mainstream media
Nov 2013 – Following a massive bull run, Bitcoin’s price peaks at $1,242
Feb 2014 – Mt. Gox, the largest Bitcoin exchange, collapses and causes a price drop
July 2014 – Despite price volatility, acceptance grows as Wikipedia allows Bitcoin donations.
Silk Road Website
Mt. Gox Bitcoin Exchange
Slide Credit: “Michael Lewellen, Blockchain Education Course, Tarski Technologies, LLC”
NEW INDUSTRY IS BORN
Page 14
Exchanges and Wallets
Mining Operations
Altcoins and DApps
A new class of financial services
PoW turns into a race for hardware
New cryptocurrencies enter the scene
Slide Credit: “Michael Lewellen, Blockchain Education Course, Tarski Technologies, LLC”
NEW INDUSTRY IS BORN
Page 15
Analytics Firms
On-chain analysis
LIGHTNING NETWORK
Page 16
https://zipmex.com/learn/what-is-lightning-network/
BITCOIN TODAY
Page 17
https://www.bitpanda.com/academy/en/lessons/what-is-the-purpose-of-mining-pools-and-how-do-they-work/
BITCOIN HALVING CYCLES
Page 18
BITCOIN STOCK TO FLOW MODEL
Page 19
BITCOIN MAXIMALISTS
Bitcoin maximalists believe that Bitcoin, which is the world's most popular cryptocurrency, is the only digital asset that will be needed in the future. Maximalists believe that all other digital currencies are inferior to Bitcoin.
In Defense of Bitcoin Maximalism by Vitalik Buterin
�
Page 20
Security and Exchange Commission
The Howey Test refers to the U.S. Supreme Court case for determining whether a transaction qualifies as an "investment contract," and therefore would be considered a security and subject to disclosure and registration requirements under the Securities Act of 1933 and the Securities Exchange Act of 1934.
Four Criteria:
Page 21
ETHEREUM
Page 22
SMART CONTRACTS
Page 23
Ethereum is a blockchain that incorporated the concept of smart contracts that are executed on the Ethereum Virtual Machine. It’s a deterministic piece of code that is executed by the miner during block creation. Smart contracts can hold and operate on digital assets and even create new digital assets.
What could you do with such a system?
DEVELOPING DAPPS
Page 24
NOTABLE TOKEN STANDARDS
Page 25
USE CASES & DEMO
Page 26
Remittances
Stablecoins/ CBDCs
Exchanges
Derivatives
Decentralized Finance
Passive Income
Options
Store of Value
Payment
NFTs
Metaverse
Games
Art/ Collectibles
Loyalty Rewards
Access
Identity
Tokenization of Real World Assets
Governance
Supply Chain
Public Goods Funding
Social Media
File Storage
Compute
?
Blockchain TRILEMMA
Page 27
Scalability
Security
Blockchain TRILEMMA
Decentralization
How many transactions can be processed?
How many nodes?
How decentralized is it?
How resistant is �it to attacks?
Why would you give up security for scalability?
BLOCKCHAIN HISTORY TIMELINE
Page 28
2010
First Bitcoin Mined
2022
Bear Market due to regulatory pressures and macro economic climate
2013 �Bitcoin Surpasses 1B Market Cap
2013 �Vitalik Releases Ethereum Whitepaper
2015�Ethereum Genesis Block
2016�The DAO exploited for $72M USD
Ethereum hard forks splitting into Ethereum and Ethereum Classic
2018�BTC Lightning Network Beta Launched
2017�Bull Market that put BTC on the map,
BTC ATH of 20K
2018�Bear Market�BTC plummets to 3K
2020�DeFi Summer
2021�NFT Boom
�Bull Market (BTC $69K)�
Total Crypto Market Cap almost $3T
2022
LUNA Blockchain Implodes through Market Manipulation
2022�Layer 2 Rollup Chains Launch on Ethereum
DEFI TVL
Page 29
DEFILama.com
CONCLUSION
Page 30