Skip to main content

Azure Blockchain to CDS

In this blog we will see how to create a Blockchain network in Azure and send the smart contract data to CDS.
If you need to know more about Blockchains, the below references are useful.

Prerequisites
  • Make sure you have enough Azure credits to start with. When deploying Blockchain Workbench, lot of components will be deployed. 
  • Need AD admin consent for approving API connection/Need an admin account. 
  • Deploy the Workbench in East-US region as some features are available only in this region.
Deploy your Azure Workbench by following the guide here.

Quorum blockchain in Azure is a private blockchain unlike other popular blockchains such as Bitcoin. Bitcoin uses Proof of work(POW) to reach consensus on transactions while Quorum makes use of Istanbul Byzantine fault tolerance(IBFT).

You can invite users from your directory and also users outside your Organization by making them guest users in the directory.

By default you will be the owner of the blockchain network. To add Owners and additional users, go to AD > Enterprise Applications 


Azure SQL DB is created as a part of Workbench deployement. Data flows from blockchain to SQL through Azure Service Bus. This is taken care during deployment. The tables contain details on Contracts, Users and other blockchain related data.



I have created a demo smart contract application 'HelloBlockchain'. 



I have selected a responder and a requestor for the above smart contract.


So now i have created a Logic App which triggers and creation of data in SQL.


When a response is sent through the contract, the LogicApps is triggerred and inserts data to CDS.



In my next blog, i we will see how to send data from the CDS to the blockchain/change contract details.

Comments