Ali Behjati f07a223977 Remove dependency to wormhole sdk as path and cleanup wrong eth copies (#104) 3 years ago
..
scripts f07a223977 Remove dependency to wormhole sdk as path and cleanup wrong eth copies (#104) 3 years ago
src 643ab162d1 Make p2w-sdk js use p2w-sdk rust wasm bindings (#65) 3 years ago
.gitignore 247371cb7b Move js sdk on p2w-sdk to js folder 3 years ago
Dockerfile 247371cb7b Move js sdk on p2w-sdk to js folder 3 years ago
README.md f07a223977 Remove dependency to wormhole sdk as path and cleanup wrong eth copies (#104) 3 years ago
package-lock.json f07a223977 Remove dependency to wormhole sdk as path and cleanup wrong eth copies (#104) 3 years ago
package.json f07a223977 Remove dependency to wormhole sdk as path and cleanup wrong eth copies (#104) 3 years ago
tsconfig.json 247371cb7b Move js sdk on p2w-sdk to js folder 3 years ago
tslint.json 247371cb7b Move js sdk on p2w-sdk to js folder 3 years ago

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