Ali Behjati 643ab162d1 Make p2w-sdk js use p2w-sdk rust wasm bindings (#65) 3 年之前
..
scripts 247371cb7b Move js sdk on p2w-sdk to js folder 3 年之前
src 643ab162d1 Make p2w-sdk js use p2w-sdk rust wasm bindings (#65) 3 年之前
.gitignore 247371cb7b Move js sdk on p2w-sdk to js folder 3 年之前
Dockerfile 247371cb7b Move js sdk on p2w-sdk to js folder 3 年之前
README.md 247371cb7b Move js sdk on p2w-sdk to js folder 3 年之前
package-lock.json 247371cb7b Move js sdk on p2w-sdk to js folder 3 年之前
package.json 247371cb7b Move js sdk on p2w-sdk to js folder 3 年之前
tsconfig.json 247371cb7b Move js sdk on p2w-sdk to js folder 3 年之前
tslint.json 247371cb7b Move js sdk on p2w-sdk to js folder 3 年之前

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-relay'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