Evan Gray 075defa634 feat: improve bridge_ui tilt hace 3 años
..
src 28c713a6dd Tilt tests (#688) hace 3 años
.gitignore 3a71550dea spydk: initial release hace 4 años
CHANGELOG.md 3a71550dea spydk: initial release hace 4 años
LICENSE 3c20a0493b staging/algorand: apply global Apache 2 license hace 3 años
README.md 3a71550dea spydk: initial release hace 4 años
ci-config.js 28c713a6dd Tilt tests (#688) hace 3 años
jestconfig.json 3a71550dea spydk: initial release hace 4 años
package-lock.json 3a71550dea spydk: initial release hace 4 años
package.json 075defa634 feat: improve bridge_ui tilt hace 3 años
tsconfig-cjs.json 3a71550dea spydk: initial release hace 4 años
tsconfig.json 3a71550dea spydk: initial release hace 4 años
tslint.json 3a71550dea spydk: initial release hace 4 años

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