1.0.6 • Published 2 years ago

demux-atomic-events v1.0.6

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Listen atomicassets NFT events on web framework for Node.js.

const { Watcher } = require("demux-atomic-events");

const blockNumber = 0
const nodeEosEndpoint = process.env.NODE_EOS_ENDPOINT
const whitelistPostApi = process.env.APPLICATION_POST_API
const maxStateHistoryLength = 300

Watcher(
  blockNumber, 
  nodeEosEndpoint,
  300, 
  whitelistPostApi
);

Installation

$ npm install demux-atomic-events

Features

  • Listening Antelope blockchain based chain atomicassets NFT events
  • Using EOS/demax-js for listening on chain events
  • Callback api call to every event listen

Docs & Community

  • demux-js original documentation for demux

Example

example to listen events on your server.

clone above example:

$ git clone https://github.com/Atulpal9045/demux-atomic-events
$ cd /demux-atomic-events/examples

Install dependencies:

$ npm install

Start the server:

$ npm start

View the website at: http://localhost:3000

After running it will generate cofig file in the root directory -

demux-atomic-config.json

People

The original author of this is Atul Pal

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago