pyth-crosschain/wormhole_attester/sdk/js
Jayant Krishnamurthy 64bce66383
Choose unique VAA for query time if it exists (#853)
* hmm this way works but is complicated

* choose unique vaa

* update tests

* lint

* bump versions
2023-06-01 07:32:10 -07:00
..
src Choose unique VAA for query time if it exists (#853) 2023-06-01 07:32:10 -07:00
.gitignore [wormhole-attester] Move p2w-sdk inside wormhole_attester directory (#534) 2023-01-25 18:14:02 +01:00
README.md [wormhole-attester] Move p2w-sdk inside wormhole_attester directory (#534) 2023-01-25 18:14:02 +01:00
jest.config.js [wormhole-attester] Remove wasm in js sdk (#537) 2023-01-27 17:11:00 +01:00
package.json Choose unique VAA for query time if it exists (#853) 2023-06-01 07:32:10 -07:00
tsconfig.json [refactor] Improve typescript codebase (#553) 2023-02-01 11:26:23 -06:00
tslint.json [wormhole-attester] Move p2w-sdk inside wormhole_attester directory (#534) 2023-01-25 18:14:02 +01:00

README.md

Pyth2wormhole SDK

This project contains a library for interacting with pyth2wormhole and adjacent APIs.

Install

For now, the in-house dependencies are referenced by relative path. The commands below will build those. For an automated version of this process, please refer to p2w-integration-observer's Dockerfile and/or our Tilt devnet with pyth enabled.

# Run the commands in this README's directory for --prefix to work
$ npm --prefix ../../../ethereum ci && npm --prefix ../../../ethereum run build # ETH contracts
$ npm --prefix ../../../sdk/js ci # Wormhole SDK
$ npm ci && npm run build # Pyth2wormhole SDK