Skip to content

Commit e68ae0a

Browse files
committed
chore(dev-hub) Migrate pyth core guides
1 parent 9f38d1d commit e68ae0a

File tree

5 files changed

+22
-15
lines changed

5 files changed

+22
-15
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"title": "on EVM",
33
"pages": [
4-
"[Part 1: Create Pyth App](/price-feeds/core/tutorials/create-your-first-pyth-app/evm/part-1)",
5-
"[Part 2: Deploy Pyth App](/price-feeds/core/tutorials/create-your-first-pyth-app/evm/part-2)"
4+
"[Part 1: Create Pyth App](/price-feeds/core/create-your-first-pyth-app/evm/part-1)",
5+
"[Part 2: Deploy Pyth App](/price-feeds/core/create-your-first-pyth-app/evm/part-2)"
66
],
77
"defaultOpen": true
88
}

apps/developer-hub/content/docs/price-feeds/core/use-real-time-data/pull-integration/evm.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This guide explains how to use real-time Pyth data in EVM contracts using the pu
1010

1111
For an interactive playground to explore the methods supported by the Pyth contract, see the [EVM API reference](../../../api-reference).
1212

13-
<Callout type="info">
13+
<Callout type="info" title="Push Option">
1414
If you want to use real-time price data using the push integration instead, you can use the following code snippet:
1515
```solidity copy
1616
PythStructs.Price memory price = pyth.getPriceNoOlderThan(priceFeedId, 60);
@@ -50,7 +50,7 @@ Then add the following line to your `remappings.txt` file:
5050
@pythnetwork/pyth-sdk-solidity/=node_modules/@pythnetwork/pyth-sdk-solidity
5151
```
5252

53-
<Callout type="warning">
53+
<Callout type="warning" title="Update Prices First">
5454
**Important**: Pyth uses a pull oracle model that requires users to update
5555
prices on-chain before reading them. If you don't update the price or if the
5656
on-chain price becomes too stale, calls to `getPriceNoOlderThan()` will revert
Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
22
"pages": [
3-
"evm",
4-
"solana",
5-
"starknet",
6-
"fuel",
7-
"stacks",
8-
"aptos",
9-
"sui",
10-
"iota",
11-
"ton",
12-
"cosmwasm",
13-
"near"
3+
"[in EVM contracts](/price-feeds/core/use-real-time-data/pull-integration/evm)",
4+
"[in Solana and SVM programs](/price-feeds/core/use-real-time-data/pull-integration/solana)",
5+
"[in Starknet contracts](/price-feeds/core/use-real-time-data/pull-integration/starknet)",
6+
"[in Fuel contracts](/price-feeds/core/use-real-time-data/pull-integration/fuel)",
7+
"[in Stacks contracts](/price-feeds/core/use-real-time-data/pull-integration/stacks)",
8+
"[in Aptos contracts](/price-feeds/core/use-real-time-data/pull-integration/aptos)",
9+
"[in Sui contracts](/price-feeds/core/use-real-time-data/pull-integration/sui)",
10+
"[in IOTA contracts](/price-feeds/core/use-real-time-data/pull-integration/iota)",
11+
"[in TON contracts](/price-feeds/core/use-real-time-data/pull-integration/ton)",
12+
"[in CosmWasm contracts](/price-feeds/core/use-real-time-data/pull-integration/cosmwasm)",
13+
"[in Near contracts](/price-feeds/core/use-real-time-data/pull-integration/near)"
1414
]
1515
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[
2+
{
3+
"source": "pages/price-feeds/core/use-real-time-data/pull-integration/cosmwasm.mdx",
4+
"target": "content/docs/price-feeds/core/use-real-time-data/pull-integration/cosmwasm.mdx"
5+
}
6+
]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pages/price-feeds/core/use-real-time-data/pull-integration/cosmwasm.mdx -> content/docs/price-feeds/core/use-real-time-data/pull-integration/cosmwasm.mdx

0 commit comments

Comments
 (0)