Completion of Aurras MVP: A Middleware for the Web3 Ecosystem

Amogha Sudarshan
HugoByte
Published in
4 min readSep 24, 2021

What’s Aurras?

We are delighted to announce the completion of milestone 3 in the Web3 Foundation grant for Aurras, developed by HugoByte. Aurras is the new middleware that propagates events from trusted sources and processes them. This is a tool that is set to revolutionize the decentralization of push notifications in the blockchain domain along with the Exchangeable ID. This MVP provides first-class support to Polkadot and Substrate ecosystems.

Aurras is also a low-code workflow orchestration platform that fosters a hassle-free experience for its end-users paving the way to the REA model. As a part of Decentralized Push Notification, Aurras acts as a solution that listens to blockchain events and propagates them to a pre-registered pool of MQTT brokers. Aurras promotes the coexistence of multiple decentralized protocols. Aurras enhances its scope of operation by also processing events from the chain and propagating them to IoT devices in a secured way.

“The grant we received from the Web3 Foundation is a strong motivator for our continued efforts in advancements in the Web3 domain. Our contributions to the Polkadot and Substrate ecosystem are the milestones in our journey to promote wider adoption of the Web3 ecosystem.”, says Muhammed Irfan, founder and CTO of HugoByte AI Labs.

Components of Aurras

Let us dive deeper into Aurras to see what keeps it ticking.

Event Feed

The input stream for the Aurras middleware comes from various sources. Any source from which it pulls its inputs is considered the Event Feed. Event feeds could be an IoT system or a blockchain.

Substrate Event Feed is a package that facilitates sourcing events from Substrate-based chains. The Polkadot API is used under the hood to establish the connections to blockchain nodes to receive the events. After it sources the events this package posts them on the OpenWhisk system. The Event feed is licensed under Apache-2.0.

Event Manager

The Event Manager is a principal component of Aurras. It functions after the event feed has gleaned the inputs and produces a Kafka topic. The event manager performs many functions including maintaining a database to store trigger URLs and their respective authentications. It also can maintain a Kafka provider, consumer and producer.

Once an event is indexed to a topic, an action can react to that particular topic, which in turn forms a workflow.

Other co​​mponents in the pipeline include the Workflow Composer and the Web API Gateway and Backend Service. Read on to learn more about them.

Workflow Composer

The Workflow Composer is used to create the workflow and it only uses configuration YAML files as its input. It consists of an async Rust library to compose multiple triggers, a deployment configuration generator and a deployment tool.

The workflow composition is laid out in the YAML, which in turn takes care of the deployment and composition of the triggers. Once a workflow is deployed to a namespace, it creates a workflow id unique to the topic in Kafka. Workflow configuration comprises the input URL of workflow tasks, primarily GitHub repo, the sequence of processing tasks, and argument structure.

Web API Gateway and Backend Service

The Web API Gateway is the end-user facing component that utilizes the workflow. This component comprises a service that is responsible for user registration, selecting the workflow, managing /creating a workflow using friendly APIs, and providing input parameters. The external world can connect to the Aurras system via the API gateway /Machine gateway.

About HugoByte

HugoByte is a research, development, and deployment lab for AI Products founded in 2020. HugoByte creates software systems that tackle significant challenges. New technological breakthroughs, great user experience design and an open-source approach to creation are the index lines of the compass that guides HugoByte to solve imposing technological problems.

HugoByte delves mainly into the blockchain space, contributing towards wider adoption of Web 3 and utilizing it to implement cutting-edge AI solutions.

Get in touch

Visit our website at HugoByte.

You can also find out more about us on our LinkedIn page.

Our Github repository is a trove of our current projects.

Feel free to write to us at hello@hugobyte.com.

--

--