SlideShare une entreprise Scribd logo
1  sur  34
AGENDA
 The Trust Paradigm Shift
 Evolution of Blockchain & Smart Contracts
 Blockchain What is it & How it works
 Classification of Blockchains
 Smart Contract What is it & How it works
 Use cases
--------------------ADDENDUM--------------------
 Consensus & Hash pointers
Introduction to
Blockchain
&
Smart Contracts
Franco De Vita 22 January 2021
About Me
The Trust Paradigm Shift
Evolution of Blockchain & Smart Contracts
1994 2009 2012 2013 2014 2015 2016 2017 2018 2019 2020
rise testing maturity mass adoption
Nick
Szabo
Bitcoin Satoshi Nakamoto
Bitcoin
basic smart contract
proof of concept early adopters
law
&
regulations
applications of new
services
in various sectors
1991
Cryptographically secured chain of blocks
1998
Bit Gold Decentralized digital currency
Permissioned Blockchains
Blockchain What is it
A transparent and distributed append-only
repository, implemented as a P2P network
Note: some blockchains are not transparent,on a
permissioned blockchain data is shared on a need
to know basis
Fault
tolerant
Blockchain What is it
Properties:
 Linked list of blocks
 Each block contains a set of transactions
 Each block is timestamped
 List of blocks is shared across nodes
 Immutable
Blockchain How it works
Each transaction is digital signed Each transaction is validated by a selected
group of nodes and grouped together in a
temporary block. A node is selected (in
accordance with the used consensus
protocol) to forge the next block on the
chain.
The next block is broadcasted and
arithmetically linked to the chain of each
node as a permanent and immutable record
of transactions.
SIGNATURE VALIDATION DISTRIBUTION
3
Classification of Blockchains
Bitcoin
Ethereum
Altcoins
....
Hyperledger
MultiChain
BigchainDB
...
Permissioned
Permissionless
Open Access
Consensus (Proof-of-Work)
Closed Ecosysteem
Multiple types Consensus
Permissionless vs. Permissioned
Scalability
Performance
Decentralized
Trust
Supervision Resistant
Transparency
Smart Contract What is it
Software procedures that execute the terms of
a set of rules, which are agreed upon by the
involved parties. The code of a smart contract
is stored on a blockchain, therefore it is
immutable.
The code is executed on multiple nodes. As a
result of which, smart contract needs to be:
 Deterministic
 Terminable
 Isolated
