kev1n-peters e90146b321 Update elliptic to >= 6.6.1 (#4272) 8 bulan lalu
..
src 3a9dfd968b NTT / Acct / Node: Guardian support (#3815) 1 tahun lalu
.gitignore 3a71550dea spydk: initial release 4 tahun lalu
CHANGELOG.md 37c20b547a sdk/js: publish separate proto packages 3 tahun lalu
LICENSE 3c20a0493b staging/algorand: apply global Apache 2 license 3 tahun lalu
README.md ff186e441a rename dev.v2 to main 3 tahun lalu
ci-config.js 28c713a6dd Tilt tests (#688) 3 tahun lalu
jestconfig.json 3a71550dea spydk: initial release 4 tahun lalu
package-lock.json e90146b321 Update elliptic to >= 6.6.1 (#4272) 8 bulan lalu
package.json e90146b321 Update elliptic to >= 6.6.1 (#4272) 8 bulan lalu
tsconfig-cjs.json 3a71550dea spydk: initial release 4 tahun lalu
tsconfig.json 3a71550dea spydk: initial release 4 tahun lalu
tslint.json 3a71550dea spydk: initial release 4 tahun lalu

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