Introduction
Different blockchain projects tackled different problems, from
sending money to protecting personal information.
What you’ll learn
- Explain what Bitcoin, Ethereum, Cardano, and Midnight
contributed.
- Describe the trade-offs among payment settlement, programmability,
consensus, and privacy.
- Give an example of verifying a claim without publishing the private
details behind it.
Lesson
In Lesson 1, we followed a Bitcoin payment from the wallet to the
blockchain. In Lesson 2, we saw how nodes check proposed blocks and
choose which valid history to follow. Here we’ll follow a neighborhood
grocery shop as its needs change, from accepting a payment to running an
online service that handles customer information.
The four generations in this lesson are a way to organize the ideas.
Projects overlap, and work on payments, scaling, smart contracts, and
privacy continues across generations.
First generation ·
Peer-to-peer payments
Bitcoin launched in 2009. Its central question was whether two people
could make a digital payment without relying on a bank or payment
company to keep the shared record. Bitcoin combined digital signatures,
independent validation, and proof of work to give participants a way to
agree on which funds had already been spent.
At the grocery shop. A customer sends bitcoin to pay
an invoice. The shop can check whether that payment appears in the
accepted transaction history and decide how many confirmations it wants
before filling the order. The fee and wait can vary. The ledger records
the payment, while the shop keeps track of whether it packed and
delivered the groceries.
Bitcoin’s original
paper
Second generation ·
Programmable applications
Ethereum launched in 2015 and made general-purpose smart contracts
central to how developers build on the network. A smart
contract is code that defines what an application can do when
someone submits a transaction. A contract can record who contributed to
a fundraiser, check whether it reached its goal, and allow contributors
to claim refunds if its rules call for them.
At the grocery shop. The shop wants to buy a shared
delivery van. Neighbors contribute through a contract. After a deadline,
the contract allows the shop to claim the funds if the goal was met or
allows contributors to request refunds if it fell short. The contract
can check the amounts and deadline it was given. Confirming that the
shop actually bought a van requires separate evidence.
Smart contracts also support applications such as lending, community
voting, and digital collectibles. A collectible can track control of a
token. A photo associated with that token can still be copied. Public
application records can also reveal activity that users would prefer to
keep private.
Ethereum’s launch history
· Ethereum
smart contracts
Third
generation · New approaches to consensus and scale
As blockchain applications grew, developers asked how networks could
handle more activity, connect with other systems, and check that
important rules behave as intended. Projects made different choices
about speed, fees, how block producers are selected, and when users can
treat a result as settled.
Cardano provides an example of proof of stake. Its
protocol uses stake-weighted selection to determine when a pool is
eligible to produce a block. Nodes still check blocks against the rules.
Proof of stake changes how producers are selected and avoids
Bitcoin-style mining competition. Capacity, fees, and finality depend on
the rest of the network’s design as well.
At the grocery shop. Suppose orders spike before a
holiday. The shop cares about how many orders the system can process,
how long customers wait, and what fees they pay. If customers use
different networks, the shop also needs to understand
interoperability, or how those systems exchange
information or value. For important contract rules, developers may use
formal verification, which uses mathematical methods to
check specified properties. The property being checked still has to
match what the shop actually needs.
Cardano
consensus and staking
Fourth
generation · Verifying claims with less public data
A public record helps people verify what happened, but details can
become revealing when someone combines them with information from
elsewhere. If the shop publishes a payment address, readers can
associate some visible activity involving it with the business. A
programmable application adds more choices about which information it
collects and what it publishes.
Midnight is designed to let applications verify rules while
protecting selected information. Selective disclosure
means sharing the information needed for a particular decision. A
zero-knowledge proof can let a verifier check a
statement about private information while keeping the underlying inputs
hidden.
At the grocery shop. The shop offers a discount to
customers who meet an age requirement. An app could verify a proof that
a trusted issuer’s credential meets the age rule while keeping the
customer’s full birth date private. The design still needs a trusted
issuer, an accurate age rule, and care about what the website or receipt
publishes. The same idea can apply when a supplier needs to prove it
holds a valid certification without sharing its entire business
record.
Midnight developer
documentation
Practice quiz
Select one answer per question.
Answer key and explanations
- A. Bitcoin aims to let participants pay each other
and independently check the shared transaction record.
- B. The program can check the contributions and
deadline available to it. A physical purchase needs external
evidence.
- C. Stake affects producer eligibility. Nodes still
validate proposed blocks.
- B. The eligibility result is enough for the shop’s
decision. The full birth date doesn’t need to be part of the public
record.
- A. Producer selection is one piece. Capacity,
demand, and the network’s other rules affect what customers
experience.
Sign in with Discord to take this quiz and earn your badge.