1 of 86

2 of 86

Who we are

x

3 of 86

Goals for the Class

  1. Learn the fundamentals of Blockchain technology
  2. Gain exposure to Blockchain career path
  3. Have fun!

4 of 86

Schedule:

  • Meet every Tuesday / Thursday @ 5:30pm
        • Tuesday will be lecture / activity based
        • Thursday will be review / career development based

Arrival:

        • Catered Dinner will be served from 5-5:30, so please arrive on time!

5 of 86

Resources

Slides / Extended Learning:

Contact:

        • blockchain@cornell.edu

6 of 86

Crypto Bootcamp

Blockchain Basics

7 of 86

8 of 86

9 of 86

The problem blockchain solved

10 of 86

Blockchain has fundamentally enhanced how we interact on the internet.

The problem blockchain solved

11 of 86

Have you ever thought about how the internet really works?

12 of 86

The Internet is simply a platform that connects peoples devices allowing them to interact

13 of 86

How people connect over the internet without �Blockchain technology

  1. Centralized Systems

14 of 86

How people connect over the internet without �Blockchain technology

  1. Centralized Systems

2. Decentralized Systems

15 of 86

Centralized Systems

It is the most popular way the internet connects people together

16 of 86

Centralized Systems

It is the most popular way the internet connects people together

Connections are made through one central computer (white dot)

17 of 86

Centralized Systems

Examples of Centralized Systems: Facebook, Google, Instagram, etc.

18 of 86

Centralized Systems

Are they Safe?

They are safe ONLY when people are able to depend on the central computer (white dot)…

19 of 86

Problem With Centralized Systems: Dependency

20 of 86

Problem With Centralized Systems: Dependency

21 of 86

Problem With Centralized Systems: Dependency

22 of 86

Problem With Centralized Systems: Dependency

23 of 86

Problem With Centralized Systems: Dependency

24 of 86

Centralized Systems are fragile because they are dependent on a central computer

Problem With Centralized Systems: Dependency

25 of 86

Example:

In Fall 2021 Facebook’s servers broke... We could not connect with our friends/family on Facebook until the servers were fixed

Problem With Centralized Systems: Dependency

26 of 86

Pros of Communication in Centralized Systems

27 of 86

The central figure can create agreement amongst all network participants

Pros of Communication in Centralized Systems

28 of 86

There can be disagreement between blue, green, purple, red of what is true...

The central authority can establish what is true

Pros of Communication in Centralized Systems

29 of 86

Pros of Communication in Centralized Systems

30 of 86

Overview How We Connect on the Internet

31 of 86

Centralized System

Heavily Dependent on Central Figure

Can Agree on Common Truth

Overview How We Connect on the Internet

32 of 86

Centralized Systems

33 of 86

2nd Way of Communication: Decentralized Systems

Centralized Systems

34 of 86

Decentralized Systems

Decentralization is another way people are connected on the internet

Decentralized systems, unlike a centralized system, do not rely on a central computer (white dot)

35 of 86

Pros of Decentralized Systems - Not Dependent on Central Figure

36 of 86

Pros of Decentralized Systems - Not Dependent on Central Figure

37 of 86

Pros of Decentralized Systems - Not Dependent on Central Figure

38 of 86

Decentralized Systems

When you hear “decentralized” think freedom from dependency

39 of 86

Decentralized Systems

When you hear “decentralized” think freedom from dependency

Example: Bikes Around NYC

People do not depend on any central bike rack to ride city bikes.

Bike stations are decentralized and are spread

across the city

People will always be able to ride bikes no

Matter if one bike-station is broken

40 of 86

Pros of Decentralized Systems

There is no single point of failure!

41 of 86

Cons of Decentralized Systems

Are they Safe?

Use of decentralized systems are relatively safer than centralized systems because they have no single point of failure

42 of 86

Cons of Decentralized Systems

Are they Safe?

BUT....

DECENTRALIZED SYSTEMS ARE NOT PERFECT

43 of 86

Cons of Decentralized Systems

Can’t agree on on a single common truth

44 of 86

Cons of Decentralized Systems

There can be disagreement between what blue, green, red, purple, and white thinks is true

There is no central authority to establish what is true

45 of 86

Cons of Decentralized Systems

46 of 86

The inability for participants in a decentralized system to find common truth is a big con of decentralized systems

Cons of Decentralized Systems

47 of 86

Byzantine’s General Problem

This problem has a formal name: Byzantine Generals’ Problem

Suppose you are a general in decentralized system, but want to plan a coordinated attack against an enemy with your other generals

48 of 86

Activity: Act out BGP

Witness how agreeing on a common truth in a decentralized system is difficult

[End of Lecture I]

49 of 86

Lecture 1 Review

  • Centralized vs Decentralized
  • What is the main drawback with decentralized systems?

50 of 86

Lecture 1 Review

  • Centralized vs Decentralized
  • What is the main drawback with decentralized systems?
  • Byzantine Generals Problem

51 of 86

Blockchain Solves the “Byzantine General Problem!”

... In other words, the inability to come to a common truth in a decentralized system!

52 of 86

Without Blockchain… Trust Issues / Can’t agree on common truth

53 of 86

With Blockchain… Common truth and clear communication

Without Blockchain… Trust Issues / Can’t agree on common truth

54 of 86

Overview How We Connect on the Internet

Centralized System

Decentralized Systems

Blockchain

Heavily Dependent on Central Figure

Decentralized (Not Dependent on Central Figure)

Can Agree on Common Truth

Can’t agree on common truth

55 of 86

Overview How We Connect on the Internet

Centralized System

Decentralized Systems

Blockchain

Heavily Dependent on Central Figure

Decentralized (Not Dependent on Central Figure)

Can Agree on Common Truth

Can’t agree on common truth