Micro insurance
contract Micro {
function Micro() { // initialisation @ deployment
// constant fee= € x,-
// ...
}
function confirmInsurance() { // initiated by user
// confirmation conditions agreed
// payment has been made
// registration
}
function confirmDelay() { // initiated by backend
// Schiphol
// confirmation delay > 2 hours
// payment of agreed fee
}
}
Smart Contract How it works
contract Micro { … }
Micro.confirmInsurance()
Micro.confirmDelay()
Deployment Initiated by user
(browser)
Initiated by
backend Schiphol
t0 t1 t2
1. Create 2. Deployment 3. Execution
Coding
(Defining conditions
between parties)
Smart Contract is stored in a
block
&
execution of the
initialisation function
An event (condition) triggers
a specific function of the Smart
Contract
Execution ends when all
conditions, as agreed in step 1,
are met
or
the smart Contract is aborted
Central authority
and
third parties
compliancy and reporting
Smart Contract Lifecycle
Fraud: editing use-by dates and mixing older poultry with fresher birds
©
2019-2020
∙
wallet79
∙
all
rights
reserved
wallet79 ∙ using my talents
Supply Blockchain Ecosystem
©
2019-2020
∙
wallet79
∙
all
rights
reserved
wallet79 ∙ using my talents
©
2019-2020
∙
wallet79
∙
all
rights
reserved
wallet79 ∙ using my talents
Self-Sovereign Identity
©
2019-2020
∙
wallet79
∙
all
rights
reserved
wallet79 ∙ using my talents
Sovrin ∙ Hyperledger INDY
Public/Permissioned
©
2019-2020
∙
wallet79
∙
all
rights
reserved
wallet79 ∙ using my talents
Order-ID
Order-ID
ORDER
&
PAYMENT
ADDRESS
PERMISSION
….
Request PERMISSION
Order-ID
Anonymous online purchase
©
2019-2020
∙
wallet79
∙
all
rights
reserved
wallet79 ∙ using my talents
MY DATA
ACCESS TYPE
1: One-time
2: Contract duration
3: Re-call
4: Expiration Date
Data request (PUBLIC KEY)
- Name
- Zip
- Address Nr.
- Gender
Select ACCESS TYPE
Blockchain Transaction
- Encrypt Message
(Requester PUBLIC KEY)
o Approved DATA
o ACCESS TYPE
- Send to Requester
Retrieve data
- Decrypt (PRIVATE KEY)
- Process Data
1
2
3
5
Select DATA to share
SEND
4
Public Registers
X
Franco De Vita
Havenstraat 26
1271 AE
Male
Anonymous online purchase
©
2019-2020
∙
wallet79
∙
all
rights
reserved
wallet79 ∙ using my talents
Thank You!
©
2019-2020
∙
wallet79
∙
all
rights
reserved
wallet79 ∙ using my talents
Franco De Vita ∙ franco@vita.nl ∙ +31 6 5467 3500
Consensus & Hash Pointer
one way cryptographic hash function
One way cryptographic hash function
input hash()
9014b4cd68f8bce3f2d15e8c8727cbeb22444d5d62e8f9a45dd0b8dd174ef788
302fd87968d492ee0d53c71ddb21eaad86740e2382cbaef230bac879b19fd16c
digest | hash
Possible inputs
Possible
outputs
Hash function
merkle root
…
…
…
…
merkle root
previous block hash
hash()
Block hash
…
…
…
…
0000000000000000Df9d1cff51866350a17ea4005507773e55b7918623b53350
0000000000000000Df9d1cff51866350a17ea4005507773e55b7918623b53350
Pointer to previous block
Pointer to previous transaction
CA -> B
Pay CoinA to pkB
SignatureA
Hash pointer
PrevTrans
A
What is consensus
Agreement on the state of the ledger
When is a transaction valid?
Which transactions have taken place?
When did a transaction take place?
When is a block (set of transactions) valid?
3
When is a transaction valid?
CA -> B
CA -> X
Pay CoinA to pkB
SignatureA
Hash pointer
Pay CoinA to pkX
SignatureA
Hash pointer
PrevTran
sA
Double-
spend
attempt
Which transactions have taken place?
CA -> B
CA -> X
1 2 3
Nr. of
confirmations
Double-
spend
attempt
When did a transaction take place?
coinbase transaction
merkle root
timestamp
nonce
nBits | target threshold
previous block hash
version
coinbase transaction
9d10aa52ee949386ca9385695f04ede270dda20810decd1bc9b048aaab314
coinbase transaction
merkle root
previous block hash
hash()
Block hash
0000000000000000Df9d1cff51866350a17ea4005507773e55b7918623b53350
When is a block valid?
timestamp
nonce
version
nBits | target threshold
0000000000000000Df9d1cff51866350a17ea4005507773e55b7918623b53350
24d95a54
fe9f0864
02000000
30c31b18

Contenu connexe

Tendances

Introduction to Blockchain
Introduction to BlockchainIntroduction to Blockchain
Introduction to BlockchainArunimShukla
 
20170620 MEETUP intro to blockchain and smart contracts (1)
20170620 MEETUP intro to blockchain and smart contracts (1)20170620 MEETUP intro to blockchain and smart contracts (1)
20170620 MEETUP intro to blockchain and smart contracts (1)Brussels Legal Hackers
 
