Skip to content
This repository was archived by the owner on Nov 28, 2025. It is now read-only.

Commit 5e32248

Browse files
committed
fix minor issues
Signed-off-by: master_jedy <[email protected]>
1 parent eff9a2d commit 5e32248

File tree

1 file changed

+11
-5
lines changed
  • pages/price-feeds/use-real-time-data

1 file changed

+11
-5
lines changed

pages/price-feeds/use-real-time-data/ton.mdx

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -126,15 +126,21 @@ This code snippet does the following:
126126

127127
When providing Pyth data to your contract, there are typically two main scenarios: either you call a method supplying TON, or you transfer jettons.
128128

129-
They both are demonstrated in the [Pyth Connector example](https://github.com/pyth-network/pyth-examples/tree/main/price_feeds/ton/pyth_connector).
130-
These same patterns are also used in the [EVAA Protocol code](https://github.com/evaafi/contracts).
129+
They both are demonstrated in the [Pyth Connector example](https://github.com/pyth-network/pyth-examples/tree/main/price_feeds/ton/pyth-connector).
130+
131+
These same patterns are also used in the
132+
[EVAA Protocol code](https://github.com/evaafi/contracts/tree/v8).
131133

132134
1. **Pyth Proxy Call Pattern**
133135
**Flow:** *User → Pyth → Your-Contract*
136+
134137
Use this method if you only need to send TON to your contract or simply call a contract method, without involving jettons.
135138

136139
2. **Onchain Getter Pattern**
137-
**Flow:** *User → User-Jetton-Wallet → Your-Contract → Pyth → Your-Contract*
140+
**Flow:** *User → User-JW → Your-Contract-JW → Your-Contract → Pyth → Your-Contract*
141+
142+
> JW = Jetton Wallet
143+
138144
In this pattern, your contract first receives the Pyth data, then forwards it to the Pyth contract for validation, and finally gets the validated prices back.
139145
This approach is useful when you want to transfer jettons to your contract while also providing price data.
140146

@@ -150,5 +156,5 @@ You may find these additional resources helpful for developing your TON applicat
150156
- [Pyth TON SDK](https://github.com/pyth-network/pyth-crosschain/tree/main/target_chains/ton/sdk)
151157
- [Pyth TON SDK Example](https://github.com/pyth-network/pyth-examples/tree/main/price_feeds/ton/sdk_js_usage)
152158
- [Pyth TON Send USD Example](https://github.com/pyth-network/pyth-examples/tree/main/price_feeds/ton/send_usd)
153-
- [Pyth Connector Example](https://github.com/pyth-network/pyth-examples/tree/main/price_feeds/ton/pyth_connector)
154-
- [EVAA Protocol Code](https://github.com/evaafi/contracts)
159+
- [Pyth Connector Example](https://github.com/pyth-network/pyth-examples/tree/main/price_feeds/ton/pyth-connector)
160+
- [EVAA Protocol Code](https://github.com/evaafi/contracts/tree/v8)

0 commit comments

Comments
 (0)