Skip to content

Instantly share code, notes, and snippets.

@swimricky
Last active September 26, 2023 13:54
Show Gist options
  • Save swimricky/b0a877a21e1034360d7153d45cdd825f to your computer and use it in GitHub Desktop.
Save swimricky/b0a877a21e1034360d7153d45cdd825f to your computer and use it in GitHub Desktop.
Pyth W3F Mumbai Config
# Address of Pyth contract
# See [https://docs.pyth.network/documentation/pythnet-price-feeds/evm#testnet]
pythNetworkAddress: "0xff1a0f4744e8582DF1aE09D5611b887B6a12925C" # Mumbai Testnet address
# debug mode
debug: true
# Refresh rate of config in seconds to prevent rate limiting from github
configRefreshRateInSeconds: 60
# See [https://docs.pyth.network/documentation/pythnet-price-feeds/price-service#public-endpoints]
priceServiceEndpoint: "https://hermes-beta.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: 200
# priceIds to check/update
priceIds:
- "0xca80ba6dc32e08d06f1aa886011eed1d77c77be9eb761cc10d72b7d0a2fd57a6" # ETH/USD
- "0xf9c0172ba10dfa4d19088d94f5bf61d3b54d5bd7483a322a982e1373ee8ea31b" # BTC/USD
- "0xfe650f0367d4a7ef9815a593ea15d36593f0643aaaf0149bb04be67ab851decd" # SOL/USD
- "0xd6b3bc030a8bbb7dd9de46fb564c34bb7f860dead8985eb16a49cdc62f8ab3a5" # AAVE/USD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment