pyth-crosschain/third_party/pyth/p2w-sdk/js
Ali Behjati d6e25d9209
Add pre-commit globally (#393)
* Add pre-commit globally

* Fix CI errors
2022-11-24 14:14:29 +01:00
..
scripts Add pre-commit globally (#393) 2022-11-24 14:14:29 +01:00
src Cascade Pyth SDK JS update to downstream packages (#326) 2022-10-06 09:21:04 +02:00
.gitignore Add pre-commit globally (#393) 2022-11-24 14:14:29 +01:00
Dockerfile Merge Dev.v2 into main (#181) 2022-04-11 18:15:20 +02:00
README.md Add pre-commit globally (#393) 2022-11-24 14:14:29 +01:00
package-lock.json Add pre-commit globally (#393) 2022-11-24 14:14:29 +01:00
package.json Add pre-commit globally (#393) 2022-11-24 14:14:29 +01:00
tsconfig.json Add pre-commit globally (#393) 2022-11-24 14:14:29 +01:00
tslint.json Add pre-commit globally (#393) 2022-11-24 14:14:29 +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