SlideShare une entreprise Scribd logo
1  sur  33
Télécharger pour lire hors ligne
Blockchain for IoT
Federico Tenga
COO at Chainside
federico@chainside.net
Challenges and opportunities
Does it really make sense to mix IoT and
blockchain?
Does it really make sense to mix IoT and
blockchain?
Or we are just merging to buzzwords?
Blockchain e IoT
• Security of data produced by IoT sensors
• IoT actuators reacting to an event on the blockchain
• Machine-to-machine micro-payments
Security of data
produced by IoT sensors
IoT data blockchain notarization
Block
n
Block
n+1
Block
n+2
Block
n+3
IoT sensors
Gateway
Calendar server
Blockchain
Temperproof IoT sensors collect data about the
temperature and digitally sign them
Collects data from the sensors and broadcasts
them to the server
The collected data are processed cleaning
statistical anomalies. Metadata are then
extracted and aggregated
The metadata are sent to the blockchain
creating a secure timestamping verifiable by any
third party
BLOCKCHAINHARDWAREIoT
Merkle trees
Hash 0.0.0
H(L1)
Hash 0.0.1
H(L2)
Hash 0.1.0
H(L3)
Hash 0.1.1
H(L4)
Hash 1.0.0
H(L5)
Hash 1.0.1
H(L6)
Hash 1.1.0
H(L7)
Hash 1.1.1
H8L8)
Hash 0.0
H(0.0.0+0.0.1)
Hash 0
H(0.0+0.1)
L1 L2 L3 L4 L5 L6 L7 L8
Hash 0.1
H(0.1.0+0.1.1)
Hash 1.0
H(1.0.0+1.0.1)
Hash 1.1
H(1.1.0+1.1.1)
Hash 1
H(1.0+1.1)
Top Hash
H(0+1)
Merkle trees
Hash 0.0.0
H(L1)
Hash 0.0.1
H(L2)
Hash 0.1.0
H(L3)
Hash 0.1.1
H(L4)
Hash 1.0.0
H(L5)
Hash 1.0.1
H(L6)
Hash 1.1.0
H(L7)
Hash 1.1.1
H8L8)
Hash 0.0
H(0.0.0+0.0.1)
Hash 0
H(0.0+0.1)
L1 L2 L3 L4 L5 L6 L7 L8
Hash 0.1
H(0.1.0+0.1.1)
Hash 1.0
H(1.0.0+1.0.1)
Hash 1.1
H(1.1.0+1.1.1)
Hash 1
H(1.0+1.1)
Top Hash
H(0+1)
Merkle trees
Hash 0.0.0
H(L1)
Hash 0.0.1
H(L2)
Hash 0.1.0
H(L3)
Hash 0.1.1
H(L4)
Hash 1.0.0
H(L5)
Hash 1.0.1
H(L6)
Hash 1.1.0
H(L7)
Hash 1.1.1
H8L8)
Hash 0.0
H(0.0.0+0.0.1)
Hash 0
H(0.0+0.1)
L1 L2 L3 L4 L5 L6 L7 L8
Hash 0.1
H(0.1.0+0.1.1)
Hash 1.0
H(1.0.0+1.0.1)
Hash 1.1
H(1.1.0+1.1.1)
Hash 1
H(1.0+1.1)
Top Hash
H(0+1)
Merkle trees
Hash 0.0.0
H(L1)
Hash 0.0.1
H(L2)
Hash 0.1.0
H(L3)
Hash 0.1.1
H(L4)
Hash 1.0.0
H(L5)
Hash 1.0.1
H(L6)
Hash 1.1.0
H(L7)
Hash 1.1.1
H8L8)
Hash 0.0
H(0.0.0+0.0.1)
Hash 0
H(0.0+0.1)
L1 L2 L3 L4 L5 L6 L7 L8
Hash 0.1
H(0.1.0+0.1.1)
Hash 1.0
H(1.0.0+1.0.1)
Hash 1.1
H(1.1.0+1.1.1)
Hash 1
H(1.0+1.1)
Top Hash
H(0+1)
Merkle trees
Hash 0.0.0
H(L1)
Hash 0.0.1
H(L2)
Hash 0.1.0
H(L3)
Hash 0.1.1
H(L4)
Hash 1.0.0
H(L5)
Hash 1.0.1
H(L6)
Hash 1.1.0
H(L7)
Hash 1.1.1
H8L8)
Hash 0.0
H(0.0.0+0.0.1)
Hash 0
H(0.0+0.1)
L1 L2 L3 L4 L5 L6 L7 L8
Hash 0.1
H(0.1.0+0.1.1)
Hash 1.0
H(1.0.0+1.0.1)
Hash 1.1
H(1.1.0+1.1.1)
Hash 1
H(1.0+1.1)
Top Hash
H(0+1)
Blockchain for IoT
actuators
IoT actuator reacting to a blockchain event
Block
n
Block
n+1
Block
n+2
Block
n+3
Block
n+4
Block
n+5
Block
n+6
Block
n+7
Block
n+8
Block
n+9
Block
n+10
Block
n+11
Block
n+12
Block
n+13
Blo
n+
Blockchain m2m
micro-payments
Problems with blockchain micro-payments
• In a blockchain the whole transaction history has to be share among
all participants, so the usage has to be limited
Problems with blockchain micro-payments
• In a blockchain the whole transaction history has to be share among
all participants, so the usage has to be limited
• If the usage is limited to few tx/s, the competition to get a
transaction included in a block increases driving up the transaction
cost
Problems with blockchain micro-payments
• In a blockchain the whole transaction history has to be share among
all participants, so the usage has to be limited
• If the usage is limited to few tx/s, the competition to get a
transaction included in a block increases driving up the transaction
cost
• If the transaction cost is high the blockchain is not suitable for micro-
transactions
Solution
• Changing the architecture of the base blockchain layer is not a
solution (e.g. exotic altcoins), you still have to deal with the same
trade-offs
Solution
• Changing the architecture of the base blockchain layer is not a
solution (e.g. exotic altcoins), you still have to deal with the same
trade-offs
• Building a second transaction layer let you do secure transaction off-
chain using the blockchain only as a settlement layer
Off-Chain transactions
block n
Tx 1
From: Alice
To: Bob
Off-Chain transactions
block n
Tx 1
From: Alice
To: Bob
Tx 2
From: Bob
To: Chuck
OFF-CHAIN
Off-Chain transactions
block n block n+1
Tx 1
From: Alice
To: Bob
Tx 2
From: Bob
To: Chuck
Tx 3
From: Chuck
To: Dave
OFF-CHAIN
Off-Chain transactions
block n block n+1 block n+2
Tx 1
From: Alice
To: Bob
Tx 2
From: Bob
To: Chuck
Tx 3
From: Chuck
To: Dave
Tx 4
From: Dave
To: Ted
OFF-CHAIN
Off-Chain transactions
block n block n+1 block n+2
Tx 1
From: Alice
To: Bob
Tx 2
From: Bob
To: Chuck
Tx 3
From: Chuck
To: Dave
Tx (…)
From: (…)
To: (…)
OFF-CHAIN
Tx 4
From: Dave
To: Ted
Off-Chain transactions
block n block n+1 block n+2
Tx 1
From: Alice
To: Bob
Tx 2
From: Bob
To: Chuck
Tx 3
From: Chuck
To: Dave
Tx 20
From: Ken
To: Eve
Tx (…)
From: (…)
To: (…)
block n+2
Tx 4
From: Dave
To: Ted
OFF-CHAIN
Off-Chain transactions
block n block n+1 block n+2
Tx 1
From: Alice
To: Bob
Tx 2
From: Bob
To: Chuck
Tx 3
From: Chuck
To: Dave
Tx 20
From: Ken
To: Eve
Tx 21
From: Eve
To: Bob
Tx (…)
From: (…)
To: (…)
block n+2
Tx 4
From: Dave
To: Ted
OFF-CHAIN
Off-Chain transactions
block n block n+1 block n+2 block n+3
Tx 1
From: Alice
To: Bob
Tx 2
From: Bob
To: Chuck
Tx 3
From: Chuck
To: Dave
Tx 20
From: Ken
To: Eve
Tx 21
From: Eve
To: Bob
Tx 22
From: Bob
To: Ted
Tx (…)
From: (…)
To: (…)
block n+2
Tx 4
From: Dave
To: Ted
OFF-CHAIN
Micro payment applications
The energy
provider sends
electricity to the
buyer through the
secure meter
The energy buyer
puts money on a
secure meter
allowing it to
make transactions
The secure meter
measures the energy
transfer, and release
small quantity of
bitcoins every few
seconds
Thanks to the lightning
network and to payment
channels, transactions are
instant, costless and secure
Conclusions
• Mixing IoT and blockchain can actually make sense and there are some
scenarios where these two technologies work well together
Conclusions
• Mixing IoT and blockchain can actually make sense and there are some
scenarios where these two technologies work well together
• Data notarization from IoT sensor protects from some manipulation
attempts (no all!) and is a very scalable application
Conclusions
• Mixing IoT and blockchain can actually make sense and there are some
scenarios where these two technologies work well together
• Data notarization from IoT sensor protects from some manipulation
attempts (no all!) and is a very scalable application
• Using the blockchain is it possible to have true machine-to-machine
payments without the interference of humans
Conclusions
• Mixing IoT and blockchain can actually make sense and there are some
scenarios where these two technologies work well together
• Data notarization from IoT sensor protects from some manipulation
attempts (no all!) and is a very scalable application
• Using the blockchain is it possible to have true machine-to-machine
payments without the interference of humans
• You can add complex smart contracts and build all sort of things
Federico Tenga
COO at Chainside
federico@chainside.net
www.chainside.net

