|
|
пре 8 месеци | |
|---|---|---|
| .. | ||
| src | пре 1 година | |
| .gitignore | пре 4 година | |
| CHANGELOG.md | пре 3 година | |
| LICENSE | пре 3 година | |
| README.md | пре 3 година | |
| ci-config.js | пре 3 година | |
| jestconfig.json | пре 4 година | |
| package-lock.json | пре 8 месеци | |
| package.json | пре 8 месеци | |
| tsconfig-cjs.json | пре 4 година | |
| tsconfig.json | пре 4 година | |
| tslint.json | пре 4 година | |
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