@certusone/wormhole-spydk
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

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

Dependencies (2)

Dev Dependencies (11)

Package Sidebar

Install

npm i @certusone/wormhole-spydk

Weekly Downloads

472

Version

0.0.1

License

Apache-2.0

Unpacked Size

877 kB

Total Files

35

Last publish

Collaborators

  • tonyjin
  • kev1n-peters
  • evan-gray