56 of 86

Centralized System

Decentralized Systems

Blockchain

Heavily Dependent on Central Figure

Decentralized (Not Dependent on Central Figure)

Decentralized (Not Dependent on Central Figure)

Can Agree on Common Truth

Can’t agree on common truth

Can Agree on Common Truth

?

Overview How We Connect on the Internet

57 of 86

Key Principle #1:�Blockchain Technology is a way of connecting on the internet that �1. is decentralized (does not require a central computer), but �2. can still agree on a common truth

58 of 86

Now that we know what Blockchain does...��What does a blockchain look like?

59 of 86

A Blockchain is structured as “chain of blocks”

60 of 86

Why does a Blockchain look this way?

61 of 86

Decentralized Systems can’t agree on on a single common truth

62 of 86

Decentralized Systems can’t agree on on a single common truth

This makes transferring money in a decentralized system impossible

63 of 86

Decentralized Systems can’t agree on on a single common truth

This makes transferring money in a decentralized system impossible

64 of 86

Decentralized Systems can’t agree on on a single common truth

This makes transferring money in a decentralized system impossible

65 of 86

Decentralized Systems can’t agree on on a single common truth

This makes transferring money in a decentralized system impossible

66 of 86

Decentralized Systems can’t agree on on a single common truth

This makes transferring money in a decentralized system impossible

67 of 86

Decentralized Systems can’t agree on on a single common truth

This makes transferring money in a decentralized system impossible

I never spent the money!

Yes you did!

68 of 86

Decentralized Systems can’t agree on on a single common truth

This makes transferring money in a decentralized system impossible

Now I can double spend!

69 of 86

Now I can double spend!

Without common truth...

Lots of double spending / fraud

70 of 86

Centralized Systems do not have “double-spending problem” because can agree on a common truth

71 of 86

Centralized Systems do not have “double-spending problem” because can agree on a common truth

72 of 86

Centralized Systems do not have “double-spending problem” because can agree on a common truth

73 of 86

How can we stop “double spending” in a decentralized system?

74 of 86

How can we stop “double spending” in a decentralized system?

Use Block + Chain structure!

75 of 86

The blockchain is public list of data “blocks” which include...

  1. transaction data, and
  2. timestamps

76 of 86

7/7/2022

7/8/2022

7/9/2022

7/10/2022

The blockchain is public list of data “blocks” which include...

  1. transaction data, and
  2. timestamps

77 of 86

7/7/2022

7/8/2022

7/9/2022

7/10/2022

Purple sends $100 to Green for shoes

Green sends $50 to red for ice cream

Green sends $50 to blue for a video game

Red sends $50 to purple for dinner

The blockchain is public list of data “blocks” which include...

  1. transaction data, and
  2. timestamps

78 of 86

7/7/2022

7/8/2022

7/9/2022

7/10/2022

Purple sends $100 to Green for shoes

Green sends $50 to red for ice cream

Green sends $50 to blue for a video game

Red sends $50 to purple for dinner

7/11/2022

Purple sends $100 to blue for a bicycle

+

The blockchain is public list of data “blocks” which include...

  1. transaction data, and
  2. timestamps

79 of 86

7/7/2022

7/8/2022

7/9/2022

7/10/2022

Purple sends $100 to Green for shoes

Green sends $50 to red for ice cream

Green sends $50 to blue for a video game

Red sends $50 to purple for dinner

7/11/2022

Purple sends $100 to blue for a bicycle

+

The blockchain is public list of data “blocks” which include...

  1. transaction data, and
  2. timestamps

The “Public” / Network Participants

80 of 86

7/7/2022

7/8/2022

7/9/2022

7/10/2022

Purple sends $100 to Green for shoes

Green sends $50 to red for ice cream

Green sends $50 to blue for a video game

Red sends $50 to purple for dinner

7/11/2022

Purple sends $100 to blue for a bicycle

+

The “Public” / Network Participants

The blockchain is public list of data “blocks” which include...

  1. transaction data, and
  2. timestamps

81 of 86

7/7/2022

7/8/2022

7/9/2022

7/10/2022

Purple sends $100 to Green for shoes

Green sends $50 to red for ice cream

Green sends $50 to blue for a video game

Red sends $50 to purple for dinner

7/11/2022

Purple sends $100 to blue for a bicycle

+

The “Public” / Network Participants

Bonus if time: What are the links?

82 of 86

7/7/2022

7/8/2022

7/9/2022

7/10/2022

Purple sends $100 to Green for shoes

Green sends $50 to red for ice cream

Green sends $50 to blue for a video game

Red sends $50 to purple for dinner

7/11/2022

Purple sends $100 to blue for a bicycle

+

The “Public” / Network Participants

83 of 86

Centralized System

Decentralized Systems

Blockchain

Heavily Dependent on Central Figure

Not Dependent on Central Figure

Not Dependent on Central Figure

Can Agree on Common Truth

Can’t agree on common truth

Can Agree on Common Truth

Overview How We Connect on the Internet

84 of 86

How do we prevent network “forks”? How do we prevent one chain from becoming many?

85 of 86

Proof of Work

Proof of Stake

Network participants complete “work” to add blocks to the chain.

Network participants “stake” funds to add blocks to the chain.

Has worked in networks like Bitcoin for decades, results in stable BFT can guarantee safety as long as <51% of nodes are adversarial.

In 2022, Ethereum moved from Proof of Work to Proof of Stake. PoS is much more energy efficient while providing similar safety guarantees.

Extremely energy intensive. On a list of energy consumption by country, Bitcoin is ~25.

Staking requirements are very high resulting in significant re-centralization.

Consensus / Byzantine Fault Tolerance Mechanisms

86 of 86

Activity: Act out Consensus to solve Byzantine Generals

[End of Lecture II]