Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(pyth-price-store): add readme #2000

Merged
merged 2 commits into from
Oct 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions target_chains/solana/programs/pyth-price-store/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# 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](https://github.com/Ellipsis-Labs/solana-verifiable-build). 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:

```bash
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.
Loading