pyth-crosschain/spydk/js
Leo 3c20a0493b staging/algorand: apply global Apache 2 license
As previously discussed, staging/algorand will be relicensed as
Apache 2. Replace all license headers by the global license.

Rand Labs needs to sign off on this PR to formally relicense
their contributions.

commit-id:cd31637e
2022-02-05 09:30:28 -05:00
..
src spydk: initial release 2021-12-08 23:09:29 +00:00
.gitignore spydk: initial release 2021-12-08 23:09:29 +00:00
CHANGELOG.md spydk: initial release 2021-12-08 23:09:29 +00:00
LICENSE staging/algorand: apply global Apache 2 license 2022-02-05 09:30:28 -05:00
README.md spydk: initial release 2021-12-08 23:09:29 +00:00
jestconfig.json spydk: initial release 2021-12-08 23:09:29 +00:00
package-lock.json spydk: initial release 2021-12-08 23:09:29 +00:00
package.json spydk: initial release 2021-12-08 23:09:29 +00: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