Pyth Price Oracle
Overview
Pyth Network (opens in a new tab) is a price oracle that provides a high-frequency, low-latency price feed for a wide range of assets. It is designed to be used by high-frequency trading systems and other applications that require a high degree of accuracy and reliability.
Pyth is deployed on ZetaChain and provides price feeds for a wide range of assets, including cryptocurrencies, fiat currencies, and equity.
Pyth contract addresses:
Network | Address |
---|---|
Mainnet | 0x2880aB155794e7179c9eE2e38200202908C17B43 (opens in a new tab) |
Testnet | 0x0708325268dF9F66270F1401206434524814508b (opens in a new tab) |
Source: https://docs.pyth.network/price-feeds/contract-addresses/evm (opens in a new tab)
Pyth Network is a permissionless system, meaning that anyone can submit prices to the oracle. The system uses a decentralized consensus mechanism to ensure that the prices are accurate and reliable.
The ZetaChain contributor team runs a Pyth scheduler that submits prices to the Pyth oracle. The scheduler regularly updates the prices of assets on the oracle, ensuring that the price feeds are accurate and up-to-date.
ZetaChain's Pyth scheduler is provided as a public service to the community to enhance the developer experience and make it easier to test out dapps. If you're building a production level dapp, you should consider running your own scheduler. Learn more in the Pyth's docs (opens in a new tab).
Currently supported assets: BTC, BNB, MATIC, ETH, USDC, ZETA, USDT.
Price feed IDs: https://pyth.network/developers/price-feed-ids (opens in a new tab)
Pyth Entropy
Pyth Entropy (opens in a new tab) allows developers to quickly and easily generate secure random numbers on the blockchain. Entropy's rapid response time allows developers to build applications such as NFT mints and games with responsive UX. Entropy also provides strong security guarantees to ensure that both users and application developers can trust that the results are random.
Pyth Entropy is currently available on Zetachain. Learn more (opens in a new tab) on how to generate a random number through Entropy.
Pyth contract addresses:
Network | Address |
---|---|
Mainnet | 0x36825bf3Fbdf5a29E2d5148bfe7Dcf7B5639e320 (opens in a new tab) |
Testnet | 0x4374e5a8b9C22271E9EB878A2AA31DE97DF15DAF (opens in a new tab) |
Create your first Entropy-powered app through this example (opens in a new tab).
Continue Learning
Continue with the next part or try a related tutorial