Zap Arbiter
npm install @zapjs/arbiterThis repository provides Interface to Zap Arbiter contract
- Node 12.20 <=14.15
- Typescript
`Usage
##### Using Zap Arbiter to listen to subscriptions events
`
npm install --save @zapjs/arbiter
`
`
import {ZapArbiter} from '@zapjs/arbiter';let myZapArbiter = new ZapArbiter();
`Custom configuration
`
let myZapArbiter = new ZapArbiter({networkId,networkProvider,coordinator})
`
Listen to new subscription events
`
myZapArbiter.listenSubscriptionStart(filters,allback)
`
Listen to end subscription events
`
myZapArbiter.listenSubscriptionEnd(filters,allback)
`
Get Subscription of provider-subscriber-endpoint
`
await myZapArbiter.getSubscription({provider,subscriber,endpoint})
`
Listen all events
`
myZapArbiter.listen(callback)
``* Lerna - The tool to manage monorepo project
* Typescript
* Mocha
* Truffle
* Ganache