You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pages/lazer/integrate-as-consumer/svm.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,11 +16,11 @@ Integrating with Pyth Lazer in smart contracts as a consumer is a three-step pro
16
16
17
17
Pyth Lazer provides a [Solana SDK](https://docs.rs/pyth-lazer-solana-contract/latest/pyth_lazer_solana_contract/), which allows consumers to parse and verify the price updates on Solana-compatible chains.
18
18
19
-
To start, add the following to your `Cargo.toml` file:
19
+
To start, add the following to your `Cargo.toml` file (please check the current latest version at [crates.io](https://crates.io/crates/pyth-lazer-solana-contract)):
20
20
21
21
```toml copy
22
22
[dependencies]
23
-
pyth-lazer-solana-contract = { version = "0.2.0", features = ["no-entrypoint"] }
23
+
pyth-lazer-solana-contract = { version = "x.y.z", features = ["no-entrypoint"] }
24
24
```
25
25
26
26
Now you can create an instruction or multiple instructions that will receive Pyth Lazer messages.
0 commit comments