SlideShare a Scribd company logo
HYPERLEDGER
(SMART CONTRACTS ON BLOCKCHAIN)
& JAVASCRIPT
SEM Lightning Talk; June 11, 2018
Björn Simon @BjrnSmn
WHY IS THIS IMPORTANT?
• “What the internet did for communications, blockchain will do for
trusted transactions.” — Ginni Rometty (CEO of IBM)
• Potential to disrupt and improve across most industries
• Foundational Technology – “The next big thing”…
• Impact compared to invention of
• Internet &
• Open-Source
• For me, personally:
• Who do you trust with your data?
• How can I share securely on a need-to-know-bases and maintain
privacy?
USE CASES?
Source: https://youtu.be/gAxK6zYrfxI?t=89 IBM: Building Blockchain Apps With HyperLedger
Composer
USE CASES!
Source: https://youtu.be/gAxK6zYrfxI?t=112 IBM: Building Blockchain Apps With HyperLedger
Composer
MORE USE CASES!
• Goods tracking
• Shipments, food, e.g. track temperature & location via IoT sensors
• Fintech
• Sharing economies
• Energy
• Digital identify
• Identity, educational certificates/degrees, benefits
• Medical records
• Prevent human trafficking
BLOCKCHAIN, BITCOIN, HYPERLEDGER?
Peer-2-Peer
Crypto HashCrypto Hash
Distributed
Consensus
Blockchain
Crypto
Currency
Smart
Contracts
Ethereum +
Solidity
HyperLedger
Event
Processing
• Linux foundation, 2015, >140
members
• Focus on Smart Contracts &
decentralized enterprise
applications
• Scalability
• Node.js support
Bitcoin
ACL, Privacy
WHAT IS BLOCKCHAIN?
• Immutable, append only ledger
• Cryptographically hashed
Source: https://www.thoughtworks.com/insights/blog/blockchain-under-hood
WHAT IS BLOCKCHAIN?
• Trusted, distributed ledger
• Peer-2-peer
• Consensus
Source: https://en.bitcoinwiki.org/wiki/File:Peer-to-peer.png
HYPERLEDGER TOOLING
Source: https://youtu.be/gAxK6zYrfxI?t=576
EXAMPLE CODE (1)
/**.cto: Businesss definition */
namespace org.ex1
asset MyAsset identified by assetId {
o String assetId
--> MyParticipant owner
o String value
}
participant SampleParticipant
identified by participantId {
/*…*/ }
Source: https://composer-playground.mybluemix.net/editor
// Sample Asset:
{ "$class": "org.ex1.MyAsset",
"assetId": "assetId:1",
"owner": "resource:org.ex1.MyParticipant#Toby",
"value": "original value"
}
// Sample Participant:
{ "$class": "org.ex1.MyParticipant",
"participantId": "Toby",
"firstName": "Tobias", "lastName": "Hunter"
}
EXAMPLE CODE (2)
/**.cto: Businesss definition, part 2 */
transaction SampleTransaction {
--> MyAsset asset
o String newValue
}
event MyEvent {
--> MyAsset asset
o String oldValue
o String newValue
}
Source: https://composer-playground.mybluemix.net/editor
// Sample Transaction:
{"$class": "org.ex1.MyTransaction",
"asset": "resource:org.ex1.MyAsset#assetId:1",
"newValue": "new value"
}
EXAMPLE CODE (3)
/** Transaction processing .js */
async function sampleTransaction(tx) {
const oldValue = tx.asset.value;
...
const assetRegistry = await getAssetRegistry('org.ex1.MyAsset');
// Update asset in registry
await assetRegistry.update(tx.asset);
// Emit event for modified asset
let event = getFactory().newEvent('org.ex1', ‘MyEvent');
...; emit(event);
}
Source: https://composer-playground.mybluemix.net/editor
HOW TO RUN HYPERLEDGER?
• Run in browser: https://composer-playground.mybluemix.net/
• Local Docker: https://hyperledger.github.io/composer/latest/installing/installing-
index.html
• Cloud
• AWS: https://aws.amazon.com/blockchain/
• Azure: https://azure.microsoft.com/en-us/solutions/blockchain/
• IBM: https://www.ibm.com/blockchain/hyperledger
• Oracle: https://www.oracle.com/cloud/blockchain/index.html
• …
FURTHER RESOURCES
• https://www.computerworld.com/article/3191077/security/what-is-
blockchain-the-most-disruptive-tech-in-decades.html
• https://medium.com/@madronaventurelabs/building-enterprise-
blockchain-applications-in-hyperledger-8d869bb214d9
• https://www.slideshare.net/SimonStone8/hyperledger-composer-
architecture
• Blockchain visual demo: https://anders.com/blockchain/
• https://www.hyperledger.org/projects/sawtooth &
https://github.com/hyperledger
• https://www.linkedin.com/pulse/git-blockchain-dave-mercer/
• https://www-
01.ibm.com/events/wwe/grp/grp308.nsf/vLookupPDFs/blockchain%20ar
chtage/$file/blockchain%20archtage.pdf
QUESTIONS?
• Thank you!

More Related Content

Similar to HyperLedger LightningTalk BjoernSimon

Blockchain Basics and Future Uses - Long
Blockchain Basics and Future Uses - LongBlockchain Basics and Future Uses - Long
Blockchain Basics and Future Uses - LongSean Manion PhD
 
8base Hyperledger Miami Meetup Presentation
8base Hyperledger Miami Meetup Presentation8base Hyperledger Miami Meetup Presentation
8base Hyperledger Miami Meetup Presentation8base
 
8base Hyperledger Miami Meetup 20180719
8base Hyperledger Miami Meetup 201807198base Hyperledger Miami Meetup 20180719
8base Hyperledger Miami Meetup 20180719Oscar Perez
 
Proffer Blockchain Hackathon $17K+ prizes | Launch Presentation
Proffer Blockchain Hackathon $17K+ prizes | Launch PresentationProffer Blockchain Hackathon $17K+ prizes | Launch Presentation
Proffer Blockchain Hackathon $17K+ prizes | Launch PresentationAnshul Bhagi
 
DLT analytics and AI workshop 13 march 2019
DLT analytics and AI workshop   13 march  2019DLT analytics and AI workshop   13 march  2019
DLT analytics and AI workshop 13 march 2019Stavros Zervoudakis
 
Blockchain, AI and Machine Learning
Blockchain, AI and Machine LearningBlockchain, AI and Machine Learning
Blockchain, AI and Machine LearningTao Wang
 
Hyperleger Fabric Workshop - Denver Blockchain Week
Hyperleger Fabric Workshop - Denver Blockchain WeekHyperleger Fabric Workshop - Denver Blockchain Week
Hyperleger Fabric Workshop - Denver Blockchain WeekHorea Porutiu
 
OSINT for Proactive Defense - RootConf 2019
OSINT for Proactive Defense - RootConf 2019OSINT for Proactive Defense - RootConf 2019
OSINT for Proactive Defense - RootConf 2019RedHunt Labs
 
Blockchain Will Be Bigger Than the Internet
Blockchain Will Be Bigger Than the InternetBlockchain Will Be Bigger Than the Internet
Blockchain Will Be Bigger Than the InternetMike Onghai
 
The new decentralized compute stack and its application
The new decentralized compute stack and its applicationThe new decentralized compute stack and its application
The new decentralized compute stack and its applicationBigchainDB
 
Where the Social Web Meets the Semantic Web. Tom Gruber
Where the Social Web Meets the Semantic Web. Tom GruberWhere the Social Web Meets the Semantic Web. Tom Gruber
Where the Social Web Meets the Semantic Web. Tom GruberNelson Piedra
 
Privacy. Winter School on “Topics in Digital Trust”. IIT Bombay
Privacy. Winter School on “Topics in Digital Trust”. IIT BombayPrivacy. Winter School on “Topics in Digital Trust”. IIT Bombay
Privacy. Winter School on “Topics in Digital Trust”. IIT BombayIIIT Hyderabad
 
Tools for Open Source Intelligence (OSINT)
Tools for Open Source Intelligence (OSINT)Tools for Open Source Intelligence (OSINT)
Tools for Open Source Intelligence (OSINT)Sudhanshu Chauhan
 
Blockchain For Science at NFAIS Blockchain for Scientific publishing conference
Blockchain For Science at NFAIS Blockchain for Scientific publishing conferenceBlockchain For Science at NFAIS Blockchain for Scientific publishing conference
Blockchain For Science at NFAIS Blockchain for Scientific publishing conferenceSoenke Bartling
 
Web 3 and IP: Cryptocurrencies, Blockchain, and NFTs
Web 3 and IP: Cryptocurrencies, Blockchain, and NFTsWeb 3 and IP: Cryptocurrencies, Blockchain, and NFTs
Web 3 and IP: Cryptocurrencies, Blockchain, and NFTsAurora Consulting
 
Blockchains as a Component of the Next generation Internet
Blockchains as a Component of the Next generation InternetBlockchains as a Component of the Next generation Internet
Blockchains as a Component of the Next generation InternetJohn Domingue
 
From Virtual Reality to Blockchain: Current and Emerging Tech Trends
From Virtual Reality to Blockchain: Current and Emerging Tech TrendsFrom Virtual Reality to Blockchain: Current and Emerging Tech Trends
From Virtual Reality to Blockchain: Current and Emerging Tech TrendsBohyun Kim
 
BigchainDB - Big Data meets Blockchain
BigchainDB - Big Data meets BlockchainBigchainDB - Big Data meets Blockchain
BigchainDB - Big Data meets BlockchainDimitri De Jonghe
 

Similar to HyperLedger LightningTalk BjoernSimon (20)

Blockchain Basics and Future Uses - Long
Blockchain Basics and Future Uses - LongBlockchain Basics and Future Uses - Long
Blockchain Basics and Future Uses - Long
 
8base Hyperledger Miami Meetup Presentation
8base Hyperledger Miami Meetup Presentation8base Hyperledger Miami Meetup Presentation
8base Hyperledger Miami Meetup Presentation
 
8base Hyperledger Miami Meetup 20180719
8base Hyperledger Miami Meetup 201807198base Hyperledger Miami Meetup 20180719
8base Hyperledger Miami Meetup 20180719
 
Proffer Blockchain Hackathon $17K+ prizes | Launch Presentation
Proffer Blockchain Hackathon $17K+ prizes | Launch PresentationProffer Blockchain Hackathon $17K+ prizes | Launch Presentation
Proffer Blockchain Hackathon $17K+ prizes | Launch Presentation
 
DLT analytics and AI workshop 13 march 2019
DLT analytics and AI workshop   13 march  2019DLT analytics and AI workshop   13 march  2019
DLT analytics and AI workshop 13 march 2019
 
Blockchain, AI and Machine Learning
Blockchain, AI and Machine LearningBlockchain, AI and Machine Learning
Blockchain, AI and Machine Learning
 
Hyperleger Fabric Workshop - Denver Blockchain Week
Hyperleger Fabric Workshop - Denver Blockchain WeekHyperleger Fabric Workshop - Denver Blockchain Week
Hyperleger Fabric Workshop - Denver Blockchain Week
 
OSINT for Proactive Defense - RootConf 2019
OSINT for Proactive Defense - RootConf 2019OSINT for Proactive Defense - RootConf 2019
OSINT for Proactive Defense - RootConf 2019
 
Blockchain Will Be Bigger Than the Internet
Blockchain Will Be Bigger Than the InternetBlockchain Will Be Bigger Than the Internet
Blockchain Will Be Bigger Than the Internet
 
The new decentralized compute stack and its application
The new decentralized compute stack and its applicationThe new decentralized compute stack and its application
The new decentralized compute stack and its application
 
Where the Social Web Meets the Semantic Web. Tom Gruber
Where the Social Web Meets the Semantic Web. Tom GruberWhere the Social Web Meets the Semantic Web. Tom Gruber
Where the Social Web Meets the Semantic Web. Tom Gruber
 
Blockchain 101
Blockchain 101Blockchain 101
Blockchain 101
 
Privacy. Winter School on “Topics in Digital Trust”. IIT Bombay
Privacy. Winter School on “Topics in Digital Trust”. IIT BombayPrivacy. Winter School on “Topics in Digital Trust”. IIT Bombay
Privacy. Winter School on “Topics in Digital Trust”. IIT Bombay
 
Tools for Open Source Intelligence (OSINT)
Tools for Open Source Intelligence (OSINT)Tools for Open Source Intelligence (OSINT)
Tools for Open Source Intelligence (OSINT)
 
Blockchain in a nutshell
Blockchain in a nutshellBlockchain in a nutshell
Blockchain in a nutshell
 
Blockchain For Science at NFAIS Blockchain for Scientific publishing conference
Blockchain For Science at NFAIS Blockchain for Scientific publishing conferenceBlockchain For Science at NFAIS Blockchain for Scientific publishing conference
Blockchain For Science at NFAIS Blockchain for Scientific publishing conference
 
Web 3 and IP: Cryptocurrencies, Blockchain, and NFTs
Web 3 and IP: Cryptocurrencies, Blockchain, and NFTsWeb 3 and IP: Cryptocurrencies, Blockchain, and NFTs
Web 3 and IP: Cryptocurrencies, Blockchain, and NFTs
 
Blockchains as a Component of the Next generation Internet
Blockchains as a Component of the Next generation InternetBlockchains as a Component of the Next generation Internet
Blockchains as a Component of the Next generation Internet
 
From Virtual Reality to Blockchain: Current and Emerging Tech Trends
From Virtual Reality to Blockchain: Current and Emerging Tech TrendsFrom Virtual Reality to Blockchain: Current and Emerging Tech Trends
From Virtual Reality to Blockchain: Current and Emerging Tech Trends
 
BigchainDB - Big Data meets Blockchain
BigchainDB - Big Data meets BlockchainBigchainDB - Big Data meets Blockchain
BigchainDB - Big Data meets Blockchain
 

Recently uploaded

How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...Product School
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...Elena Simperl
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform EngineeringJemma Hussein Allen
 
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀DianaGray10
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingThijs Feryn
 
IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoTAnalytics
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesThousandEyes
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupCatarinaPereira64715
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Product School
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...Product School
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxAbida Shariff
 
Speed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in MinutesSpeed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in Minutesconfluent
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Alison B. Lowndes
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Thierry Lestable
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance
 
In-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT ProfessionalsIn-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT ProfessionalsExpeed Software
 
Demystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John StaveleyDemystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John StaveleyJohn Staveley
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesBhaskar Mitra
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Jeffrey Haguewood
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance
 

Recently uploaded (20)

How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
 
Speed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in MinutesSpeed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in Minutes
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
In-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT ProfessionalsIn-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT Professionals
 
Demystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John StaveleyDemystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John Staveley
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 

HyperLedger LightningTalk BjoernSimon

  • 1. HYPERLEDGER (SMART CONTRACTS ON BLOCKCHAIN) & JAVASCRIPT SEM Lightning Talk; June 11, 2018 Björn Simon @BjrnSmn
  • 2. WHY IS THIS IMPORTANT? • “What the internet did for communications, blockchain will do for trusted transactions.” — Ginni Rometty (CEO of IBM) • Potential to disrupt and improve across most industries • Foundational Technology – “The next big thing”… • Impact compared to invention of • Internet & • Open-Source • For me, personally: • Who do you trust with your data? • How can I share securely on a need-to-know-bases and maintain privacy?
  • 3. USE CASES? Source: https://youtu.be/gAxK6zYrfxI?t=89 IBM: Building Blockchain Apps With HyperLedger Composer
  • 4. USE CASES! Source: https://youtu.be/gAxK6zYrfxI?t=112 IBM: Building Blockchain Apps With HyperLedger Composer
  • 5. MORE USE CASES! • Goods tracking • Shipments, food, e.g. track temperature & location via IoT sensors • Fintech • Sharing economies • Energy • Digital identify • Identity, educational certificates/degrees, benefits • Medical records • Prevent human trafficking
  • 6. BLOCKCHAIN, BITCOIN, HYPERLEDGER? Peer-2-Peer Crypto HashCrypto Hash Distributed Consensus Blockchain Crypto Currency Smart Contracts Ethereum + Solidity HyperLedger Event Processing • Linux foundation, 2015, >140 members • Focus on Smart Contracts & decentralized enterprise applications • Scalability • Node.js support Bitcoin ACL, Privacy
  • 7. WHAT IS BLOCKCHAIN? • Immutable, append only ledger • Cryptographically hashed Source: https://www.thoughtworks.com/insights/blog/blockchain-under-hood
  • 8. WHAT IS BLOCKCHAIN? • Trusted, distributed ledger • Peer-2-peer • Consensus Source: https://en.bitcoinwiki.org/wiki/File:Peer-to-peer.png
  • 10. EXAMPLE CODE (1) /**.cto: Businesss definition */ namespace org.ex1 asset MyAsset identified by assetId { o String assetId --> MyParticipant owner o String value } participant SampleParticipant identified by participantId { /*…*/ } Source: https://composer-playground.mybluemix.net/editor // Sample Asset: { "$class": "org.ex1.MyAsset", "assetId": "assetId:1", "owner": "resource:org.ex1.MyParticipant#Toby", "value": "original value" } // Sample Participant: { "$class": "org.ex1.MyParticipant", "participantId": "Toby", "firstName": "Tobias", "lastName": "Hunter" }
  • 11. EXAMPLE CODE (2) /**.cto: Businesss definition, part 2 */ transaction SampleTransaction { --> MyAsset asset o String newValue } event MyEvent { --> MyAsset asset o String oldValue o String newValue } Source: https://composer-playground.mybluemix.net/editor // Sample Transaction: {"$class": "org.ex1.MyTransaction", "asset": "resource:org.ex1.MyAsset#assetId:1", "newValue": "new value" }
  • 12. EXAMPLE CODE (3) /** Transaction processing .js */ async function sampleTransaction(tx) { const oldValue = tx.asset.value; ... const assetRegistry = await getAssetRegistry('org.ex1.MyAsset'); // Update asset in registry await assetRegistry.update(tx.asset); // Emit event for modified asset let event = getFactory().newEvent('org.ex1', ‘MyEvent'); ...; emit(event); } Source: https://composer-playground.mybluemix.net/editor
  • 13. HOW TO RUN HYPERLEDGER? • Run in browser: https://composer-playground.mybluemix.net/ • Local Docker: https://hyperledger.github.io/composer/latest/installing/installing- index.html • Cloud • AWS: https://aws.amazon.com/blockchain/ • Azure: https://azure.microsoft.com/en-us/solutions/blockchain/ • IBM: https://www.ibm.com/blockchain/hyperledger • Oracle: https://www.oracle.com/cloud/blockchain/index.html • …
  • 14. FURTHER RESOURCES • https://www.computerworld.com/article/3191077/security/what-is- blockchain-the-most-disruptive-tech-in-decades.html • https://medium.com/@madronaventurelabs/building-enterprise- blockchain-applications-in-hyperledger-8d869bb214d9 • https://www.slideshare.net/SimonStone8/hyperledger-composer- architecture • Blockchain visual demo: https://anders.com/blockchain/ • https://www.hyperledger.org/projects/sawtooth & https://github.com/hyperledger • https://www.linkedin.com/pulse/git-blockchain-dave-mercer/ • https://www- 01.ibm.com/events/wwe/grp/grp308.nsf/vLookupPDFs/blockchain%20ar chtage/$file/blockchain%20archtage.pdf

Editor's Notes

  1. Duplicated records: inefficient, slow What happens if these records differ?
  2. Shared Ledger: Append only, distributed Privacy: Who can see or update what Smart Contract: Business terms/rules embedded & automatically executed Trust: Events & transactions are verified & endorsed
  3. Blockchain – foundational technology, like the internet. Many known concepts: Distributed consensus – similar to distributed system consensus Event processing - react to events, execute code stored in Smart contracts Cryptographically signing – like JWT Peer-2-Peer – like Torrent
  4. Many known concepts: Distributed consensus – similar to distributed system consensus Event processing - react to events, execute code stored in Smart contracts Cryptographically signing – like JWT Peer-2-Peer – like Torrent
  5. Many known concepts: Distributed consensus – similar to distributed system consensus Event processing - react to events, execute code stored in Smart contracts Cryptographically signing – like JWT Peer-2-Peer – like Torrent
  6. Shared Ledger: Append only, distributed Privacy: Who can see or update what Smart Contract: Business terms/rules embedded & automatically executed Trust: Events & transactions are verified & endorsed
  7. Distributed state/database & Function as a Service