Pyth
Pyth Network is a decentralized oracle providing pricing data and verifiable random functions (VRF) for smart contracts. By sourcing data directly from institutional providers, Pyth ensures secure, low-latency price updates while maintaining transparency and efficiency.
Price Feeds
Pyth Network provides real-time financial market data to smart contracts across 100+ blockchains, sourcing prices from over 100 exchanges and market makers. With 850+ price feeds covering equities, commodities, and cryptocurrencies, Pyth aggregates and updates prices multiple times per second.
See Pyth’s Documentation guide to integrate your application with their price feeds.
Smart Contracts
Mainnet
ERC1967Proxy.sol
PythUpgradable.sol
Testnet (Aeneid)
ERC1967Proxy.sol
PythUpgradeable.sol
VRF
Pyth Entropy(VRF) service enables on-chain generation of provably fair random numbers. To integrate Pyth Entropy, you need to invoke an on-chain function to request a random number from Entropy. This function accepts a randomly generated number, which can be created off-chain and sent to the Entropy contract. In return, the contract provides a sequence number. Once the request is processed, Pyth Entropy will send a callback to your contract, delivering the generated random number.
See Pyth’s How to Generate Random numbers in EVM dApps guide to integrate your application with Pyth Entropy.