In this blog, we will explore the Bots in DAML, we will start with basic introduction about Bots than we move to why do we need it and how we can implements Bots in our DAML Application. Before moving forward, I assume that you know basic of DAML if not then please read this blog.

What is a Bot?

A bot is a software application that is programmed to do certain tasks. Bots are automated, which means they run according to their instructions without a human user needing to start them up. Typically they do repetitive tasks, and they can do them much faster than human users could.

Why do we need Bots?

DAML is a great programming language to write a smart contract but is still new and under development. Sometimes, developers need to automate processes like the generation of action in response to a certain event (an incoming transaction, for instance). Let suppose, we want to automatically create a new contract in DAML after another contract is created or we want to archive a contract after a user performs a certain transaction. 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.

#work-from-home #scala #software-engineering #internships #spark

The Virtual Internship: My Experience
1.15 GEEK