Technical for pyth.network and ZKDX
Last updated
Last updated
Stable
https://hermes.pyth.network(opens in a new tab)
Beta
https://hermes-beta.pyth.network
ref:https://docs.pyth.network/documentation/pythnet-price-feeds/hermes
PYTH is on the EVM public chain, and different addresses have different endPoint addresses, such as:
zkSync Era Goerli (testnet): 0x8739d5024B5143278E2b15Bd9e7C26f6CEc658F1
zkSync Era Sepolia (testnet): 0x056f829183Ec806A78c26C98961678c24faB71af
Linea Goerli: 0xdF21D137Aadc95588205586636710ca2890538d5
Base Goerli (testnet): 0xEbe57e8045F2F230872523bbff7374986E45C486
Base Sepolia (testnet): 0xA2aa501b19aff244D90cc15a4Cf739D2725B5729
Scroll Sepolia (testnet): 0x41c9e39574F40Ad34c79f1C99B66A45eFB830d4c
Mantle testnet: 0xDd24F84d36BF92C65F92307595335bdFab5Bbd21
ZKFair testnet: 0xA2aa501b19aff244D90cc15a4Cf739D2725B5729
Blast Sepolia(testnet): 0xA2aa501b19aff244D90cc15a4Cf739D2725B5729
zkSync Era: 0xf087c864AEccFb6A2Bf1Af6A0382B0d0f6c5D834
Linea: 0xA2aa501b19aff244D90cc15a4Cf739D2725B5729
Base: 0x8250f4aF4B972684F7b336503E2D6dFeDeB1487a
Scroll: 0xA2aa501b19aff244D90cc15a4Cf739D2725B5729
Mantle: 0xA2aa501b19aff244D90cc15a4Cf739D2725B5729
ZKFair: 0xA2aa501b19aff244D90cc15a4Cf739D2725B5729
Ref: https://docs.pyth.network/documentation/pythnet-price-feeds/evm
When the user uses a certain price, he needs to get the priceFeedId of python
Crypto.BTC/USD: 0xe62df6c8b4a85fe1a67db44dc12de5db330f7ac66b72dc658afedf0f4a415b43
Crypto.ETH/USD: 0xff61491a931112ddf1bd8147cd1b641375f79f5825126d665480874634fd0ace
Crypto.LTC/USD: 0x6e3f3fa8253588df9326580180233eb791e03b443a3ba7a1d892e73874e19a54
Crypto.DOGE/USD: 0xdcef50dd0a4cd2dcc17e45df1676dcb336a11a61c69df7a0299b0150c672d25c
Crypto.ARB/USD: 0x3fa4252848f9f0a1480be62745a4629d9eb1322aebab8a791e344b3b9c1adcf5
Crypto.FIL/USD: 0x150ac9b959aee0051e4091f0ef5216d941f590e1c5e7f91cf7635b5c11628c0e
Equity.US.MSFT/USD: 0xd0ca23c1cc005e004ccf1db5bf76aeb6a49218f43dac3d4b275e92de12ded4d1
Equity.US.TSLA/USD: 0x16dad506d7db8da01c87581c87ca897a012a153557d4d578c3b9c9e1bc0632f1
Crypto.ORDI/USD: 0x193c739db502aadcef37c2589738b1e37bdb257d58cf1ab3c7ebc8e6df4e3ec0
Crypto.WBTC/USD: 0xea0459ab2954676022baaceadb472c1acc97888062864aa23e9771bae3ff36ed
Crypto.ETH/USD: 0xca80ba6dc32e08d06f1aa886011eed1d77c77be9eb761cc10d72b7d0a2fd57a6
Crypto.LTC/USD: 0x997e0bf451cb36b4aea096e6b5c254d700922211dd933d9d17c467f0d6f34321
Crypto.DOGE/USD: 0x31775e1d6897129e8a84eeba975778fb50015b88039e9bc140bbd839694ac0ae
Crypto.ARB/USD: 0x37f40d2898159e8f2e52b93cb78f47cc3829a31e525ab975c49cc5c5d9176378
Crypto.FIL/USD: 0xb5622d32f36dc820af288aab779133ef1205d3123bbe256603849b820de48b87
Equity.US.MSFT/USD: 0x4e10201a9ad79892f1b4e9a468908f061f330272c7987ddc6506a254f77becd7
Equity.US.TSLA/USD: 0x7dac7cafc583cc4e1ce5c6772c444b8cd7addeecd5bedb341dfa037c770ae71e
Ref: https://pyth.network/developers/price-feed-ids
Select Pyth EVM Stable to get the priceFeedId of the main network
Select Pyth EVM Beta to get the priceFeedId of the test network