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

Commit a364898

Browse files
authored
Rename prices-xnet.pyth.. to prices.xnet.pyth.. (#17)
1 parent f5eb5b0 commit a364898

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

pyth-evm-js/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Pyth prices and submit them to the network:
2626

2727
```typescript
2828
const connection = new EvmPriceServiceConnection(
29-
"https://prices-testnet.pyth.network"
29+
"https://prices.testnet.pyth.network"
3030
); // See Price Service endpoints section below for other endpoints
3131

3232
const priceIds = [
@@ -97,7 +97,7 @@ There are two examples in [examples](./src/examples/).
9797
[This example](./src/examples/EvmPriceServiceClient.ts) fetches `PriceFeed` updates using both a HTTP-request API and a streaming websocket API. You can run it with `npm run example-client`. A full command that prints BTC and ETH price feeds, in the testnet network, looks like so:
9898

9999
```bash
100-
npm run example-client -- --endpoint https://prices-testnet.pyth.network --price-ids 0xf9c0172ba10dfa4d19088d94f5bf61d3b54d5bd7483a322a982e1373ee8ea31b 0xca80ba6dc32e08d06f1aa886011eed1d77c77be9eb761cc10d72b7d0a2fd57a6
100+
npm run example-client -- --endpoint https://prices.testnet.pyth.network --price-ids 0xf9c0172ba10dfa4d19088d94f5bf61d3b54d5bd7483a322a982e1373ee8ea31b 0xca80ba6dc32e08d06f1aa886011eed1d77c77be9eb761cc10d72b7d0a2fd57a6
101101
```
102102

103103
#### EvmRelay
@@ -111,7 +111,7 @@ npm run example-client -- --endpoint https://prices-testnet.pyth.network --price
111111
You can run this example with `npm run example-relay`. A full command that updates BTC and ETH prices on the BNB Chain testnet network looks like so:
112112

113113
```bash
114-
npm run example-relay -- --network bnb_testnet --mnemonic "my good mnemonic" --endpoint https://prices-testnet.pyth.network --price-ids 0xf9c0172ba10dfa4d19088d94f5bf61d3b54d5bd7483a322a982e1373ee8ea31b 0xca80ba6dc32e08d06f1aa886011eed1d77c77be9eb761cc10d72b7d0a2fd57a6
114+
npm run example-relay -- --network bnb_testnet --mnemonic "my good mnemonic" --endpoint https://prices.testnet.pyth.network --price-ids 0xf9c0172ba10dfa4d19088d94f5bf61d3b54d5bd7483a322a982e1373ee8ea31b 0xca80ba6dc32e08d06f1aa886011eed1d77c77be9eb761cc10d72b7d0a2fd57a6
115115
```
116116

117117
## How Pyth Works on EVM Chains
@@ -130,5 +130,5 @@ Public endpoints for the Price Service are provided for both mainnet and testnet
130130

131131
| network | url |
132132
| ------- | ----------------------------------- |
133-
| mainnet | https://prices-mainnet.pyth.network |
134-
| testnet | https://prices-testnet.pyth.network |
133+
| mainnet | https://prices.mainnet.pyth.network |
134+
| testnet | https://prices.testnet.pyth.network |

pyth-terra-js/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Pyth prices before submitting them to Terra:
2626

2727
```typescript
2828
const connection = new TerraPriceServiceConnection(
29-
"https://prices-testnet.pyth.network"
29+
"https://prices.testnet.pyth.network"
3030
); // See Price Service endpoints section below for other endpoints
3131

3232
const priceIds = [
@@ -76,7 +76,7 @@ There are two examples in [examples](./src/examples/).
7676
[This example](./src/examples/TerraPriceServiceClient.ts) fetches `PriceFeed` updates using both a HTTP-request API and a streaming websocket API. You can run it with `npm run example-client`. A full command that prints BTC and LUNA price feeds, in the testnet network, looks like so:
7777

7878
```bash
79-
npm run example-client -- --endpoint https://prices-testnet.pyth.network --price-ids f9c0172ba10dfa4d19088d94f5bf61d3b54d5bd7483a322a982e1373ee8ea31b 6de025a4cf28124f8ea6cb8085f860096dbc36d9c40002e221fc449337e065b2
79+
npm run example-client -- --endpoint https://prices.testnet.pyth.network --price-ids f9c0172ba10dfa4d19088d94f5bf61d3b54d5bd7483a322a982e1373ee8ea31b 6de025a4cf28124f8ea6cb8085f860096dbc36d9c40002e221fc449337e065b2
8080
```
8181

8282
#### TerraRelay
@@ -90,7 +90,7 @@ npm run example-client -- --endpoint https://prices-testnet.pyth.network --price
9090
You can run this example with `npm run example-relay`. A full command that updates BTC and LUNA prices on the testnet network looks like so:
9191

9292
```bash
93-
npm run example-relay -- --network testnet --mnemonic "my good mnemonic" --endpoint https://prices-testnet.pyth.network --price-ids f9c0172ba10dfa4d19088d94f5bf61d3b54d5bd7483a322a982e1373ee8ea31b 6de025a4cf28124f8ea6cb8085f860096dbc36d9c40002e221fc449337e065b2
93+
npm run example-relay -- --network testnet --mnemonic "my good mnemonic" --endpoint https://prices.testnet.pyth.network --price-ids f9c0172ba10dfa4d19088d94f5bf61d3b54d5bd7483a322a982e1373ee8ea31b 6de025a4cf28124f8ea6cb8085f860096dbc36d9c40002e221fc449337e065b2
9494
```
9595

9696
## How Pyth Works in Terra
@@ -109,5 +109,5 @@ Public endpoints for the Price Service are provided for both mainnet and testnet
109109

110110
| network | url |
111111
| ------- | ----------------------------------- |
112-
| mainnet | https://prices-mainnet.pyth.network |
113-
| testnet | https://prices-testnet.pyth.network |
112+
| mainnet | https://prices.mainnet.pyth.network |
113+
| testnet | https://prices.testnet.pyth.network |

0 commit comments

Comments
 (0)