Added Moonshot Crash — a Base-based crash game demonstrating the integration of Pyth Entropy for randomness. #70
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:
Pyth Product Used:
Blockchain/Platform:
Description
What does this contribution do?
This project implements a crash game smart contract using Pyth Entropy for fair and verifiable random numbers. The game allows players to place bets and “cash out” at the right time before the multiplier crashes.
How does it integrate with Pyth?
The project uses the Pyth Entropy Service for cryptographically secure random numbers to determine the crash point. The smart contract integrates Pyth's IEntropyV2 interface.
What problem does it solve or demonstrate?
It demonstrates:
Directory Structure (for new examples)
Testing & Verification
How to Test This Contribution
Prerequisites
Setup & Run Instructions
Prerequisites
Setup & Run Instructions
Deployment Information (if applicable)
Network: Base Sepolia
Contract Address(es): 0x4bE9d0294e475e0493d22D5699DF1f844970Fc0D
Demo URL:
Checklist
Code Quality
Testing
Additional Context
Related Issues
Fixes #
Screenshots/Demo (if applicable)
Notes for Reviewers
Thank you for contributing to Pyth Examples!