Video thumbnail

Automato

Automato enables customizable smart contract automation through an easy to use yaml file.

Automato

Created At

ETHNewYork 2022

Project Description

Automato is a simple to use framework that enables customizable smart contract automation through lightweight .yaml files. Automato is written in Golang and can be compiled for mac, windows, and linux. Automato works with any EVM compatible blockchain, side-chain or Layer 2. To automate a smart contract, you can set up triggers and actions in the automation.yaml file. You can set up the trigger to execute every "x" blocks, at a specific block or when a specific event is emitted. After adding triggers, you can add actions, which are transactions to send after the trigger is met

Automato can be used to automate tasks like harvesting/compounding on protocols that generate yield, dollar cost averaging into a token, or buying NFTs from a newly dropped collection.

How it's Made

Automato is bulit in Golang, and uses lightweight logic to lex/parse the automation.yaml file into an abstract syntax tree. From there, the program builds logic to execute transactions when trigger conditions are met, which are all specified in the automation.yaml file. We created easy to use syntax for the yaml file by making trigger definitions intuitive like "EVERY BLOCK" or "ON EVENT" to specify when to execute an action. During runtime, the program listens to newly published block headers and evaluates the trigger for each automation task every block. If the trigger evaluates to "true", then the action is executed. We set up the program so that you can specify a series of transactions to execute when a trigger evaluates to true. This allows users to set up complex automation across multiple protocols. In addition to automating transactions, we began building logic that allows a user to specify a way to get on chain data and feed that directly into the action definitions. This way, users can set up very complex automation workflows that are dynamic to current on chain conditions (not fully implemented yet).

background image mobile

Join the mailing list

Get the latest news and updates