Skip to content

Commit 8f56b41

Browse files
update doc with crates.io package name
1 parent fd5740b commit 8f56b41

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/aggregate_price.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ There exists a linked list of `mapping` accounts. Each contains a simple list of
2929
Each `product` account refers to the head of a linked-list of `price` accounts. `price` accounts are where a product's price and other metrics are stored. Each `price` account corresponds to a different "price_type". At the moment, these include "price", "twap" and "volatility".
3030

3131

32-
## pcrust example
32+
## rust example
3333

34-
The pcrust example program uses the solana rust RPC API to load and print all pyth product and price data by bootstrapping from the root `mapping` account key. The output looks something like this:
34+
The rust example (pcrust/ or crates.io package pyth-client v0.1.1 ) program uses the solana rust RPC API to load and print all pyth product and price data by bootstrapping from the root `mapping` account key. The output looks something like this:
3535

3636
```
3737
product_account .. 4SxmcsbJWVBWvuP2cRQDjFtAgdqzWWLbHESnUTH4CegT

0 commit comments

Comments
 (0)