@rosen-bridge/abstract-observation-extractor
v0.2.3
Published
Event observation data extractor for different chains
Downloads
2,129
Readme
Abstract Observation Extractor
Table of Contents
Description
Data extractors are modules that are integrated within a scanner. They drive the required information from the scanned blocks and store them in their own database. The observation extractor is designed to fulfill a watcher's main task: observing user payments in source networks. The bridge payment transaction has its own structure, and the observation extractor searches for this pattern occurrence in source chains and stores all needed information for a watcher commitment creation and revealment.
Related Projects
This module is used within the Scanner project. The address scanner is currently used in the Watcher service to drive the valid source chain observations.
How to Use the Observation Extractor
Install
This project is written in node-js using Esnext module and typeorm database. Extractors are not standalone projects and should be used as scanner modules. You can easily install it using npm with the command:
npm install @rosen-bridge/abstract-observation-extractorAlternatively, you can build and use it manually by cloning the project and running:
npm install
npm run buildUsage
Contributing
TBD
License
TBD