Contenu connexe

Tendances

Build Secure IoT Solutions Using... Blockchain - Geeta Chauhan
Build Secure IoT Solutions Using... Blockchain - Geeta ChauhanBuild Secure IoT Solutions Using... Blockchain - Geeta Chauhan
Build Secure IoT Solutions Using... Blockchain - Geeta Chauhan
WithTheBest
 
Hyperledger Sawtooth Lake Intel's OSS Contribution to Enterprise Blockchain
Hyperledger Sawtooth Lake Intel's OSS Contribution to Enterprise BlockchainHyperledger Sawtooth Lake Intel's OSS Contribution to Enterprise Blockchain
Hyperledger Sawtooth Lake Intel's OSS Contribution to Enterprise Blockchain
Altoros
 

Tendances (20)

Thing Monk 2017 - Blockchain Secured IOT
Thing Monk 2017 - Blockchain Secured IOTThing Monk 2017 - Blockchain Secured IOT
Thing Monk 2017 - Blockchain Secured IOT
 
Blockchain for IoT - Smart Home
Blockchain for IoT - Smart HomeBlockchain for IoT - Smart Home
Blockchain for IoT - Smart Home
 
IoT, Fog Computing and the Blockchain
IoT, Fog Computing and the BlockchainIoT, Fog Computing and the Blockchain
IoT, Fog Computing and the Blockchain
 
