You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[`price-config.testnet.sample.yaml`](./price-config.testnet.sample.yaml) contains configuration for `BTC/USD`
98
94
and `BNB/USD` price feeds on Pyth testnet. [`price-config.mainnet.sample.yaml`](./price-config.mainnet.sample.yaml)
99
95
contains the same configuration for `BTC/USD` and `BNB/USD` on Pyth mainnet.
100
96
97
+
You can also provide a config file instead of providing command line options, run the following command:
98
+
99
+
```sh
100
+
npm run start -- injective --config "./config.injective.sample.json"
101
+
```
102
+
103
+
[`config.injective.sample.json`](./config.injective.sample.json) contains configuration to publish on Injective testnet.
104
+
101
105
## Running using a standalone price service (via docker-compose)
102
106
103
-
EVM price pusher communicates with [Pyth price service][] to get the most recent price updates. Pyth price service listens to the
107
+
Price pusher communicates with [Pyth price service][] to get the most recent price updates. Pyth price service listens to the
104
108
Wormhole network to get latest price updates, and serves REST and websocket APIs for consumers to fetch the updates.
105
109
Pyth hosts public endpoints for the price service; however, it is recommended to run it standalone to achieve more resiliency and
106
110
scalability.
107
111
108
112
This directory contains sample docker compose files ([testnet](./docker-compose.testnet.sample.yaml),
109
-
[mainnet](./docker-compose.mainnet.sample.yaml)) an EVM price pusher and its dependencies, including a
113
+
[mainnet](./docker-compose.mainnet.sample.yaml)) a price pusher and its dependencies, including a
110
114
price service and a Wormhole spy. A price service depends on a Wormhole spy. A spy listens to the Wormhole
111
115
network and reports all Pyth-related Wormhole messages to the price service.
112
116
113
-
To run the services via docker-compose, please modify the your target network (testnet, mainnet) sample docker-compose file to adjust
114
-
the path to your mnemonic file, the path to your price configuration file, the EVM endpoint, and the Pyth contract address
115
-
as necessary.
117
+
To run the services via docker-compose, please modify the your target network (testnet, mainnet) sample docker-compose file to adjust the configurations.
0 commit comments