Blockchain Deconstructed - by nexxworks
Blockchain Deconstructed - by nexxworks Blockchain Deconstructed - by nexxworks
Blockchain Deconstructed - by nexxworks nexxworks
 
KOIOS - Introduction to Blockchain Technology
KOIOS - Introduction to Blockchain TechnologyKOIOS - Introduction to Blockchain Technology
KOIOS - Introduction to Blockchain TechnologyRicardoEradus
 
Introduction to blockchain and smart contracts
Introduction to blockchain and smart contractsIntroduction to blockchain and smart contracts
Introduction to blockchain and smart contractsValidity Labs
 
How does a blockchain work?
How does a blockchain work?How does a blockchain work?
How does a blockchain work?Deloitte UK
 
Payment Protocols - Block Chain & Beyond
Payment Protocols - Block Chain & BeyondPayment Protocols - Block Chain & Beyond
Payment Protocols - Block Chain & BeyondAlexander Kiriakou
 
Blockchain, Ethereum and Business Applications
Blockchain, Ethereum and Business ApplicationsBlockchain, Ethereum and Business Applications
Blockchain, Ethereum and Business ApplicationsMatthias Zimmermann
 
Blockchain overview, use cases, implementations and challenges
Blockchain overview, use cases, implementations and challengesBlockchain overview, use cases, implementations and challenges
Blockchain overview, use cases, implementations and challengesSébastien Tandel
 
Blockchain Study(1) - What is Blockchain?
Blockchain Study(1) - What is Blockchain?Blockchain Study(1) - What is Blockchain?
Blockchain Study(1) - What is Blockchain?Fermat Jade
 
Namecoin Primecoin Potcoin
Namecoin Primecoin Potcoin Namecoin Primecoin Potcoin
Namecoin Primecoin Potcoin PiotrMatuszak3
 
14 Jan17- Nullmeets -Blockchain concept decoded by Ninad Sarang
14 Jan17- Nullmeets -Blockchain concept decoded by Ninad Sarang14 Jan17- Nullmeets -Blockchain concept decoded by Ninad Sarang
14 Jan17- Nullmeets -Blockchain concept decoded by Ninad SarangNinad Sarang
 
Blockchain Basics
Blockchain BasicsBlockchain Basics
Blockchain BasicsRohit Kumar
 
Blockchain - Presentacion Betabeers Galicia 10/12/2014
Blockchain - Presentacion Betabeers Galicia 10/12/2014Blockchain - Presentacion Betabeers Galicia 10/12/2014
Blockchain - Presentacion Betabeers Galicia 10/12/2014WeKCo Coworking
 
Blockchain explained
Blockchain explainedBlockchain explained
Blockchain explainedLon Barfield
 
Ppt on blockchain technology
Ppt on blockchain technologyPpt on blockchain technology
Ppt on blockchain technologyRATAN AGARWALA
 

Tendances (20)

Introduction to Blockchain
Introduction to BlockchainIntroduction to Blockchain
Introduction to Blockchain
 
20170620 MEETUP intro to blockchain and smart contracts (1)
20170620 MEETUP intro to blockchain and smart contracts (1)20170620 MEETUP intro to blockchain and smart contracts (1)
20170620 MEETUP intro to blockchain and smart contracts (1)
 
Blockchain Deconstructed - by nexxworks
Blockchain Deconstructed - by nexxworks Blockchain Deconstructed - by nexxworks
Blockchain Deconstructed - by nexxworks
 
KOIOS - Introduction to Blockchain Technology
KOIOS - Introduction to Blockchain TechnologyKOIOS - Introduction to Blockchain Technology
KOIOS - Introduction to Blockchain Technology
 
Introduction to blockchain and smart contracts
Introduction to blockchain and smart contractsIntroduction to blockchain and smart contracts
Introduction to blockchain and smart contracts
 
How does a blockchain work?
How does a blockchain work?How does a blockchain work?
How does a blockchain work?
 
bitcoin_presentation
bitcoin_presentationbitcoin_presentation
bitcoin_presentation
 
