demux-atomic-events
v1.0.6
Published
Getting all events from atomicasets using demax-js.
Downloads
440
Readme
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