Build Secure IoT Solutions Using... Blockchain - Geeta Chauhan
Build Secure IoT Solutions Using... Blockchain - Geeta ChauhanBuild Secure IoT Solutions Using... Blockchain - Geeta Chauhan
Build Secure IoT Solutions Using... Blockchain - Geeta Chauhan
 
The Blockchain and the Future of Cybersecurity
The Blockchain and the Future of CybersecurityThe Blockchain and the Future of Cybersecurity
The Blockchain and the Future of Cybersecurity
 
Blockchain & the IoT
Blockchain & the IoTBlockchain & the IoT
Blockchain & the IoT
 
Blockchain Technologies
Blockchain TechnologiesBlockchain Technologies
Blockchain Technologies
 
Block chain technology
Block chain technologyBlock chain technology
Block chain technology
 
Deja vu Security - Blockchain Security Summit - Adam Cecchetti
Deja vu Security - Blockchain Security Summit - Adam CecchettiDeja vu Security - Blockchain Security Summit - Adam Cecchetti
Deja vu Security - Blockchain Security Summit - Adam Cecchetti
 
Security Model of Blockchain
Security Model of BlockchainSecurity Model of Blockchain
Security Model of Blockchain
 
How does blockchain work
How does blockchain workHow does blockchain work
How does blockchain work
 
Blockchain for Business
Blockchain for BusinessBlockchain for Business
Blockchain for Business
 
Hyperledger Sawtooth Lake Intel's OSS Contribution to Enterprise Blockchain
Hyperledger Sawtooth Lake Intel's OSS Contribution to Enterprise BlockchainHyperledger Sawtooth Lake Intel's OSS Contribution to Enterprise Blockchain
Hyperledger Sawtooth Lake Intel's OSS Contribution to Enterprise Blockchain
 
IoT and Blockchains - enhancing security and privacy
IoT and Blockchains - enhancing security and privacyIoT and Blockchains - enhancing security and privacy
IoT and Blockchains - enhancing security and privacy
 
How does hyperledger fabric blockchain work
How does hyperledger fabric blockchain work How does hyperledger fabric blockchain work
How does hyperledger fabric blockchain work
 
Introduction to Blockchain Governance Models
Introduction to Blockchain Governance ModelsIntroduction to Blockchain Governance Models
Introduction to Blockchain Governance Models
 
The Blockchain as a Software Connector
The Blockchain as a Software ConnectorThe Blockchain as a Software Connector
The Blockchain as a Software Connector
 
Security and privacy with blockchain
Security and privacy with blockchainSecurity and privacy with blockchain
Security and privacy with blockchain
 
Blockchain BTSym '16
Blockchain BTSym '16Blockchain BTSym '16
Blockchain BTSym '16
 
Blockchain Essentials and Blockchain on Azure
Blockchain Essentials and Blockchain on AzureBlockchain Essentials and Blockchain on Azure
Blockchain Essentials and Blockchain on Azure
 

Similaire à Blockchain for IoT

Similaire à Blockchain for IoT (20)

Understanding Blockchain
Understanding BlockchainUnderstanding Blockchain
Understanding Blockchain
 
Deploy a blockchain web-app with Hyperledger Fabric 1.4 - Concepts & Code
Deploy a blockchain web-app with Hyperledger Fabric 1.4 - Concepts & CodeDeploy a blockchain web-app with Hyperledger Fabric 1.4 - Concepts & Code
Deploy a blockchain web-app with Hyperledger Fabric 1.4 - Concepts & Code
 
Deployablockchainwebappwithhyperledgerfabricpresentation 190820170703
Deployablockchainwebappwithhyperledgerfabricpresentation 190820170703Deployablockchainwebappwithhyperledgerfabricpresentation 190820170703
Deployablockchainwebappwithhyperledgerfabricpresentation 190820170703
 
New Business Models enabled by Blockchain
New Business Models enabled by BlockchainNew Business Models enabled by Blockchain
New Business Models enabled by Blockchain
 
Blockchain
BlockchainBlockchain
Blockchain
 
[ETHCon Korea 2019] Lee heungno 이흥노
[ETHCon Korea 2019] Lee heungno 이흥노[ETHCon Korea 2019] Lee heungno 이흥노
[ETHCon Korea 2019] Lee heungno 이흥노
 
