|
| 1 | +[pythd_api_server] |
| 2 | +listen_address = "127.0.0.1:8910" |
| 3 | + |
| 4 | +[primary_network] |
| 5 | + |
| 6 | +# HTTP(S) endpoint of the RPC node. Public RPC endpoints are usually rate-limited, so a private |
| 7 | +# endpoint should be used in most cases. |
| 8 | +rpc_url = "https://api.pythtest.pyth.network" |
| 9 | + |
| 10 | +# WS(S) endpoint of the RRC node. This is used to subscribe to account changes on the network. |
| 11 | +# This can be omitted when oracle.subscriber_enabled is set to false. |
| 12 | +wss_url = "wss://api.pythtest.pyth.network" |
| 13 | + |
| 14 | +# Path to the key store. |
| 15 | +key_store.root_path = "/path/to/keystore" |
| 16 | + |
| 17 | +# Duration of the interval at which to publish updates |
| 18 | +exporter.publish_interval_duration = "400ms" |
| 19 | + |
| 20 | +# Configuration for the optional secondary network this agent will publish data to. |
| 21 | +# In most cases this should be a Solana endpoint. |
| 22 | +[secondary_network] |
| 23 | + |
| 24 | +# Please use other endpoints as these are rate limited |
| 25 | +rpc_url = "https://api.testnet.solana.com" |
| 26 | +wss_url = "wss://api.testnet.solana.com" |
| 27 | + |
| 28 | +# Duration of the interval at which to publish updates. Default interval is 1 seconds. |
| 29 | +# exporter.publish_interval_duration = "1s" |
| 30 | + |
| 31 | +# Price per compute unit offered for update_price transactions. |
| 32 | +# This is needed for solana to be able to land transactions on the network |
| 33 | +# during periods of high network congestion. |
| 34 | +exporter.compute_unit_price_micro_lamports = 1000 |
| 35 | + |
| 36 | +# Configuration for the JRPC API |
| 37 | +[pythd_adapter] |
| 38 | + |
| 39 | +# The duration of the interval at which `notify_price_sched` notifications will be sent. |
| 40 | +# Note that this doesn't affect the rate at which transactions are published: |
| 41 | +# this is soley a backwards-compatibility API feature. |
| 42 | +notify_price_sched_interval_duration = "400ms" |
0 commit comments