Neon-EventListener - A Neo3-EventListener implementation using Neon-JS
Made with
Neon-EventListener
Install
npm i @cityofzion/neon-event-listener
Initialize NeonEventListener
To use NeonEventListener as a Neo3EventListener you can simply instantiate NeonEventListener
and pass the NeonEventListener
instance to the SDK that requires a Neo3EventListener
.
import { NeonEventListener } from '@cityofzion/neon-event-listener'
const neonEventListener: Neo3EventListener = new NeonEventListener(NeonEventListener.MAINNET)
Usage
The usage of NeonEventListener is documented in the Neo3-EventListener Docs.