Blockchain in the Heart of Digital Transformation
Blockchain in the Heart of Digital TransformationBlockchain in the Heart of Digital Transformation
Blockchain in the Heart of Digital Transformation
 
Blockchain Corporate Style
Blockchain Corporate StyleBlockchain Corporate Style
Blockchain Corporate Style
 
Upfront Ventures blockchain and crypto deck
Upfront Ventures blockchain and crypto deckUpfront Ventures blockchain and crypto deck
Upfront Ventures blockchain and crypto deck
 
Designing Quality-Driven Blockchain Networks
Designing Quality-Driven Blockchain NetworksDesigning Quality-Driven Blockchain Networks
Designing Quality-Driven Blockchain Networks
 
Blockchain technology
Blockchain technologyBlockchain technology
Blockchain technology
 
Introduction to Blockchain Web3 Session
Introduction to Blockchain Web3 SessionIntroduction to Blockchain Web3 Session
Introduction to Blockchain Web3 Session
 
Blockchain and Virtual Currency - Technical issues -
Blockchain and Virtual Currency- Technical issues -Blockchain and Virtual Currency- Technical issues -
Blockchain and Virtual Currency - Technical issues -
 
Blockchain and Virtual Currency - Technical issues -
Blockchain and Virtual Currency- Technical issues -Blockchain and Virtual Currency- Technical issues -
Blockchain and Virtual Currency - Technical issues -
 
Blockchain for Business Yale School of Management Dr John Maheswaran
Blockchain for Business Yale School of Management Dr John MaheswaranBlockchain for Business Yale School of Management Dr John Maheswaran
Blockchain for Business Yale School of Management Dr John Maheswaran
 
Blockchain disruptive technology 2018
Blockchain disruptive technology 2018Blockchain disruptive technology 2018
Blockchain disruptive technology 2018
 
Why we need censorship-resistant AI
Why we need censorship-resistant AIWhy we need censorship-resistant AI
Why we need censorship-resistant AI
 
Blockchain Fundamentals
Blockchain FundamentalsBlockchain Fundamentals
Blockchain Fundamentals
 
A beginners Guide to NFTs.pdf
A beginners Guide to NFTs.pdfA beginners Guide to NFTs.pdf
A beginners Guide to NFTs.pdf
 
A Pharo story on blockchain technology
A Pharo story on blockchain technologyA Pharo story on blockchain technology
A Pharo story on blockchain technology
 

Plus de Federico Tenga

Plus de Federico Tenga (9)

Decentralised Applications on Bitcoin
Decentralised Applications on BitcoinDecentralised Applications on Bitcoin
Decentralised Applications on Bitcoin
 
Smart Contracts Technical Overview - Meetup Roma - 17/09/19
Smart Contracts Technical Overview - Meetup Roma - 17/09/19Smart Contracts Technical Overview - Meetup Roma - 17/09/19
Smart Contracts Technical Overview - Meetup Roma - 17/09/19
 
Sustainability of a multi blockchain ecosystem
Sustainability of a multi blockchain ecosystemSustainability of a multi blockchain ecosystem
Sustainability of a multi blockchain ecosystem
 
State Smart Contract Technologies
State Smart Contract TechnologiesState Smart Contract Technologies
State Smart Contract Technologies
 
Bitcoin Revolution
Bitcoin RevolutionBitcoin Revolution
Bitcoin Revolution
 
The Use of Bitcoin for Portfolio Optimization
The Use of Bitcoin for Portfolio OptimizationThe Use of Bitcoin for Portfolio Optimization
The Use of Bitcoin for Portfolio Optimization
 
Bitcoin Fork Wars: from xt to 2 x
Bitcoin Fork Wars: from xt to 2 xBitcoin Fork Wars: from xt to 2 x
Bitcoin Fork Wars: from xt to 2 x
 