Payment Protocols - Block Chain & Beyond
Payment Protocols - Block Chain & BeyondPayment Protocols - Block Chain & Beyond
Payment Protocols - Block Chain & Beyond
 
Introduction to Blockchain
Introduction to BlockchainIntroduction to Blockchain
Introduction to Blockchain
 
Blockchain, Ethereum and Business Applications
Blockchain, Ethereum and Business ApplicationsBlockchain, Ethereum and Business Applications
Blockchain, Ethereum and Business Applications
 
Blockchain for Beginners
Blockchain for Beginners Blockchain for Beginners
Blockchain for Beginners
 
Blockchain overview, use cases, implementations and challenges
Blockchain overview, use cases, implementations and challengesBlockchain overview, use cases, implementations and challenges
Blockchain overview, use cases, implementations and challenges
 
Blockchain Study(1) - What is Blockchain?
Blockchain Study(1) - What is Blockchain?Blockchain Study(1) - What is Blockchain?
Blockchain Study(1) - What is Blockchain?
 
Namecoin Primecoin Potcoin
Namecoin Primecoin Potcoin Namecoin Primecoin Potcoin
Namecoin Primecoin Potcoin
 
Blockchain concepts
Blockchain conceptsBlockchain concepts
Blockchain concepts
 
14 Jan17- Nullmeets -Blockchain concept decoded by Ninad Sarang
14 Jan17- Nullmeets -Blockchain concept decoded by Ninad Sarang14 Jan17- Nullmeets -Blockchain concept decoded by Ninad Sarang
14 Jan17- Nullmeets -Blockchain concept decoded by Ninad Sarang
 
Blockchain Basics
Blockchain BasicsBlockchain Basics
Blockchain Basics
 
Blockchain - Presentacion Betabeers Galicia 10/12/2014
Blockchain - Presentacion Betabeers Galicia 10/12/2014Blockchain - Presentacion Betabeers Galicia 10/12/2014
Blockchain - Presentacion Betabeers Galicia 10/12/2014
 
Blockchain explained
Blockchain explainedBlockchain explained
Blockchain explained
 
Ppt on blockchain technology
Ppt on blockchain technologyPpt on blockchain technology
Ppt on blockchain technology
 

Similaire à Session 3 introduction blockchain by franco 22 januari

BlockChain Technology A Game Changer For Transportation & Logistics sector
BlockChain Technology A Game Changer For Transportation & Logistics sectorBlockChain Technology A Game Changer For Transportation & Logistics sector
BlockChain Technology A Game Changer For Transportation & Logistics sectorRavi Prasad
 
Event Itnig - Smart Contracts by MarketPay, Juan Ignacio Pérez Sacristán
Event Itnig - Smart Contracts by MarketPay, Juan Ignacio Pérez SacristánEvent Itnig - Smart Contracts by MarketPay, Juan Ignacio Pérez Sacristán
Event Itnig - Smart Contracts by MarketPay, Juan Ignacio Pérez SacristánJuan Ignacio Pérez Sacristán
 
Blockchain for Accounting & Assurance
Blockchain for Accounting & AssuranceBlockchain for Accounting & Assurance
Blockchain for Accounting & AssuranceEryk Budi Pratama
 
Distributed Intelligence
Distributed IntelligenceDistributed Intelligence
Distributed IntelligenceNuri Cankaya
 
Use case of block chain unit 4 AKTU
Use case of block chain unit 4 AKTUUse case of block chain unit 4 AKTU
Use case of block chain unit 4 AKTURohit Verma
 
All You Need To Know About Transactions in Blockchain
All You Need To Know About Transactions in BlockchainAll You Need To Know About Transactions in Blockchain
All You Need To Know About Transactions in BlockchainBlockchain Council
 
Blockchain Essentials and Blockchain on Azure
Blockchain Essentials and Blockchain on AzureBlockchain Essentials and Blockchain on Azure
Blockchain Essentials and Blockchain on AzureNuri Cankaya
 
