Skip to content

Commit 4dfbdd5

Browse files
committed
temp
1 parent 18c57aa commit 4dfbdd5

File tree

2 files changed

+31
-2
lines changed

2 files changed

+31
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"evm": "EVM chains",
3-
"svm": "SVM chains"
2+
"evm": "on EVM chains",
3+
"svm": "on SVM chains"
44
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
import { Callout, Tabs, Steps } from "nextra/components";
2+
3+
# Integrate Pyth Lazer as a Consumer on EVM chains
4+
5+
This guide is intended to serve for users who wants to consume prices from the Pyth Lazer price feed on EVM chains.
6+
7+
Integrating with Pyth Lazer in your smart contracts as a consumer is a three-step process:
8+
9+
1. **Integrate** Pyth Lazer SDK into your smart contracts.
10+
2. **Subscribe** to Pyth Lazer websocket to receive price updates on your backend or frontend.
11+
3. **Include** the price updates into your smart contract transactions.
12+
13+
14+
<Steps>
15+
16+
### Integrate Pyth Lazer SDK into your smart contracts
17+
18+
Pyth Lazer provides a solidity SDK, which allows consumers to TODO:
19+
20+
```bash
21+
forge install pythnet/pyth-crosschain
22+
```
23+
24+
TODO: requiremnts.txt
25+
26+
```bash
27+
pyth-lazer-sdk/=lib/pythnet/pyth-crosschain/lazer/contracts/evm
28+
```
29+
</Steps>

0 commit comments

Comments
 (0)