wormhole/spydk/js
bruce-riley 3a9dfd968b
NTT / Acct / Node: Guardian support (#3815)
* NTT/Acct/Node: Guardian changes

* Add per-emitter enforcement

* complete ntt accountant integration tests and run in parallel

* Minor tweaks

* Increase delay in tests

* fix accountant ci check

* Add CI AR address

* update prefixes

* increase timeout

* update ntt transfer wire format

* Code review rework from PR #3800

* Up tilt timeout

* Allow NTT accountant without base accountant

* Define known automatic relayer emitters

* Code review rework

---------

Co-authored-by: Evan Gray <battledingo@gmail.com>
2024-03-08 07:52:12 -06:00
..
src NTT / Acct / Node: Guardian support (#3815) 2024-03-08 07:52:12 -06:00
.gitignore spydk: initial release 2021-12-08 23:09:29 +00:00
CHANGELOG.md sdk/js: publish separate proto packages 2022-07-13 10:04:23 -04:00
LICENSE staging/algorand: apply global Apache 2 license 2022-02-05 09:30:28 -05:00
README.md rename dev.v2 to main 2022-11-29 10:43:07 -05:00
ci-config.js Tilt tests (#688) 2022-02-08 03:55:10 -05:00
jestconfig.json spydk: initial release 2021-12-08 23:09:29 +00:00
package-lock.json sdk/js: publish separate proto packages 2022-07-13 10:04:23 -04:00
package.json rename dev.v2 to main 2022-11-29 10:43:07 -05:00
tsconfig-cjs.json spydk: initial release 2021-12-08 23:09:29 +00:00
tsconfig.json spydk: initial release 2021-12-08 23:09:29 +00:00
tslint.json spydk: initial release 2021-12-08 23:09:29 +00:00

README.md

Wormhole Spy SDK

Note: This is a pre-alpha release and in active development. Function names and signatures are subject to change.

Wormhole Spy service SDK for use with @certusone/wormhole-sdk

Usage

import {
  createSpyRPCServiceClient,
  subscribeSignedVAA,
} from "@certusone/wormhole-spydk";
const client = createSpyRPCServiceClient(SPY_SERVICE_HOST);
const stream = await subscribeSignedVAA(client, {});
stream.on("data", ({ vaaBytes }) => {
  console.log(vaaBytes);
});

Also see integration tests