Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Blockchain for Python Developers - Pyjamas Conf 2020

Blockchain for Python Developers

Related Books

Free with a 30 day trial from Scribd

See all

Related Audiobooks

Free with a 30 day trial from Scribd

See all
  • Be the first to comment

  • Be the first to like this

Blockchain for Python Developers - Pyjamas Conf 2020

  1. 1. Blockchain for Python Developers Juarez Junior Azure Developer Engagement Lead Microsoft juarez.junior@microsoft.com Twitter/Medium: @juarezjunior linkedin.com/in/jujunior
  2. 2. Blockchain technology What is blockchain? Common scenarios
  3. 3. The ledger can only be updated by network consensus, and information can’t be altered or deleted without the knowledge of the whole network Everyone in the network has an individual, identical copy Data is stored in a ledger— a record of every transaction Blockchain streamlines these processes by establishing a secure, shared source of truth
  4. 4. Blockchain Networks Consortium Woodgrove Financial Contoso Bank Northwind Traders Bank b Insurance c Investment consortium c Bank A Blockchain Location 1 Location 2 Location 3 Location 4 Department A Department B Public blockchain Person a Woodgrove Financial Person B Northwind Traders Bank 6 Bank 1 Consortium 6 Public (permissionless) Consortium (permissioned) Private • Many, unknown participants • Writes by all participants • Reads by all participants • Consensus by Proof of Work • Known participants from one org • Write permissions centralized • Reads may be public or restricted • Multiple algorithms for consensus • Known participants from multiple orgs • Writes require consensus of n participants • Reads may be public or restricted • Multiple algorithms for consensus
  5. 5. Corda Chain Enterprise Ethereum Quorum Permissionless and Permissioned
  6. 6. Transactions, Hashes and Blocks GENESIS BLOCK (must be the root for all on the same chain) Transaction 0 Transaction 1 Transaction 2 Transaction 3 Transaction 4 New Hash + Block0 Hash First Hash New Hash + Block1 Hash New Hash + Block2 Hash 0 seconds ~12 seconds ~24 seconds ~36 seconds
  7. 7. Blockchain has broad applications across industries Loyalty tracking Product provenance Logistics management Digital rewards P2P selling Ticket purchases Asset tracking Real-time auction for supplier contracts Supply chain transparency Dynamic commodities pricing Claims management MBS/Property payments Fraud detection Automated underwriting Risk visualizations Licensing and ID Benefits distribution Aid tracking Military security Copyrights Audit compliance Bond issuance Trade finance Loan syndication Post trade settlement Global payments Derivatives trading KYC/AML Personalized medicine Records sharing Compliance Agricultural authentication Pharmaceutical purity Manufacturing Retail Insurance Government Banking and Capital Markets Health
  8. 8. Hyperledger Fabric Blockchain • Permissioned, Enterprise • Hyperledger Fabric – open-source protocol for distributed ledger solutions – Provides a permissioned blockchain model with membership services – Offers a modular architecture allowing components, such as consensus and membership services – Enables pluggable data store, consensus protocols, and multiple providers of membership services – Programmable – leverages containers to host smart contracts – Focuses on a permissioned implementation with confidentiality/privacy provisions – No crypto required • Hosted by The Linux Foundation – Same governance model – Other projects as part of Hyperledger Foundation ecosystem (Indy, Iroha, Sawtooth) HYPERLEDGER FABRIC BY HYPERLEDGER FOUNDATION
  9. 9. Hyperledger Fabric Blockchain HYPERLEDGER FABRIC BY HYPERLEDGER FOUNDATION
  10. 10. Hyperledger Fabric – Transaction Flow HYPERLEDGER FABRIC BY HYPERLEDGER FOUNDATION Client Application Fabric SDK Keys Membership Service Peers Endorser Simulates TX World State Committer Effect 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 Dev 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)
  11. 11. Fabric-SDK-Py https://github.com/hyperledger/fabric-sdk-py https://fabric-sdk- py.readthedocs.io/en/latest/tutorial.html GitHub HYPERLEDGER FABRIC PYTHON SDK
  12. 12. Hyperledger Blockchain Smart Contracts Python Clients HYPERLEDGER FABRIC BY HYPERLEDGER FOUNDATION
  13. 13. Hyperledger on Azure with Azure Kubernetes Service https://medium.com/@juarezjunior/how-to-deploy- your-first-hyperledger-fabric-components-with- azure-kubernetes-service-aks-760563d9d543 Marketplace GitHub HYPERLEDGER FABRIC BY HYPERLEDGER FOUNDATION
  14. 14. Quorum Blockchain CONSENSYS QUORUM
  15. 15. Quorum Blockchain on Azure Create a Blockchain consortium member Deploy a smart contract with VS Code Interact with your smart contract Quorum via a full 7 node network on a single VM Examples CONSENSYS QUORUM
  16. 16. Corda – Languages and Tools CORDA BY R3
  17. 17. Corda on Azure + Code Samples Corda on Azure — How to deploy and run a demo Corda network Corda on Azure — Deploying a Corda Testnet node Java Kotlin CORDA BY R3
  18. 18.  In the spirit of community, we will inspire our developers to build on Azure and increase their skills across Azure services  To achieve this we created something both unique and scarce with badge designs that have been tokenised into a fixed supply digital asset What is Azure Heroes?
  19. 19. Transform your business with blockchain on Azure Create smarter and more efficient processes with Azure blockchain offerings Azure Blockchain Service Azure Blockchain Workbench Azure Blockchain Developer Kit Build, govern, and expand consortium blockchain networks Easily prototype blockchain apps in the cloud Connect and integrate to existing apps and move to production
  20. 20. Azure Blockchain Development Kit AZURE BLOCKCHAIN DEVELOPER EXPERIENCE
  21. 21. End-to-end Github examples that help connect and integrate blockchain with existing apps AZURE BLOCKCHAIN DEVELOPER EXPERIENCE
  22. 22. Azure is the best cloud for Blockchain Ahead of the competition An open, app-focused approach validated by Gartner, Forrester and many other third-party analysts Thoughtful product portfolio The most open and comprehensive blockchain portfolio to simplify development of this new class of applications Trusted by customers and partners Businesses have built thousands of blockchain apps on Azure working with our rich ecosystem of blockchain partners ​
  23. 23. Azure Blockchain AZURE BLOCKCHAIN
  24. 24. Streamline Blockchain app development AZURE BLOCKCHAIN Xamarin IoT Hub Gateway Service API Transaction Builder + Signer Azure Key Vault Azure SQL database Storage (Azure Ethereum Router Quorum Router Azure Blockchain Service DLT Watcher Event Grid iOS App Android App Ethereum
  25. 25. Simple Blockchain governance / management AZURE BLOCKCHAIN SERVICE
  26. 26. © Copyright Microsoft Corporation. All rights reserved. Thank You and Q&A!
  27. 27. Blockchain for Python Developers Scan this QR-code to access free educational resources, step-by-step learning guides as well as get practical experience in Blockchain! https://aka.ms/MicrosoftAzureAtPyjamasConf2020 Don’t forget to add Microsoft Azure as a skill to your LinkedIn account to stay connected with our developer community! + Microsoft Azure We post the latest announcements about free events for developers on our official Twitter account! twitter.com/MSDevIRL

    Be the first to comment

Blockchain for Python Developers

Views

Total views

43

On Slideshare

0

From embeds

0

Number of embeds

0

Actions

Downloads

4

Shares

0

Comments

0

Likes

0

×