Skip to content
This repository has been archived by the owner on Sep 11, 2023. It is now read-only.

Latest commit

 

History

History
30 lines (22 loc) · 954 Bytes

File metadata and controls

30 lines (22 loc) · 954 Bytes

Neon-EventListener - A Neo3-EventListener implementation using Neon-JS
Made with ❤ by COZ.IO

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.