Bitcoin and blockchain talk - Pavia
Bitcoin and blockchain talk - PaviaBitcoin and blockchain talk - Pavia
Bitcoin and blockchain talk - Pavia
 
Slide Federico Tenga - Conferenza Blockchain Roma 17-06-16
Slide Federico Tenga - Conferenza Blockchain Roma 17-06-16Slide Federico Tenga - Conferenza Blockchain Roma 17-06-16
Slide Federico Tenga - Conferenza Blockchain Roma 17-06-16
 

Dernier

Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
soniya singh
 
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
soniya singh
 
valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
Call Girls In Delhi Whatsup 9873940964 Enjoy Unlimited Pleasure
 
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxAWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
ellan12
 
Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵
Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵
Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵
Chandigarh Call girls 9053900678 Call girls in Chandigarh
 

Dernier (20)

Trump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts SweatshirtTrump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts Sweatshirt
 
(+971568250507 ))# Young Call Girls in Ajman By Pakistani Call Girls in ...
(+971568250507  ))#  Young Call Girls  in Ajman  By Pakistani Call Girls  in ...(+971568250507  ))#  Young Call Girls  in Ajman  By Pakistani Call Girls  in ...
(+971568250507 ))# Young Call Girls in Ajman By Pakistani Call Girls in ...
 
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service AvailableCall Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
 
Russian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl ServiceRussian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl Service
 
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls DubaiDubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
 
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
 
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
 
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
 
