Add HedgePod Agent: Autonomous DeFi with Pyth Entropy#82
Open
mollybeach wants to merge 1 commit intopyth-network:mainfrom
Open
Add HedgePod Agent: Autonomous DeFi with Pyth Entropy#82mollybeach wants to merge 1 commit intopyth-network:mainfrom
mollybeach wants to merge 1 commit intopyth-network:mainfrom
Conversation
- Implements RandomAgentSelector using Pyth Entropy for fair agent selection - Production use case: Weekly lottery for bonus yield rewards - MEV protection through random rebalancing order - Deployed on Base Sepolia with live demo at https://hedgepod.app - Complete documentation and integration examples - Built at ETHGlobal Buenos Aires 2025 Features: - Fair agent selection via verifiable randomness - Gas-efficient implementation with batch operations - Integrated with World ID for sybil resistance - Real-world production deployment - Educational example with extensive comments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Project: HedgePod Agent
Overview
HedgePod is an autonomous cross-chain DeFi platform that uses Pyth Entropy for fair agent selection and reward distribution. Built at ETHGlobal Buenos Aires 2025.
Live Demo: https://hedgepod.app
Implementation Details: https://hedgepod.app/entropy-implementation
GitHub Repo: https://github.com/mollybeach/hedgepod
What's Included
RandomAgentSelector.sol- Smart contract implementingIEntropyConsumerPyth Entropy Integration
Contract Implementation:
requestWithCallback()for random number generationentropyCallback()for agent selectionProduction Use Cases:
Live Deployment
0x41c9e39574F40Ad34c79f1C99B66A45eFB830d4cWhy This Example is Valuable
Technical Highlights
Hackathon Submission
Built at ETHGlobal Buenos Aires 2025. Applying for Pyth Entropy Pool Prize.
Other Sponsors Integrated:
Testing
The contract is production-tested and live at https://hedgepod.app. Users can:
/portfolio/deploy/entropy-implementationQuestions or feedback? Happy to iterate and make any changes needed!
Contact: