Blockchain Workflow Application

Solution Idea

If you'd like to see us expand this article with more information (implementation details, pricing guidance, code examples, etc), let us know with GitHub Feedback!

Businesses use blockchain to digitize workflows they share with other organizations, such as moving physical assets across supply chains. The anatomy of blockchain apps is similar across use cases. Here, we use Azure Blockchain Service as the foundational managed blockchain network and build a consortium application that can ingest signals from relevant user interfaces and communicate ledger data to consuming apps across the consortium.

Architecture

Architecture diagram Download an SVG of this architecture.

Data Flow

  1. Relevant apps, devices, and data sources send events or data to a message broker (Azure Service Bus).
  2. The distributed ledger technology (DLT) consumer Logic App fetches the data from the Service Bus and sends to transaction builder which builds and signs the transaction.
  3. The signed transaction gets routed to Azure Blockchain Service (fully managed Ethereum consortium network) via a ledger-specific Logic App connector.
  4. The blockchain data manager captures block and transaction data from configured transaction nodes, decodes events and properties and then sends the data to configured destinations.
  5. Message broker sends ledger data to consuming business applications and off-chain database.
  6. Information is analyzed and visualized using tools such as Power BI by connecting to off-chain database.

Components

  • Azure Blockchain Service: Build, govern, and expand consortium blockchain networks
  • Service Bus: Connect across private and public cloud environments
  • Azure IoT Central: Accelerate the creation of IoT solutions
  • Application Insights: Detect, triage, and diagnose issues in your web apps and services
  • Event Grid: Get reliable event delivery at massive scale
  • Logic Apps: Automate the access and use of data across clouds without writing code
  • Azure SQL Database: Managed, intelligent SQL in the cloud
  • Azure Active Directory: Synchronize on-premises directories and enable single sign-on
  • Key Vault: Safeguard and maintain control of keys and other secrets
  • App Service: Quickly create powerful cloud apps for web and mobile
  • Virtual Network: Provision private networks, optionally connect to on-premises datacenters
  • Power BI Embedded: Embed fully interactive, stunning data visualizations in your applications

Next steps