Pavel Strakhov 955a805e85 chore: apply rustfmt 1 年之前
..
src 955a805e85 chore: apply rustfmt 1 年之前
Cargo.lock 63595df1ad chore(target_chains/solana): rename pyth-price-publisher to pyth-price-store (#1884) 1 年之前
Cargo.toml ad201511b1 chore(target_chains/solana): fix tokio dependency (#1886) 1 年之前
README.md 4dfb294dbb feat(pyth-price-store): add readme (#2000) 1 年之前

README.md

Pyth Price Store

This program is designed to store Publisher's prices in a specific buffer per each publisher. Later, the prices from each publisher are retrieved in the Pythnet validator to calculate the aggregate price.

Build

To build the program in a verifiable way, use Solana Verify CLI. This tool builds the program in a docker container to ensure that the resulting binary is deterministic and verifiable. Run the following command to build the program:

solana-verify build -- --features solana-program

Once the build is complete, the program binary will be located in the target/deploy directory.

Test

Run cargo test to run the tests.