More Related Content
Similar to Oracle Blockchain Experience Day (20)
More from Juarez Junior (20)
Oracle Blockchain Experience Day
- 1. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Blockchain App Development – Oracle
Blockchain Day
Juarez Barbosa Junior
Principal Developer Advocate, Blockchain Evangelist
Oracle EMEA
juarez.barbosa@oracle.com
https://www.linkedin.com/in/jujunior
@juarezjunior
May 2019
- 2. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Safe Harbor Statement
The following is intended to outline our general product direction. It is intended for
information purposes only, and may not be incorporated into any contract. It is not a
commitment to deliver any material, code, or functionality, and should not be relied upon
in making purchasing decisions. The development, release, and timing of any features or
functionality described for Oracle’s products remains at the sole discretion of Oracle.
- 3. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Agenda
Blockchain Technology
Hyperledger Fabric
Blockchain App Development
Oracle Blockchain Platform
1
2
3
4
- 5. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. 5
The Promise of Blockchain
"The technology most likely to
change the next decade of
business is not the Social, Big
Data, the Cloud, Robotics, or
even AI. It is the Blockchain!“
—Harvard Business Review
"The Impact of Blockchain Goes
Beyond Financial Services,"
May 2016
- 6. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. 6
The Promise of Blockchain
"We are in the process of
developing a New Operating
System (OS) for the planet.”
— Jeremy Wilson
Vice Chairman of Corporate Banking
Barclay’s Bank
Blockchain for Finance conference,
October 2017
- 7. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Eliminating intermediaries means reduced transaction costs and
near real-time transaction execution
Increased confidence in the information and reduced fraud
opportunities
Increased auditability and trust
Automated business processes in a trusted way. Represent any
asset digitally
Eliminates manual efforts and delays due to reconciliation
needs since data consistency is a key attribute of the distributed
ledger
Blockchain Technology
Disruptive Characteristics / Benefits
Decentralized, peer-to-peer network
No central, controlling authority
Distributed Ledger
All participants maintain a copy of the ledger
Immutable transaction history
Impossible to make changes to existing
transactions in a blockchain without detection
Transparent
Transactions on a blockchain are visible to the
authorized participants
Smart Contracts
Business logic deployed on a blockchain and
shared and validated by participants
- 8. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Two Key Types of Blockchain
PermissionedPermissionless
• Anyone can join the network and have a
copy of the ledger
• This involves computer resource
intensive processes to protect the
Blockchain incl. mining
• Additional mechanisms to protect
network from overload if smart contracts
used
• Typically B-2-C, C-2-C (eg. Bitcoin,
Ethereum)
• Closed ecosystem: members are
invitation-only
• Less intrinsic protection needed, thus
greater scalability (protection through
firewalls, identity management, defined
smart contracts)
• Typically B-2-B (eg. Hyperledger/Oracle)
- 10. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
What is Hyperledger Fabric?
• Fabric – open-source platform for distributed ledger solutions that is
intended as a foundation for developing blockchain solutions
– Provides a permissioned blockchain model with membership
services
– Designed with modular architecture allowing components, such as
consensus and membership services, to be pluggable
– Programmable – leverages containers to host smart contracts for
automating business processes
– Focuses on a scalable implementation by separating smart contract
execution from block creation
– Provides private channels for conducting confidential/private
transactions with invited members
– Open-governed community for enterprise blockchain hosted by The
Linux Foundation
– No cryptocurrency required!
Permissioned, Open-Source, Enterprise, B2B
- 11. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Ledger
X
• Collaborative network of organizations
using a common blockchain
– Oracle cloud or heterogeneous nodes
• Create a new network or add to an
existing network
• Ensure privacy by creating channels with
distinct policies and data access
spanning multiple orgs
OBP Interactions – Creating Business Network
BCS A BCS B BCS C
Org
A
Org
B
Org
C
P P P P P P P
P P P P
Consortium: X (A+B+C); Channel: CH1
Consortium: Y (A+C+D); Channel: CH2
P PLedger
Y
O
O
O O
O O
HLF D
Org
D
P P
P
Oracle Public Cloud
On Premises
- 12. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Hyperledger Fabric - Transaction Flow
Client Application
Fabric SDK
Keys
Membership Service
Peers
Endorser
Simulates TX
World
State
Committer
Applies changes
Ordering Service
Certificate
Authority
Federated
Identity
4.0 - Deliver TX Batch
Validate Signatures
and Authorization
Membership
Services container
Peer container
Orderer container
Orders TXs into
batches
according to
consensus
Container
Legend
Customer Code
3.0 - Submit Endorsed TX
Includes RWset and endorser
signatures
Ledger
5.0 – Writes ledger block
5.1 - Updates State
6.0 – Commit Notification
Fabric Code
Smart contract container
Smart Contract
(Chaincode)
- 14. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 14
Blockchain Technologies
Blockchain Technologies -
Hyperledger
- 15. Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
Smart contract developers who create chaincode
• Deploy through console or through SDK
• Test through Web Services/REST APIs
• SQL-based rich queries for world state with full validation on
commit
Application developers will develop/integrate end-user
apps, which execute transactions via smart-contracts
• Client SDK (Java, Node.js, Go, Python)
• Server SDK (Chaincode – Java, Go, Node.js)
• Web Services/REST APIs
• Rich queries on history DB
• Business-user friendly smart contracts leveraging rules engine
technology for human-readable smart contracts
• API-driven common application layers
• Issuing and tracking tokens and other assets
• Tracking documents and collaboration surrounding them
• Automated deployment or upgrades of smart contracts
leveraging DevOps integration of CI/CD tooling
Smart Contract and Application Development
15
Client
SDK
Keys
Application Developers Smart Contract
Developer
REST Proxy
(HLF SDK)
BCS
Console
Blockchain Network
REST
Dev mode
Unit testing
with mock
ledger
- 17. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
OBP - Comprehensive Blockchain Platform
17
Membership
Service
Membership Service
Applications
Validating Nodes/ Peers
Distributed Ledger
(Single Version of Truth)
Smart Contracts
(aka Chaincode)
Ordering Service
Ordering Service
REST Proxy
Operations
Admin/Operations Console
Integrated backplane of supporting services
Oracle value-add
Rich integration tools for SORs & new apps
App
App
SDK
REST proxy
REST
Flexible, global, interoperable deployments
Autonomous, Oracle-managed PaaS
SQL-based rich queries over K-V ledger
P P
P
Pre-assembled Dependencies
- 18. Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
Learn More
http://oracle.com/blockchain
http://cloud.oracle.com/blockchain
http://developer.oracle.com/blockchainNext Steps
https://www.f6s.com/oraclescaleup
https://cloud.oracle.com/en_US/tryit