Neon-EventListener - A Neo3-EventListener implementation using Neon-JS
Made with ❤ by COZ.IO
npm i @cityofzion/neon-event-listener
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)
The usage of NeonEventListener is documented in the Neo3-EventListener Docs.