От прорывной концепции до комплексного решения для компаний
От прорывной концепции до комплексного решения для компанийОт прорывной концепции до комплексного решения для компаний
От прорывной концепции до комплексного решения для компанийPositive Hack Days
 
Introduction to Ethereum Blockchain & Smart Contract
Introduction to Ethereum Blockchain & Smart ContractIntroduction to Ethereum Blockchain & Smart Contract
Introduction to Ethereum Blockchain & Smart ContractThanh Nguyen
 
How Blockchain & Cryptocurrencies Redefining Financial Instruments in Finance
How Blockchain & Cryptocurrencies Redefining Financial Instruments in Finance How Blockchain & Cryptocurrencies Redefining Financial Instruments in Finance
How Blockchain & Cryptocurrencies Redefining Financial Instruments in Finance Kellton Tech Solutions Ltd
 
BlockChain Technology By Deep Akabari.pptx
BlockChain Technology By Deep Akabari.pptxBlockChain Technology By Deep Akabari.pptx
BlockChain Technology By Deep Akabari.pptxDeepAkabari
 
Blockchain a deep dive
Blockchain  a deep diveBlockchain  a deep dive
Blockchain a deep divehypeprofitbiz
 
Beyond Bitcoin: Understanding the full potential of blockchain
Beyond Bitcoin: Understanding the full potential of blockchainBeyond Bitcoin: Understanding the full potential of blockchain
Beyond Bitcoin: Understanding the full potential of blockchainrajeshdhuddu
 

Similaire à Session 3 introduction blockchain by franco 22 januari (20)

Introduction to Blockchain and Cryptocurrencies
Introduction to Blockchain and CryptocurrenciesIntroduction to Blockchain and Cryptocurrencies
Introduction to Blockchain and Cryptocurrencies
 
Blockchain.pptx
Blockchain.pptxBlockchain.pptx
Blockchain.pptx
 
BlockChain Technology A Game Changer For Transportation & Logistics sector
BlockChain Technology A Game Changer For Transportation & Logistics sectorBlockChain Technology A Game Changer For Transportation & Logistics sector
BlockChain Technology A Game Changer For Transportation & Logistics sector
 
Event Itnig - Smart Contracts by MarketPay, Juan Ignacio Pérez Sacristán
Event Itnig - Smart Contracts by MarketPay, Juan Ignacio Pérez SacristánEvent Itnig - Smart Contracts by MarketPay, Juan Ignacio Pérez Sacristán
Event Itnig - Smart Contracts by MarketPay, Juan Ignacio Pérez Sacristán
 
Blockchain External.pdf
Blockchain External.pdfBlockchain External.pdf
Blockchain External.pdf
 
Blockchain for Accounting & Assurance
Blockchain for Accounting & AssuranceBlockchain for Accounting & Assurance
Blockchain for Accounting & Assurance
 
Distributed Intelligence
Distributed IntelligenceDistributed Intelligence
Distributed Intelligence
 
Use case of block chain unit 4 AKTU
Use case of block chain unit 4 AKTUUse case of block chain unit 4 AKTU
Use case of block chain unit 4 AKTU
 
The Education Blockchain
The Education BlockchainThe Education Blockchain
The Education Blockchain
 
75
7575
75
 
All You Need To Know About Transactions in Blockchain
All You Need To Know About Transactions in BlockchainAll You Need To Know About Transactions in Blockchain
All You Need To Know About Transactions in Blockchain
 
Blockchain Essentials and Blockchain on Azure
Blockchain Essentials and Blockchain on AzureBlockchain Essentials and Blockchain on Azure
Blockchain Essentials and Blockchain on Azure
 
От прорывной концепции до комплексного решения для компаний
От прорывной концепции до комплексного решения для компанийОт прорывной концепции до комплексного решения для компаний
От прорывной концепции до комплексного решения для компаний
 
