Skip to content

Commit 4dfb294

Browse files
feat(pyth-price-store): add readme (#2000)
* feat(pyth-price-store): add readme * Update target_chains/solana/programs/pyth-price-store/README.md Co-authored-by: Pavel Strakhov <ri@idzaaus.org> --------- Co-authored-by: Pavel Strakhov <ri@idzaaus.org>
1 parent 8ebdcf2 commit 4dfb294

File tree

1 file changed

+19
-0
lines changed
  • target_chains/solana/programs/pyth-price-store

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Pyth Price Store
2+
3+
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
4+
Pythnet validator to calculate the aggregate price.
5+
6+
## Build
7+
8+
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
9+
a docker container to ensure that the resulting binary is deterministic and verifiable. Run the following command to build the program:
10+
11+
```bash
12+
solana-verify build -- --features solana-program
13+
```
14+
15+
Once the build is complete, the program binary will be located in the `target/deploy` directory.
16+
17+
## Test
18+
19+
Run `cargo test` to run the tests.

0 commit comments

Comments
 (0)