# All About Pyth I Nidhi Singh

- Channel: [ETHGlobal](https://streameth.org/ethglobal)
- Date: 2025-11-09
- Duration: 28:11
- Topics: Pyth, Nidhi Singh, oracle, price feeds, entropy, randomness, commit-reveal, Hermes, pull-based oracle, push-based model, on-chain data, Solidity SDK, EVM, DeFi, ETHGlobal, blockchain data, real-time pricing, Entropy v2, randomness callback, developer tools, Pythnet, gas limits, error codes, Entropy Explorer
- Watch: https://streameth.org/watch/yt-i-QNg5dXrP8
- YouTube: https://www.youtube.com/watch?v=i-QNg5dXrP8

## Description

Nidhi Singh presents a detailed workshop on Pyth, explaining everything developers and hackathon participants need to know about integrating Pyth’s price feeds and entropy into their Web3 applications. She begins by comparing push-based vs. pull-based oracle models, describing how Pyth’s on-demand (pull) price feeds give developers control, ensuring accurate and up-to-date pricing while reducing gas inefficiency common in legacy oracle systems.

She walks through the Solidity SDK, showing how to fetch price feed IDs, obtain contract addresses, and use Hermes, Pyth’s off-chain service, to retrieve and update prices on-chain. Nidhi emphasizes that for hackathon eligibility, developers must update prices on-chain using the pull mechanism rather than relying on cached or unsafe methods.

In the second part, she introduces Pyth Entropy, a secure on-chain randomness protocol based on a commit-and-reveal cryptographic scheme. Developers learn how to request random numbers, handle callbacks in smart contracts, and debug using the Entropy Explorer. The session concludes with a look at Entropy v2, customizable gas limits, and developer resources including documentation, error codes, and community forums.

00:10 Introduction & disclaimer
00:37 Overview of Pyth tracks: Price Feeds & Entropy
01:06 How Pyth’s price feed architecture differs from other oracles
02:16 Push-based vs. Pull-based models explained
04:05 Pull-based on-demand pricing and Hermes integration
05:13 How to integrate Pyth price feeds
06:27 Getting price feed IDs and contract addresses
07:56 Supported chains and asset classes
09:03 Using Hermes via REST, SDK, or WebSockets
10:30 Updating vs. getting prices; avoiding stale data
11:44 Smart contract example: updatePrice → getPriceNoOlderThan
12:52 Unsafe methods and bounty disqualification warnings
13:45 Developer Q&A: integration types, off-chain eligibility, latency
17:12 Intro to Entropy — secure randomness for smart contracts
17:57 How commit-and-reveal randomness works
20:10 Advantages over VRF and permissionless access
21:21 Implementing Entropy in EVM contracts (request + callback)
23:15 Using the Entropy Explorer for debugging
24:23 Gas limits, Entropy v2, and requestV2 upgrades
25:42 Handling callback failures and retrying
26:37 Dev forum for support & Q&A
27:20 Workshop close and resource sharing

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _  

💻 ETHOnline 2025
This workshop is specifically for ETHOnline 2025, a 21-day hackathon held October 10 - 31, 2025, bringing together the most skilled web3 developers, designers and product builders from all around the globe for a weekend-long adventure to advance the Ethereum ecosystem!

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _  

✅ Follow Pyth Network
X: https://x.com/PythNetwork

✅ Follow ETHGlobal
X: https://x.com/ETHGlobal​
Warpcast: https://warpcast.com/ethglobal
Website: https://ethglobal.com
YouTube: https://www.youtube.com/c/ETHGlobal 

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _  

_Are you interested in Ethereum development and entrepreneurship?_
👉 Sign up for the next ETHGlobal event: https://ethglobal.com/events
🎁 Get exclusive access and perks with ETHGlobal Plus! https://ethglobal.com/plus
📣 Want us to throw an event in your city? Tell us where! https://ethglobal.com/city