Introduction to Ethereum Blockchain & Smart Contract
Introduction to Ethereum Blockchain & Smart ContractIntroduction to Ethereum Blockchain & Smart Contract
Introduction to Ethereum Blockchain & Smart Contract
 
How Blockchain & Cryptocurrencies Redefining Financial Instruments in Finance
How Blockchain & Cryptocurrencies Redefining Financial Instruments in Finance How Blockchain & Cryptocurrencies Redefining Financial Instruments in Finance
How Blockchain & Cryptocurrencies Redefining Financial Instruments in Finance
 
Role of Blockchains in Internet of Things
Role of Blockchains in Internet of ThingsRole of Blockchains in Internet of Things
Role of Blockchains in Internet of Things
 
BlockChain Technology By Deep Akabari.pptx
BlockChain Technology By Deep Akabari.pptxBlockChain Technology By Deep Akabari.pptx
BlockChain Technology By Deep Akabari.pptx
 
Blockchain a deep dive
Blockchain  a deep diveBlockchain  a deep dive
Blockchain a deep dive
 
Beyond Bitcoin: Understanding the full potential of blockchain
Beyond Bitcoin: Understanding the full potential of blockchainBeyond Bitcoin: Understanding the full potential of blockchain
Beyond Bitcoin: Understanding the full potential of blockchain
 
Bitcoin 2.0
Bitcoin 2.0 Bitcoin 2.0
Bitcoin 2.0
 

Dernier

Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 

Dernier (20)

Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 

