Skip to content

Instantly share code, notes, and snippets.

@carrion256
Forked from swimricky/config.yaml
Last active July 9, 2025 09:52
Show Gist options
  • Save carrion256/05cef6b4b0574982bc11762a8519eecf to your computer and use it in GitHub Desktop.
Save carrion256/05cef6b4b0574982bc11762a8519eecf to your computer and use it in GitHub Desktop.
Pyth W3F Mainnet Config
# Address of Pyth contract
# See [https://docs.pyth.network/documentation/pythnet-price-feeds/evm#mainnet]
pythNetworkAddress: "0x4305FB66699C3B2702D4d05CF36551390A4c69C6" # Eth Mainnet address
# debug mode
debug: true
# Refresh rate of config in seconds to prevent rate limiting from github
configRefreshRateInSeconds: 3600
# See [https://docs.pyth.network/documentation/pythnet-price-feeds/price-service#public-endpoints]
priceServiceEndpoint: "https://hermes.pyth.network"
# maximum number of seconds between updates
validTimePeriodSeconds: 86400
# update price if diff between previous price and current exceeds threshold
# units is in basis points
# ex: 2 = .02%, 15 = .15%, 200 = 2%
deviationThresholdBps: 500
# priceIds to check/update. See [https://pyth.network/developers/price-feed-ids#pyth-evm-mainnet] for more
priceIds:
- "0xec5d399846a9209f3fe5881d70aae9268c94339ff9817e8d18ff19fa05eea1c8" # XRP/USD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment