Chapter4-Blockchain Application Design
Chapter4-Blockchain Application Design
APPLICATION DESIGN
WHY AND WHEN TO USE A BLOCKCHAIN?
Source: https://medium.com/@sbmeunier/when-do-you-need-blockchain-decision-models-a5c40e7c9ba1
WHY AND WHEN TO USE A BLOCKCHAIN?
• Consider :
▪ The business problem that we are trying
to solve
▪ The assets
1. A business problem to be solved that cannot be more efficiently solved with other
technologies
3. A need for trust that requires consensus, immutability, finality, and provenance.
MODELING IS THE MAPPING OF BUSINESS CONCEPTS ONTO TECHNICAL
CONCEPTS
Models do not need to be complete, but they need to be sufficient to solve the problem .
Approach: The business network agrees that the attributes of the assets
are shared and a blockchain solution architect models them by using
an appropriate language.
“commercialPaper”
{“0000475
Commercial Paper :
923”,
ID: 0000475923 {
Issuer: MagnetoCorp “Magneto
“id”:
Owner: MagnetoCorp Corp”,
“string”,
Face “Magneto
“issuer”: “string”,
value: Corp”,
$1,000,00 ”owner”:
Model “string”, Instan
“1000000
0 Maturity date: 2020- ”faceValue”: Ledger
02-28
definition
“integer”,
”,ce
“2020-02-
”maturityDat
28”}
e”: “date”
“Physical” asset }
Attributes
MODELING CONTRACTS AND TRANSACTIONS
• Contracts are the actions that modify assets in the world state:
▪ Algorithms with inputs and outputs.
▪ Should use modelled assets.
4
CAR LEASING: PARTIPANTS/ROLES
PARTICIPANTS
Scrap
merchant’s Dealer ’s Accounta
records records bility
Privacy
Scalabi
lity
Leasing
Lessee’s company’s
records records
Smart Shared
contract ledger Dealer
Scrap
s
merchant
Records
Conditions of asset
for asset transfer
transfer
Lessee
Leasing
company
... and Smart contracts to define services that access the ledger.
ACTIVITY 1