Blockchain on the Oracle Cloud The next big thing? Robert van Mlken, AMIS Introductions Robert van Mlken Blockchain / Integration Specialist Frequent blogger & presenter and Board Member on Dutch Oracle User Group Co-Author of 1st Oracle PaaS book: Implementing Oracle Integration Cloud Service Author of upcoming book: Blockchain across Oracle
[email protected] Facebook.com/oracleaces @oracleace Nominate yourself or someone you know: acenomination.oracle.com Blockchain on the Oracle Cloud What is the Blockchain? Technology behind the Blockchain Applications of the Blockchain Eco system - dont build from scratch
Blockchain on Oracle Public Cloud AGENDA CLICK TO EDIT MASTER TITLE STYLE Blockchain on the Oracle Cloud 4 What is the Blockchain? A blockchain is a data structure that enables a group of entities to share a digital unified ledger and transact with each other rapidly and safely without a central authority.
Each entity controls its assets via a private key and independently verifies all transactions. Blockchains have no single point of failure, so entities can appear, disappear or malfunction without affecting the group as a whole. Blockchain on the Oracle Cloud 5 Technology behind the Blockchain Digital ledger (shared spreadsheet) A transactional 'key / value' database, decentralized public ledger with all transactions Safe and secure Combination of Peer-to-peer network and public key-cryptography without central authority
Any transaction added to the block chain is validated by multiple entities Open-source The underlying technology of bitcoin, but open-sourced I M M U T A B L E OND O R
D E R L E S S P E N E U T R A L
E C E N T R A L I Z E D blockchain == digital trust Blockchain on the Oracle Cloud 7
How does the blockchain work Blockchain on the Oracle Cloud 8 How does the Blockchain reach consensus? New created block of transactions is added to the block chain But a general ledger has to be trusted, and all of this is held digitally Designated nodes or peers confirm the settlement of transactions in a trustful manner Over these conclusion the blockchain need to reach consensus There are four major concensus algorithmes: Practical Byzantine fault tolerance (or PBFT) Proof-of-stake (or PoS) Delegated proof-of-stake (or DPoS) Proof-of-work (or PoW)
Blockchain on the Oracle Cloud 9 Operation of the "Proof-of-Work" consensus method 1. A peer or Solver takes the information and turn it into hash By applying a mathematical formula to it 2. The hash is stored along with the block in the chain 3. The blocks hash is produced using the hash of the block before it It becomes a digital version of a wax seal 4. Participants confirms that block and every block after it is legitimate If you tampered with it, everyone would know Blockchain on the Oracle Cloud 10
Blockchain 101: How does it really work? Blockchain on the Oracle Cloud 11 Blockchain on the Oracle Cloud 12 Blockchain on the Oracle Cloud 13 Blockchain on the Oracle Cloud 14
Blockchain on the Oracle Cloud 15 Blockchain on the Oracle Cloud 16 Applications of the Blockchain (non-currency) Economics, and finance Private equities, Public equities, Bonds, Spending records, Trading records, Mortgage/loan records, Crowdfunding Smart property (diamonds, cars (GPS), decentralized asset exchange) Smart contracts Governance and legal Vehicle registries, Passports, Birth & Death certificates, Voting records,
Health/safety inspections, Building permits, Criminal & court records Decentralized Application (Dapp) Buy/sell items, Ride services, peer-to-peer microblogging, file storage, Digital identity verification Blockchain on the Oracle Cloud 17 Smart Contracts Agreements between parties for automated execution can act as a complement, or substitute, for legal contracts Computer program code that is capable of facilitating, executing, and enforcing the negotiation or performance of an agreement Example shows contract to capture arbitrary data on the owner submitting claim upon transaction, given a blockchain address is not
linked to a physical identity Blockchain on the Oracle Cloud 18 Smart Contract : Insurance Blockchain on the Oracle Cloud 19 Smart Contract : Supply Chain Blockchain on the Oracle Cloud 20
Blockchain replaces existing B2B solutions Blockchain can replace B2B-integrations Instead of using Oracle B2B or Axway for classic trading/e-commerce Replace EDI or SOAP/XML integrations by putting messages on blockchain Moving high sensitive data can be difficult with SOAP/REST services Current B2B Traffic Blockchain Enhance security on web service endpoint (OWSM) + twoway SSL Specifies specific access to parties and end-to-end encryption of data using public/private key cryptography. Open firewalls on specific ports so endpoints are available to third parties.
A party or entity runs client software that connects to blockchain (peer-2-peer) network Central authority that connects partners through 3rd party software. A partner depend on its reliability. No central authority, partners can directly connect without losing authorization model. Authorization and data protection requires additional messaging protocols, contracts, translation Rules can be recorded in smart contracts that automatically trigger when a transaction occurs. There is no end-to-end track and trace between partners. Each partner does their own logging.
All messages are shared with all participant / partners without manipulation of data. A full history of transactions is available for everyone so very transparent. Blockchain on the Oracle Cloud 21 What about Oracle projects? Practical example Department of Justice Current Situation PARTNER A / SYSTEM OF RECORDS System APIs Finance System APIs POLICE / DEPARTMENT A
S O A P EBXML EBXML CPA CPA Criminal Offences S O
A P System APIs OPP EBXML CPA J M S System APIs OPS
MINISTRY OF DEFENSE POLICE / DEPARTMENT B Blockchain on the Oracle Cloud 22 What about Oracle projects? Practical example Department of Justice 1. D.o.J. perform initial setup of Blockchain and mines genesis block (regulator)
2. Partner A and Police Dept A & B join the private blockchain 3. Nobody is owner of data, all partners are part of a consortium Central Collection Agency OPP
4. All partners can write and read data into/from blockchain 5. Partner A writes data into blockchain, which is validated by consortium 6. Police can read data from blockchain ones validated &
process data Department A Partner A Department of Justice Regulator Department B Blockchain on the Oracle Cloud 23 Eco system dont build from scratch Public Blockchains
BitCoin, AltCoins (LiteCoin) Etherium (Ether) Hyperledger Ripple Private / Consortium blockchains Eris::Monax (turnkey solutions) Oracle Blockchain Cloud Service (oct 17) Microsoft Blockchain as a Service Hyperledger Fabric of MultiChain Blockchain on the Oracle Cloud 24 Public vs Private blockchains Public blockchains Anyone in the world can read
Anyone in the world can send transactions Anyone see transactions included if they are valid Anyone can participate in the consensus process Fully decentralized Private / Consortium blockchains Write permissions are kept centralized to one organization or consortium Read permissions may be public or restricted Include database management, auditing, etc Consortium of selected nodes participate in consensus Blockchain on the Oracle Cloud 25 Practical Blockchain Development for Oracle Developers
Container Cloud + Introducing the Oracle Container cloud Managing Containers Easily on Oracle Cloud Prebuild Application and Ready-made Building Blocks Copy and Paste AppYAML for Code Sharing Interface & Wizards provide easy orchestration
Scale your Containerized Apps (any language) Import Docker Run and Compose Files Manage Containers in the Cloud or using REST API Blockchain on the Oracle Cloud 27 Introducing Hyperledger Fabric Permissioned Blockchain for the Enterprise
Founded early 2016 as part of Linux Foundations Hyperledger project Includes a ledger, uses smart contracts, and is a system by which participants manage their transactions. It is private and permissioned New members of network enroll through a Membership Service Provider Offers several pluggable options Store data in multiple formats, switchable consensus mechanisms Offers the ability to create channels Allowing a group of participants to create a separate ledger of transactions Blockchain on the Oracle Cloud 28 Introducing Hyperledger Fabric Shared Ledger and Smart Contracts Each participant has a copy of the ledger to every network they belong to.
Ledger comprising two components: world state & transaction log World state describes state of the ledger at a given point in time (database) Transaction log records all transactions which have resulted in the current value of the world state (update history) Ledger has a replaceable data store for the world state. By default, a LevelDB key-value store database else CouchDB Smart contracts are written in chaincode and invoked by an external application Mostly interacts with the database component (querying world state) Blockchain on the Oracle Cloud 29 Introducing Hyperledger Fabric Privacy and Consensus Supports networks where privacy: is a key operational requirement using channels
is not a top concern comparatively open Offers switchable consensus methods Chosen by network starter(s) Represents relationschips between participants Includes: PBFT, No-Op, SIEVE, and more Blockchain on the Oracle Cloud 30 Hyperledger Fabric + Container cloud Available as docker images: yeasy/hyperledger-fabric-ca:1.0.2 yeasy/hyperledger-fabricorderer:1.0.2 yeasy/hyperledger-fabricpeer:1.0.2
Get Oracle Container Cloud using free trial credits Use docker compose to import images using YAML Blockchain on the Oracle Cloud The next big thing? Robert van Mlken, AMIS
Civics Test Requirement. SB 132 - Sen. Dennis Kruse (R) Provides that as part of the United States government credit awarded for the general, Core 40, Core 40 with academic honors, and Core 40 with technical honors designation, each high...
Fusionless Correction for Early Onset Scoliosis (EOS) Emma Orton BME 281 What is EOS? Diagnosed before the skeletal age of 10 There is a lateral curve of the spine Causes pulmonary problems later in life There are three different types...
The Functions of Formal Education Systems Here is an introduction to the differing sociological approaches to the analysis of formal education systems. You will also wish to extend your knowledge with further reading and discussion! Click here to link to...
One More Experimental Symptomatic Therapy… Conclusions MRI is a powerful and sensitive tool for diagnosing MS but lacks pathological specificity. MRI is a valuable surrogate marker of biological disease activity and severity. The continuing worsening of MRI findings, even if...
God, Gold, Glory Motives for European exploration of the New World God Religious freedom ~ Puritans (1620s) came to practice religion their own way Protestant Reformation ~ A split in the Catholic church (1500s); Catholic & Protestant countries spread their...