Skip to content
This repository was archived by the owner on Apr 3, 2023. It is now read-only.

Commit 97cd14f

Browse files
authored
Merge pull request #48 from pyth-network/aptos-readme-fixes
Small README fixes for Aptos
2 parents cb6af36 + 5bf8903 commit 97cd14f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pyth-aptos-js/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ We strongly recommend reading our guide which explains [how to work with Pyth pr
9090

9191
### Example
9292

93-
[This example](./src/examples/AptosRelay.ts) shows how to update prices on an EVM network. It does the following:
93+
[This example](./src/examples/AptosRelay.ts) shows how to update prices on an Aptos network. It does the following:
9494

9595
1. Fetches update data from the Price Service for the given price feeds.
9696
2. Calls the Pyth Aptos contract with the update data.
@@ -99,7 +99,7 @@ You can run this example with `npm run example-relay`. A full command that updat
9999

100100
```bash
101101
export APTOS_KEY = "0x...";
102-
npm run example-relay -- --endpoint https://xc-testnet.pyth.network --price-ids 0xf9c0172ba10dfa4d19088d94f5bf61d3b54d5bd7483a322a982e1373ee8ea31b 0xca80ba6dc32e08d06f1aa886011eed1d77c77be9eb761cc10d72b7d0a2fd57a6 --full-node https://fullnode.testnet.aptoslabs.com/v1 --pyth-contract 0xc655df014ec65d43b478e8e580a2e9493db954818efb01f1cb4a24654294a709
102+
npm run example-relay -- --endpoint https://xc-testnet.pyth.network --price-ids 0xf9c0172ba10dfa4d19088d94f5bf61d3b54d5bd7483a322a982e1373ee8ea31b 0xca80ba6dc32e08d06f1aa886011eed1d77c77be9eb761cc10d72b7d0a2fd57a6 --full-node https://fullnode.testnet.aptoslabs.com/v1 --pyth-contract 0xaa706d631cde8c634fe1876b0c93e4dec69d0c6ccac30a734e9e257042e81541
103103
```
104104

105105
## How Pyth Works on Aptos
@@ -110,7 +110,7 @@ This signed message can then be submitted to the Pyth contract on the Aptos netw
110110

111111
### On-demand price updates
112112

113-
Price updates are not submitted on the EVM networks automatically: rather, when a consumer needs to use the value of a price they should first submit the latest Wormhole update for that price to the Pyth contract on the EVM network they are working on. This will make the most recent price update available on-chain for EVM contracts to use.
113+
Price updates are not submitted to the Aptos networks automatically: rather, when a consumer needs to use the value of a price they should first submit the latest Wormhole update for that price to the Pyth contract on the Aptos network they are working on. This will make the most recent price update available on-chain for Aptos contracts to use.
114114

115115
## Price Service endpoints
116116

0 commit comments

Comments
 (0)