Session 3 introduction blockchain by franco 22 januari

  • 1. AGENDA  The Trust Paradigm Shift  Evolution of Blockchain & Smart Contracts  Blockchain What is it & How it works  Classification of Blockchains  Smart Contract What is it & How it works  Use cases --------------------ADDENDUM--------------------  Consensus & Hash pointers Introduction to Blockchain & Smart Contracts Franco De Vita 22 January 2021
  • 4.
  • 5. Evolution of Blockchain & Smart Contracts 1994 2009 2012 2013 2014 2015 2016 2017 2018 2019 2020 rise testing maturity mass adoption Nick Szabo Bitcoin Satoshi Nakamoto Bitcoin basic smart contract proof of concept early adopters law & regulations applications of new services in various sectors 1991 Cryptographically secured chain of blocks 1998 Bit Gold Decentralized digital currency Permissioned Blockchains
  • 6.
  • 7. Blockchain What is it A transparent and distributed append-only repository, implemented as a P2P network Note: some blockchains are not transparent,on a permissioned blockchain data is shared on a need to know basis Fault tolerant
  • 8. Blockchain What is it Properties:  Linked list of blocks  Each block contains a set of transactions  Each block is timestamped  List of blocks is shared across nodes  Immutable
  • 9. Blockchain How it works Each transaction is digital signed Each transaction is validated by a selected group of nodes and grouped together in a temporary block. A node is selected (in accordance with the used consensus protocol) to forge the next block on the chain. The next block is broadcasted and arithmetically linked to the chain of each node as a permanent and immutable record of transactions. SIGNATURE VALIDATION DISTRIBUTION 3
  • 12. Smart Contract What is it Software procedures that execute the terms of a set of rules, which are agreed upon by the involved parties. The code of a smart contract is stored on a blockchain, therefore it is immutable. The code is executed on multiple nodes. As a result of which, smart contract needs to be:  Deterministic  Terminable  Isolated
  • 13. Micro insurance contract Micro { function Micro() { // initialisation @ deployment // constant fee= € x,- // ... } function confirmInsurance() { // initiated by user // confirmation conditions agreed // payment has been made // registration } function confirmDelay() { // initiated by backend // Schiphol // confirmation delay > 2 hours // payment of agreed fee } }
  • 14. Smart Contract How it works contract Micro { … } Micro.confirmInsurance() Micro.confirmDelay() Deployment Initiated by user (browser) Initiated by backend Schiphol t0 t1 t2
  • 15. 1. Create 2. Deployment 3. Execution Coding (Defining conditions between parties) Smart Contract is stored in a block & execution of the initialisation function An event (condition) triggers a specific function of the Smart Contract Execution ends when all conditions, as agreed in step 1, are met or the smart Contract is aborted Central authority and third parties compliancy and reporting Smart Contract Lifecycle
  • 16. Fraud: editing use-by dates and mixing older poultry with fresher birds
  • 20. © 2019-2020 ∙ wallet79 ∙ all rights reserved wallet79 ∙ using my talents Sovrin ∙ Hyperledger INDY Public/Permissioned
  • 21. © 2019-2020 ∙ wallet79 ∙ all rights reserved wallet79 ∙ using my talents Order-ID Order-ID ORDER & PAYMENT ADDRESS PERMISSION …. Request PERMISSION Order-ID Anonymous online purchase
  • 22. © 2019-2020 ∙ wallet79 ∙ all rights reserved wallet79 ∙ using my talents MY DATA ACCESS TYPE 1: One-time 2: Contract duration 3: Re-call 4: Expiration Date Data request (PUBLIC KEY) - Name - Zip - Address Nr. - Gender Select ACCESS TYPE Blockchain Transaction - Encrypt Message (Requester PUBLIC KEY) o Approved DATA o ACCESS TYPE - Send to Requester Retrieve data - Decrypt (PRIVATE KEY) - Process Data 1 2 3 5 Select DATA to share SEND 4 Public Registers X Franco De Vita Havenstraat 26 1271 AE Male Anonymous online purchase
  • 23.
  • 24.
  • 26. © 2019-2020 ∙ wallet79 ∙ all rights reserved wallet79 ∙ using my talents Franco De Vita ∙ franco@vita.nl ∙ +31 6 5467 3500 Consensus & Hash Pointer
  • 27. one way cryptographic hash function One way cryptographic hash function input hash() 9014b4cd68f8bce3f2d15e8c8727cbeb22444d5d62e8f9a45dd0b8dd174ef788 302fd87968d492ee0d53c71ddb21eaad86740e2382cbaef230bac879b19fd16c digest | hash Possible inputs Possible outputs Hash function
  • 28. merkle root … … … … merkle root previous block hash hash() Block hash … … … … 0000000000000000Df9d1cff51866350a17ea4005507773e55b7918623b53350 0000000000000000Df9d1cff51866350a17ea4005507773e55b7918623b53350 Pointer to previous block
  • 29. Pointer to previous transaction CA -> B Pay CoinA to pkB SignatureA Hash pointer PrevTrans A
  • 30. What is consensus Agreement on the state of the ledger When is a transaction valid? Which transactions have taken place? When did a transaction take place? When is a block (set of transactions) valid? 3
  • 31. When is a transaction valid? CA -> B CA -> X Pay CoinA to pkB SignatureA Hash pointer Pay CoinA to pkX SignatureA Hash pointer PrevTran sA Double- spend attempt
  • 32. Which transactions have taken place? CA -> B CA -> X 1 2 3 Nr. of confirmations Double- spend attempt
  • 33. When did a transaction take place? coinbase transaction merkle root timestamp nonce nBits | target threshold previous block hash version
  • 34. coinbase transaction 9d10aa52ee949386ca9385695f04ede270dda20810decd1bc9b048aaab314 coinbase transaction merkle root previous block hash hash() Block hash 0000000000000000Df9d1cff51866350a17ea4005507773e55b7918623b53350 When is a block valid? timestamp nonce version nBits | target threshold 0000000000000000Df9d1cff51866350a17ea4005507773e55b7918623b53350 24d95a54 fe9f0864 02000000 30c31b18

Notes de l'éditeur

  1. Two Sisters Food Group
  2. Consensus is a process whereby the peers synchronise the data on the blockchain