Add entropy/sharkbattles example #69
Open
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: Shark Battles - Prediction Battle Platform
Pyth Product Used:
Blockchain/Platform:
Description
What does this contribution do?
This contribution adds a comprehensive prediction battle platform that demonstrates advanced integration of both Pyth Network price feeds and Pyth Entropy for verifiable randomness. Shark Battles is a gamified prediction platform where users compete to predict cryptocurrency price movements within specific time periods, featuring a dual reward system that combines skill-based and luck-based incentives.
How does it integrate with Pyth?
The project showcases dual Pyth integration:
Pyth Price Feeds Integration:
Pyth Entropy Integration:
What problem does it solve or demonstrate?
This example demonstrates how to build engaging DeFi applications that combine:
Directory Structure (for new examples)
Testing & Verification
How to Test This Contribution
The project includes comprehensive testing setup and deployment scripts for easy verification.
Prerequisites
Setup & Run Instructions
Deployment Information (if applicable)
Network: N/A
Contract Address(es): N/A
Demo URL: N/A
Checklist
Code Quality
Testing
Additional Context
Related Issues
N/A
Screenshots/Demo (if applicable)
N/A
Notes for Reviewers
N/A