GABC2019: Architecting Blockchain applications with Azure Blockchain Workbench by Daniel Szego

GABC2019: Architecting Blockchain applications with Azure Blockchain Workbench by Daniel Szego

With the help of a complete use-case, we will demonstrate how a full blockchain application should be built up from scratch with the help Azure Blockchain Workbench, including but not limited to the smart contract, JSON application model and reporting or power BI integration.

0754d30f3acc99a940aebdcd49d5af97?s=128

Azure Zurich User Group

April 27, 2019
Tweet

Transcript

  1. 1.

    DANIEL SZEGO Architecting Blockchain applications with Azure Blockchain Global Azure

    Bootcamp Zürich Architecting Blockchain applications with Azure Blockchain Daniel Szego DLT Architect https://www.linkedin.com/in/daniel-szego/
  2. 2.

    DANIEL SZEGO Architecting Blockchain applications with Azure Blockchain Global Azure

    Bootcamp Zürich B2B Marketplace Institutional traders of a newly formed trade organisation want to create a closed internal marketplace to trade different kind of goods but without a trusted intermediary. The parties can make an offer accept or modify an offer, but the system is visible only for the participants. Payment and settlement is realized by standard banking services, independently of the system. Use Case link: https://github.com/Azure-Samples/blockchain/tree/master/blockchain-workbench/application-and-smart-contract-samples/simple-marketplace Consortium scenario NO: - no cryptocurrency - no public tokens - no public ledger BUT: - identity management - permissions - system integration
  3. 3.

    Daniel Szego Architecting Blockchain applications with Azure Blockchain Global Azure

    Bootcamp Zürich Azure Blockchain tools and development Infrastructure templates Ethereum POA Hyperledger Fabric Corda Workbench Workflow Smart Contract Generated UI Development Kit Logic App Connector Connectors Integration: BI, IoT ... DevOps Infrastructure Application development Integration ...
  4. 4.

    DANIEL SZEGO Architecting Blockchain applications with Azure Blockchain Global Azure

    Bootcamp Zürich Ethereum POA 01 A special version of the Ethereum Blockhain based on Parity client. Special characteristics: There is no mining, but a proof of authority consensus, where the a defined number of validator nodes can participate in the consensus in a round robin manner, implying zero priced gas requirement. The governance of the validator nodes is realized with a voting mechanism of the participants. QUICK TIP Try right clicking on a photo and using "Replace Image" to show your own photo. Global Azure Bootcamp Zürich Infrastructure templates link: https://docs.microsoft.com/en-us/azure/blockchain/templates/ethereum-poa-deployment
  5. 5.

    DANIEL SZEGO Architecting Blockchain applications with Azure Blockchain Global Azure

    Bootcamp Zürich Hyperledger Fabric 02 The Hyperledger project is an incubator umbrella project from the Linux Foundation, containing only consortium distributed ledger technologies: full scale platforms and generic tools for several platfo Fabric: Hyperlegder Fabric is a general consortium blockchain platform. The core architecture contains a splitted consensus mechanism, chains for privacy, membership service provider and certificate authorities for identities. QUICK TIP Try right clicking on a photo and using "Replace Image" to show your own phto. Infrastructure templates Link: https://docs.microsoft.com/en-us/azure/blockchain/templates/hyperledger-fabric-consortium-blockchain
  6. 6.

    DANIEL SZEGO Architecting Blockchain applications with Azure Blockchain Global Azure

    Bootcamp Zürich R3 Corda 03 R3 Corda is a distributed ledger technology that were created from the scratch in cooperation with banks and other financial institutes. Corda technology: The technology provides many uncommon elements, like there is no global broadcast, but programmed communication paths, there is no global ledger but bilateral or multilateral facts, code is not law, but atomic prose is included.... Infrastructure templates
  7. 7.
  8. 8.

    DANIEL SZEGO Architecting Blockchain applications with Azure Blockchain Global Azure

    Bootcamp Zürich Create CEO Berry Books CFO Vinny Viewer Sales Director Wendy Writer Ethereum POA Blockchain options for infrastructure templates workbench and more … link: https://azure.microsoft.com/en-us/solutions/blockchain/
  9. 9.

    DANIEL SZEGO Architecting Blockchain applications with Azure Blockchain Global Azure

    Bootcamp Zürich Create CEO Berry Books CFO Vinny Viewer Sales Director Wendy Writer Ethereum POA Create new network or attach to an existing one link: https://docs.microsoft.com/en-us/azure/blockchain/templates/ethereum-poa-deployment
  10. 10.

    DANIEL SZEGO Architecting Blockchain applications with Azure Blockchain Global Azure

    Bootcamp Zürich Govern CEO Berry Books CFO Vinny Viewer Sales Director Wendy Writer Ethereum POA Vote, unvote for another administr ators and validator nodes
  11. 11.

    DANIEL SZEGO Architecting Blockchain applications with Azure Blockchain Global Azure

    Bootcamp Zürich Govern CEO Berry Books CFO Vinny Viewer Sales Director Wendy Writer Ethereum POA Validator nodes create the next blocks in a round robin style
  12. 12.

    DANIEL SZEGO Architecting Blockchain applications with Azure Blockchain Global Azure

    Bootcamp Zürich Monitor CEO Berry Books CFO Vinny Viewer Sales Director Wendy Writer Ethereum POA Admin UI and integra tion with Azure Monito ring
  13. 13.

    DANIEL SZEGO Architecting Blockchain applications with Azure Blockchain Global Azure

    Bootcamp Zürich Workbench 1 Rapid Application Development: create your business workflow with the help of smart contracts and JSON description file and a default UI is auto generated 2 Integrated Identity Management with the help of Active Directory and Key Vault: public keys are associated with identities, private and public keys are stored at key vault. 3 Blockchain information and events are mirrored to a traditional database: possibility for classical reposting or Power BI. 4 Further integration scenarios, like REST API or with Service Bus two directional integration, like Azure IoT. Azure Blockchain
  14. 16.

    DANIEL SZEGO Architecting Blockchain applications with Azure Blockchain Global Azure

    Bootcamp Zürich Install CEO Berry Books CFO Vinny Viewer Sales Director Wendy Writer Workbench Create workbench with an existing Ethereum PoA or with a default node link: https://docs.microsoft.com/en-us/azure/blockchain/workbench/deploy
  15. 17.

    DANIEL SZEGO Architecting Blockchain applications with Azure Blockchain Global Azure

    Bootcamp Zürich Develop CEO Berry Books CFO Vinny Viewer Sales Director Wendy Writer Workbench smart contract programming in solidity link: https://github.com/Azure-Samples/blockchain/blob/master/blockchain-workbench/application-and-smart-contract-samples/simple-marketplace/ethereum/SimpleMarketplace.sol STATES AND PROPERTIES: TRANSITIONS:
  16. 18.

    DANIEL SZEGO Architecting Blockchain applications with Azure Blockchain Global Azure

    Bootcamp Zürich Develop CEO Berry Books CFO Vinny Viewer Sales Director Wendy Writer Workbench Workflow declarative description in a json meta- information file. link: https://github.com/Azure-Samples/blockchain/blob/master/blockchain-workbench/application-and-smart-contract-samples/simple-marketplace/ethereum/SimpleMarketplace.json PROPERTIES: FUNCTIONS: STATES: ...and ROLES:
  17. 19.

    DANIEL SZEGO Architecting Blockchain applications with Azure Blockchain Global Azure

    Bootcamp Zürich Use CEO Berry Books CFO Vinny Viewer Sales Director Wendy Writer Workbench Deploying workbench application by deploying the smart contract and json meta-info file. Setting rights and roles for users (with active directory)
  18. 20.

    DANIEL SZEGO Architecting Blockchain applications with Azure Blockchain Global Azure

    Bootcamp Zürich Use CEO Berry Books CFO Vinny Viewer Sales Director Wendy Writer Workbench See all running workflows New Contract -> new product to offer New Contract created -> transaction mined on the Ethereum PoA Blockchain LIST OF CONTRACTS INSTANCES (WORKFLOWS): NEW CONTRACT (NEW WORKFLOW): NEWLY CREATED INSTANCE:
  19. 21.

    DANIEL SZEGO Architecting Blockchain applications with Azure Blockchain Global Azure

    Bootcamp Zürich Use CEO Berry Books CFO Vinny Viewer Sales Director Wendy Writer Workbench Check detailed view of a contract (of a workflow) Take an action: - choose an allowed transaction - set input parameters - transaction is executed on the blockchain - state is updated CONTRACT DETAILED STATE TAKE NEW ACTION NEW STATE
  20. 22.

    DANIEL SZEGO Architecting Blockchain applications with Azure Blockchain Global Azure

    Bootcamp Zürich Integrate CEO Berry Books CFO Vinny Viewer Sales Director Wendy Writer Workbench Access to the database directly with reporting services, Power BI or excell link: https://docs.microsoft.com/en-us/azure/blockchain/workbench/getdb-details
  21. 23.

    DANIEL SZEGO Architecting Blockchain applications with Azure Blockchain Global Azure

    Bootcamp Zürich Integrate CEO Berry Books CFO Vinny Viewer Sales Director Wendy Writer Workbench Reach the workbench services through REST API and swagger
  22. 24.

    DANIEL SZEGO Architecting Blockchain applications with Azure Blockchain Global Azure

    Bootcamp Zürich Development Kit Further integration possibilities and accelerators in a coded or low code fashion, like IoT integration, Bots, documents and media integration. A Logic App extension to give an easily programmable integration possibility for Azure Storage, OneDrive, OneDrive for Business, Sharepoint, FTP. Integrated DevOps service with Truffle. Azure Blockchain link: https://github.com/Azure-Samples/blockchain-devkit
  23. 25.

    DANIEL SZEGO Architecting Blockchain applications with Azure Blockchain Global Azure

    Bootcamp Zürich CEO Berry Books CFO Vinny Viewer Sales Director Wendy Writer