|
|
3 лет назад | |
|---|---|---|
| .. | ||
| src | 28c713a6dd Tilt tests (#688) | 3 лет назад |
| .gitignore | 3a71550dea spydk: initial release | 4 лет назад |
| CHANGELOG.md | 3a71550dea spydk: initial release | 4 лет назад |
| LICENSE | 3c20a0493b staging/algorand: apply global Apache 2 license | 3 лет назад |
| README.md | 3a71550dea spydk: initial release | 4 лет назад |
| ci-config.js | 28c713a6dd Tilt tests (#688) | 3 лет назад |
| jestconfig.json | 3a71550dea spydk: initial release | 4 лет назад |
| package-lock.json | 3a71550dea spydk: initial release | 4 лет назад |
| package.json | 075defa634 feat: improve bridge_ui tilt | 3 лет назад |
| tsconfig-cjs.json | 3a71550dea spydk: initial release | 4 лет назад |
| tsconfig.json | 3a71550dea spydk: initial release | 4 лет назад |
| tslint.json | 3a71550dea spydk: initial release | 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