Socket
Socket
Sign inDemoInstall

demux-js-iost

Package Overview
Dependencies
93
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    demux-js-iost

Demux-js Action Reader implementations for IOST blockchains


Version published
Weekly downloads
3
decreased by-25%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

demux-js-iost Build Status

Demux Action Reader implementations to read block and action data from IOST-based blockchains.

Installation

# Using yarn
yarn add demux-js-iost

# Using npm
npm install demux-js-iost --save
Example

Makes requests directly to a specified Node API endpoint to obtain block data.

const { IostActionReader, BaseActionWatcher } = require("demux-js-iost");
const IostActionHandler = require("./IostActionHandler");
const handlerVersion = require("./handlerVersions/v1");

const actionHandler = new IostActionHandler([handlerVersion]);

const actionReader = new IostActionReader({
  startAtBlock: 0,
  onlyIrreversible: false,
  iostEndpoint: "https://api.iost.io",
});

const actionWatcher = new BaseActionWatcher(actionReader, actionHandler, 250);

actionWatcher.watch();

FAQs

Last updated on 26 Apr 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc