|
|
8 miesięcy temu | |
|---|---|---|
| .. | ||
| src | 1 rok temu | |
| .gitignore | 4 lat temu | |
| CHANGELOG.md | 3 lat temu | |
| LICENSE | 3 lat temu | |
| README.md | 3 lat temu | |
| ci-config.js | 3 lat temu | |
| jestconfig.json | 4 lat temu | |
| package-lock.json | 8 miesięcy temu | |
| package.json | 8 miesięcy temu | |
| tsconfig-cjs.json | 4 lat temu | |
| tsconfig.json | 4 lat temu | |
| tslint.json | 4 lat temu | |
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
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