Automating DAML Applications with Python-based DAZL Bots
Introduction
![confidential-logo_positive-version](https://8bf962be.rocketcdn.me/wp-content/uploads/2023/04/confidential-logo_positive-version.png)
NashTech added support for third-party APIs by creating bots that listen to external activity.
DAML (Digital Asset Modeling Language) has emerged as a promising technology to achieve excellence in Blockchain. It’s an open-source programming language used to write full-stack, smart contract-based distributed applications quickly, concisely, and correctly. Notably, the system’s design is so that machines and humans can understand the information included in the contract. It is functional as it derives experience from Haskell and was designed for distributed business workflows. It helps a developer to focus more on programming the business processes by cutting down the amount of time the developer would spend on dealing with encryption and blockchain.
The challenge
Why do we need bots ?
DAML is a great programming language but is still new and under development. Sometimes, developers need to automate processes like generating action in response to a certain event (an incoming transaction, for instance). Let’s suppose, we want to automatically create a new contract in DAML after another contract is created. Right now, this is not possible to accomplish with just DAML itself as DAML Trigger is still under development. We need bots for this purpose which is basically an abstraction to create an automation for a DAML Ledger.
The solution
How does DAZL solve the problem?
DAZL is an amazing Python library provided by Digital Asset. It provides several functions that enable the automation on the Ledger as it provides event listeners for the same. Suppose you want to run a certain piece of code after the execution of events related to contracts, like creation, archival, or exercise of choice, then it can easily be done using the DAZL Library.
The outcome
• Add support for third-party APIs simply by creating bots that listen to external activity.
• Works great with DABL Cloud Service.
• Portable and adjustable as per requirements.
• Quick response time.
DAZL is an open-source project. You can find source code here:
Read more case studies
![](https://8bf962be.rocketcdn.me/wp-content/uploads/2023/04/confidential-logo_positive-version.png)
The art of human-AI collaboration: A case study in model improvement
For over 16 years, NashTech has been a trusted partner, providing data management solutions that have fuelled the exponential growth of our client’s online shopping platform. The approach has...
From rising above adversity to riding the wave of digital transformation in the education sector
Explore how NashTech help Trinity College London ride the wave of digital transformation in the education sector
Migrating and modernising the virtual learning environment to AWS for an enhanced experience
The migrated and modernised Moodle infrastructure means that The Open University can now take advantage of cloud benefits.
Let's talk about your project
- Topics:
Our partnerships
![docker-white-png](https://8bf962be.rocketcdn.me/wp-content/uploads/2023/03/docker-white.png.png)
![ibm-white-png](https://8bf962be.rocketcdn.me/wp-content/uploads/2023/03/ibm-white.png.png)
![microsoft-logo](https://8bf962be.rocketcdn.me/wp-content/uploads/2023/04/Microsoft-logo.png)
![umbraco](https://8bf962be.rocketcdn.me/wp-content/uploads/2023/03/umbraco.png)
![confluent-white-png](https://8bf962be.rocketcdn.me/wp-content/uploads/2023/03/confluent-white.png.png)
![databricks-white-png](https://8bf962be.rocketcdn.me/wp-content/uploads/2023/03/databricks-white-.png.png)
![hashicorp-white-png](https://8bf962be.rocketcdn.me/wp-content/uploads/2023/03/hashiCorp-white.png.png)
![lightbend-white-png](https://8bf962be.rocketcdn.me/wp-content/uploads/2023/03/lightbend-white.png.png)
![microsoft-modernization](https://8bf962be.rocketcdn.me/wp-content/uploads/2023/07/Microsoft-Modernization.png)
![aws-partner](https://8bf962be.rocketcdn.me/wp-content/uploads/2023/07/AWS-partner-1.png)
![ms-solutions-partner-logo](https://8bf962be.rocketcdn.me/wp-content/uploads/2023/07/MS-Solutions-partner-logo-2.png)
![ms-data-and-ai](https://8bf962be.rocketcdn.me/wp-content/uploads/2023/07/MS-Data-and-AI-1.png)
![ms-digital-and-app-innovation](https://8bf962be.rocketcdn.me/wp-content/uploads/2023/07/MS-Digital-and-App-innovation-1.png)