Event Feed - Substrate

Licensearrow-up-right

Introduction

Aurras is a middleware that acts as an event processor and a low code workflow orchestration platform. Aurras is being pitched as a next-generation system for enabling decentralized push notification. This middleware solution listens to events from blockchain applications and propagates them to a registered pool of MQTT brokers. The broader architecture consists of parachain from which the middleware listens for the events.

This Event Feed package facilitates to source events from substrate-based chains. The events will be posted to the OpenWhisk system. polkadot-js/apiarrow-up-right is used under the hood to establish the connection to blockchain nodes and receive events.

Prerequisites

Installation

Assuming basic dependency such as gitarrow-up-right and yarnarrow-up-right already installed.

  1. Clone the repository

git clone https://github.com/HugoByte/aurras-event-feed-substrate-js.git

2. Navigate to the cloned directory

cd aurras-event-feed-substrate-js

3. Install dependencies

yarn install

Configuration

Configurations are passed through environment variables which can be found here.

For local development and testing create a .env file with respective configurations in the project root folder.

Usage

Start the feed in development mode.

Testing

Run Unit test suites

Deployment

Deployment is done through either docker-compose or Kubernetes which can be found here.

License

Licensed under Apache-2.0arrow-up-right

Last updated