3.0.1 • Published 5 years ago

@zapjs/arbiter v3.0.1

Weekly downloads
3
License
ISC
Repository
github
Last release
5 years ago

Zap-arbiter

This repository provides Interface to Zap Arbiter contract

Prerequisites

- 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)

See more Usages of each packages :

Built With

3.0.1

5 years ago

3.0.0

5 years ago

2.2.2

6 years ago

2.2.1

6 years ago

2.2.0

6 years ago

2.0.16

6 years ago

2.0.15

6 years ago

2.0.14

7 years ago

2.0.13

7 years ago

2.0.12

7 years ago

2.0.11

7 years ago

2.0.10

7 years ago

2.0.9

7 years ago

2.0.8

7 years ago

2.0.7

7 years ago

2.0.6

7 years ago

2.0.5

7 years ago

2.0.4

7 years ago

2.0.3

7 years ago

2.0.2

7 years ago

2.0.0

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago