Digital Asset Daml Release Notes

Improved and simplified off-ledger automations on Daml Hub

Written by David Richards | Mar 28, 2024 2:48:26 PM

Summary

Automations are a way to run off-ledger logic and integrate the ledger with other applications in your environment by interacting with the ledger API. With the recent release, Daml Hub now supports the following off-ledger automations:

  • Triggers - Automations written in Daml with no external connectivity. These remain unchanged in Daml Hub.
  • Automations written in Python or languages which run in a JVM - These automations offer external connectivity and can integrate with external services by receiving data, or push data out to external services over HTTPS (Enterprise customers only). These were also previously known as ‘bots’ in Daml Hub. JVM automations are only supported in the scratchpad and participant services.

With this feature release, automations in Daml Hub are now:

  • Supported in python and for code which runs in a JVM.
  • Easier to write with improved, comprehensive documentation here and guides - python automation guide here, JVM automation guide here.
  • Simple to package with the removal of the need for ddit files.
  • Easier to integrate into CI/CD processes with fully documented and supported HTTP APIs here.
  • Configurable. A configuration file can accompany python and JVM automations allowing for different configurations with each deployment.
For more information on off-ledger automations see documentation for Triggers here, documentation for the Java bindings here and documentation for the python bindings here.