Russian Call Girls Pune (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
Russian Call Girls Pune  (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...Russian Call Girls Pune  (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
Russian Call Girls Pune (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
 
valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
valsad Escorts Service ☎️ 6378878445 ( Sakshi Sinha ) High Profile Call Girls...
 
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
 
VVVIP Call Girls In Connaught Place ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
VVVIP Call Girls In Connaught Place ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...VVVIP Call Girls In Connaught Place ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
VVVIP Call Girls In Connaught Place ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
 
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
 
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
 
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
 
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxAWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
 
Al Barsha Night Partner +0567686026 Call Girls Dubai
Al Barsha Night Partner +0567686026 Call Girls  DubaiAl Barsha Night Partner +0567686026 Call Girls  Dubai
Al Barsha Night Partner +0567686026 Call Girls Dubai
 
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
 
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
 
Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵
Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵
Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵
 

Blockchain for IoT

  • 1. Blockchain for IoT Federico Tenga COO at Chainside federico@chainside.net Challenges and opportunities
  • 2. Does it really make sense to mix IoT and blockchain?
  • 3. Does it really make sense to mix IoT and blockchain? Or we are just merging to buzzwords?
  • 4. Blockchain e IoT • Security of data produced by IoT sensors • IoT actuators reacting to an event on the blockchain • Machine-to-machine micro-payments
  • 5. Security of data produced by IoT sensors
  • 6. IoT data blockchain notarization Block n Block n+1 Block n+2 Block n+3 IoT sensors Gateway Calendar server Blockchain Temperproof IoT sensors collect data about the temperature and digitally sign them Collects data from the sensors and broadcasts them to the server The collected data are processed cleaning statistical anomalies. Metadata are then extracted and aggregated The metadata are sent to the blockchain creating a secure timestamping verifiable by any third party BLOCKCHAINHARDWAREIoT
  • 7. Merkle trees Hash 0.0.0 H(L1) Hash 0.0.1 H(L2) Hash 0.1.0 H(L3) Hash 0.1.1 H(L4) Hash 1.0.0 H(L5) Hash 1.0.1 H(L6) Hash 1.1.0 H(L7) Hash 1.1.1 H8L8) Hash 0.0 H(0.0.0+0.0.1) Hash 0 H(0.0+0.1) L1 L2 L3 L4 L5 L6 L7 L8 Hash 0.1 H(0.1.0+0.1.1) Hash 1.0 H(1.0.0+1.0.1) Hash 1.1 H(1.1.0+1.1.1) Hash 1 H(1.0+1.1) Top Hash H(0+1)
  • 8. Merkle trees Hash 0.0.0 H(L1) Hash 0.0.1 H(L2) Hash 0.1.0 H(L3) Hash 0.1.1 H(L4) Hash 1.0.0 H(L5) Hash 1.0.1 H(L6) Hash 1.1.0 H(L7) Hash 1.1.1 H8L8) Hash 0.0 H(0.0.0+0.0.1) Hash 0 H(0.0+0.1) L1 L2 L3 L4 L5 L6 L7 L8 Hash 0.1 H(0.1.0+0.1.1) Hash 1.0 H(1.0.0+1.0.1) Hash 1.1 H(1.1.0+1.1.1) Hash 1 H(1.0+1.1) Top Hash H(0+1)
  • 9. Merkle trees Hash 0.0.0 H(L1) Hash 0.0.1 H(L2) Hash 0.1.0 H(L3) Hash 0.1.1 H(L4) Hash 1.0.0 H(L5) Hash 1.0.1 H(L6) Hash 1.1.0 H(L7) Hash 1.1.1 H8L8) Hash 0.0 H(0.0.0+0.0.1) Hash 0 H(0.0+0.1) L1 L2 L3 L4 L5 L6 L7 L8 Hash 0.1 H(0.1.0+0.1.1) Hash 1.0 H(1.0.0+1.0.1) Hash 1.1 H(1.1.0+1.1.1) Hash 1 H(1.0+1.1) Top Hash H(0+1)
  • 10. Merkle trees Hash 0.0.0 H(L1) Hash 0.0.1 H(L2) Hash 0.1.0 H(L3) Hash 0.1.1 H(L4) Hash 1.0.0 H(L5) Hash 1.0.1 H(L6) Hash 1.1.0 H(L7) Hash 1.1.1 H8L8) Hash 0.0 H(0.0.0+0.0.1) Hash 0 H(0.0+0.1) L1 L2 L3 L4 L5 L6 L7 L8 Hash 0.1 H(0.1.0+0.1.1) Hash 1.0 H(1.0.0+1.0.1) Hash 1.1 H(1.1.0+1.1.1) Hash 1 H(1.0+1.1) Top Hash H(0+1)
  • 11. Merkle trees Hash 0.0.0 H(L1) Hash 0.0.1 H(L2) Hash 0.1.0 H(L3) Hash 0.1.1 H(L4) Hash 1.0.0 H(L5) Hash 1.0.1 H(L6) Hash 1.1.0 H(L7) Hash 1.1.1 H8L8) Hash 0.0 H(0.0.0+0.0.1) Hash 0 H(0.0+0.1) L1 L2 L3 L4 L5 L6 L7 L8 Hash 0.1 H(0.1.0+0.1.1) Hash 1.0 H(1.0.0+1.0.1) Hash 1.1 H(1.1.0+1.1.1) Hash 1 H(1.0+1.1) Top Hash H(0+1)
  • 13. IoT actuator reacting to a blockchain event Block n Block n+1 Block n+2 Block n+3 Block n+4 Block n+5 Block n+6 Block n+7 Block n+8 Block n+9 Block n+10 Block n+11 Block n+12 Block n+13 Blo n+
  • 15. Problems with blockchain micro-payments • In a blockchain the whole transaction history has to be share among all participants, so the usage has to be limited
  • 16. Problems with blockchain micro-payments • In a blockchain the whole transaction history has to be share among all participants, so the usage has to be limited • If the usage is limited to few tx/s, the competition to get a transaction included in a block increases driving up the transaction cost
  • 17. Problems with blockchain micro-payments • In a blockchain the whole transaction history has to be share among all participants, so the usage has to be limited • If the usage is limited to few tx/s, the competition to get a transaction included in a block increases driving up the transaction cost • If the transaction cost is high the blockchain is not suitable for micro- transactions
  • 18. Solution • Changing the architecture of the base blockchain layer is not a solution (e.g. exotic altcoins), you still have to deal with the same trade-offs
  • 19. Solution • Changing the architecture of the base blockchain layer is not a solution (e.g. exotic altcoins), you still have to deal with the same trade-offs • Building a second transaction layer let you do secure transaction off- chain using the blockchain only as a settlement layer
  • 20. Off-Chain transactions block n Tx 1 From: Alice To: Bob
  • 21. Off-Chain transactions block n Tx 1 From: Alice To: Bob Tx 2 From: Bob To: Chuck OFF-CHAIN
  • 22. Off-Chain transactions block n block n+1 Tx 1 From: Alice To: Bob Tx 2 From: Bob To: Chuck Tx 3 From: Chuck To: Dave OFF-CHAIN
  • 23. Off-Chain transactions block n block n+1 block n+2 Tx 1 From: Alice To: Bob Tx 2 From: Bob To: Chuck Tx 3 From: Chuck To: Dave Tx 4 From: Dave To: Ted OFF-CHAIN
  • 24. Off-Chain transactions block n block n+1 block n+2 Tx 1 From: Alice To: Bob Tx 2 From: Bob To: Chuck Tx 3 From: Chuck To: Dave Tx (…) From: (…) To: (…) OFF-CHAIN Tx 4 From: Dave To: Ted
  • 25. Off-Chain transactions block n block n+1 block n+2 Tx 1 From: Alice To: Bob Tx 2 From: Bob To: Chuck Tx 3 From: Chuck To: Dave Tx 20 From: Ken To: Eve Tx (…) From: (…) To: (…) block n+2 Tx 4 From: Dave To: Ted OFF-CHAIN
  • 26. Off-Chain transactions block n block n+1 block n+2 Tx 1 From: Alice To: Bob Tx 2 From: Bob To: Chuck Tx 3 From: Chuck To: Dave Tx 20 From: Ken To: Eve Tx 21 From: Eve To: Bob Tx (…) From: (…) To: (…) block n+2 Tx 4 From: Dave To: Ted OFF-CHAIN
  • 27. Off-Chain transactions block n block n+1 block n+2 block n+3 Tx 1 From: Alice To: Bob Tx 2 From: Bob To: Chuck Tx 3 From: Chuck To: Dave Tx 20 From: Ken To: Eve Tx 21 From: Eve To: Bob Tx 22 From: Bob To: Ted Tx (…) From: (…) To: (…) block n+2 Tx 4 From: Dave To: Ted OFF-CHAIN
  • 28. Micro payment applications The energy provider sends electricity to the buyer through the secure meter The energy buyer puts money on a secure meter allowing it to make transactions The secure meter measures the energy transfer, and release small quantity of bitcoins every few seconds Thanks to the lightning network and to payment channels, transactions are instant, costless and secure
  • 29. Conclusions • Mixing IoT and blockchain can actually make sense and there are some scenarios where these two technologies work well together
  • 30. Conclusions • Mixing IoT and blockchain can actually make sense and there are some scenarios where these two technologies work well together • Data notarization from IoT sensor protects from some manipulation attempts (no all!) and is a very scalable application
  • 31. Conclusions • Mixing IoT and blockchain can actually make sense and there are some scenarios where these two technologies work well together • Data notarization from IoT sensor protects from some manipulation attempts (no all!) and is a very scalable application • Using the blockchain is it possible to have true machine-to-machine payments without the interference of humans
  • 32. Conclusions • Mixing IoT and blockchain can actually make sense and there are some scenarios where these two technologies work well together • Data notarization from IoT sensor protects from some manipulation attempts (no all!) and is a very scalable application • Using the blockchain is it possible to have true machine-to-machine payments without the interference of humans • You can add complex smart contracts and build all sort of things
  • 33. Federico Tenga COO at Chainside federico@chainside.net www.chainside.net