Add JuryDAO example under entropy folder #80
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.
Pyth Examples Contribution
Type of Contribution
Project Information
Project/Example Name: JuryDAO – Decentralized Governance Through Random Jury Selection
Pyth Product Used:
Blockchain/Platform:
Description
What does this contribution do?
This contribution adds JuryDAO, a decentralized governance framework that replaces traditional token-based voting with provably random juries for each proposal.
It demonstrates how to use Pyth Entropy VRF for transparent and verifiable randomness in smart contract governance.
How does it integrate with Pyth?
entropyCallback()receives the random number.What problem does it solve or demonstrate?
It showcases a practical governance application using verifiable randomness to combat:
Directory Structure
Testing & Verification
How to Test This Contribution
Prerequisites
Setup & Run Instructions
To Deploy Contracts
Deployment Information
Network: Base Sepolia
Contract Addresses:
0x6CC14824Ea2918f5De5C2f75A9Da968ad4BD63440x41c9e39574F40Ad34c79f1C99B66A45eFB830d4cDemo URL: http://localhost:5173 (for local runs)
Checklist
Code Quality
.env-based configurationTesting
Additional Context
Screenshots/Demo
Notes for Reviewers
This example demonstrates a complete DAO governance model powered by Pyth Entropy randomness.
It’s a solo hackathon project built by a developer from IIT Roorkee, and aims to showcase real-world governance improvements using decentralized randomness.
Thank you for contributing to Pyth Examples!