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

PDF
IBM Connections REST-API Waltz
PPTX
IBM Connections REST API Klompendans
PPTX
IBM Connections REST API Hip-Hop
PDF
02_07_2018_«El valor de blockchain en el registro de la actividad académica: ...
PDF
Blockchain Beyond Finance - Cronos Groep - Jan 17, 2017
PDF
Using Blockchain to Increase Supply Chain Transparency
PDF
Continuum Analytics and Python
PDF
Executive summary guild42 elca_blockchain.pptx_v1.0
IBM Connections REST-API Waltz
IBM Connections REST API Klompendans
IBM Connections REST API Hip-Hop
02_07_2018_«El valor de blockchain en el registro de la actividad académica: ...
Blockchain Beyond Finance - Cronos Groep - Jan 17, 2017
Using Blockchain to Increase Supply Chain Transparency
Continuum Analytics and Python
Executive summary guild42 elca_blockchain.pptx_v1.0

Similar to HyperLedger LightningTalk BjoernSimon (20)

PDF
Blockchain Basics and Future Uses - Long
PDF
8base Hyperledger Miami Meetup 20180719
PDF
8base Hyperledger Miami Meetup Presentation
PDF
Proffer Blockchain Hackathon $17K+ prizes | Launch Presentation
PDF
DLT analytics and AI workshop 13 march 2019
PDF
Blockchain, AI and Machine Learning
PDF
Hyperleger Fabric Workshop - Denver Blockchain Week
PPTX
OSINT for Proactive Defense - RootConf 2019
PDF
Blockchain Will Be Bigger Than the Internet
PDF
The new decentralized compute stack and its application
PDF
Where the Social Web Meets the Semantic Web. Tom Gruber
PPTX
Blockchain 101
PDF
Privacy. Winter School on “Topics in Digital Trust”. IIT Bombay
PPTX
Tools for Open Source Intelligence (OSINT)
PDF
Blockchain in a nutshell
PPTX
Blockchain For Science at NFAIS Blockchain for Scientific publishing conference
PDF
Web 3 and IP: Cryptocurrencies, Blockchain, and NFTs
PDF
Blockchains as a Component of the Next generation Internet
PDF
From Virtual Reality to Blockchain: Current and Emerging Tech Trends
PDF
Meetup 19/12/2016 - Blockchain-as-a-service voor Antwerpen?
Blockchain Basics and Future Uses - Long
8base Hyperledger Miami Meetup 20180719
8base Hyperledger Miami Meetup Presentation
Proffer Blockchain Hackathon $17K+ prizes | Launch Presentation
DLT analytics and AI workshop 13 march 2019
Blockchain, AI and Machine Learning
Hyperleger Fabric Workshop - Denver Blockchain Week
OSINT for Proactive Defense - RootConf 2019
Blockchain Will Be Bigger Than the Internet
The new decentralized compute stack and its application
Where the Social Web Meets the Semantic Web. Tom Gruber
Blockchain 101
Privacy. Winter School on “Topics in Digital Trust”. IIT Bombay
Tools for Open Source Intelligence (OSINT)
Blockchain in a nutshell
Blockchain For Science at NFAIS Blockchain for Scientific publishing conference
Web 3 and IP: Cryptocurrencies, Blockchain, and NFTs
Blockchains as a Component of the Next generation Internet
From Virtual Reality to Blockchain: Current and Emerging Tech Trends
Meetup 19/12/2016 - Blockchain-as-a-service voor Antwerpen?
Ad

Recently uploaded (20)

PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
Spectroscopy.pptx food analysis technology
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
cuic standard and advanced reporting.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Electronic commerce courselecture one. Pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Understanding_Digital_Forensics_Presentation.pptx
MIND Revenue Release Quarter 2 2025 Press Release
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Spectroscopy.pptx food analysis technology
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Encapsulation_ Review paper, used for researhc scholars
cuic standard and advanced reporting.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
The Rise and Fall of 3GPP – Time for a Sabbatical?
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Electronic commerce courselecture one. Pdf
Chapter 3 Spatial Domain Image Processing.pdf
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
20250228 LYD VKU AI Blended-Learning.pptx
Mobile App Security Testing_ A Comprehensive Guide.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Ad

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

  • #4: Duplicated records: inefficient, slow What happens if these records differ?
  • #5: 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
  • #9: 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
  • #10: 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
  • #11: 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
  • #12: 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
  • #15: Distributed state/database & Function as a Service