Skip to content

Conversation

@SweetieBirdX
Copy link

RogueChain - Web3 RPG with Pyth Oracle Integration

Overview

RogueChain is a comprehensive Web3 RPG game that demonstrates advanced Pyth Network integration, combining real-time price feeds and entropy for dynamic gameplay mechanics.

Key Features

  • Real-time Market Integration: ETH/USD and BTC/USD price feeds
  • Dynamic Game Mechanics: Market state affects difficulty and rewards
  • Pyth Entropy Integration: Provably fair randomness
  • NFT Heroes: ERC721 tokens with randomized stats
  • Production-Ready Frontend: Modern, responsive UI

Pyth Integration Highlights

  • Advanced price feed integration with market state detection
  • Pyth Entropy callback implementation for randomness
  • Robust error handling and fallback mechanisms
  • Gas-optimized oracle interactions

Live Demo

🌐 https://rogue-chain.vercel.app/
📧 Contract: 0x01b4b5227A1234A32b23bdBCF63C354f1253C963
🌐 Network: Optimism Sepolia

Technical Stack

  • Solidity 0.8.20
  • Pyth Network SDK
  • Ethers.js
  • Hardhat
  • OpenZeppelin Contracts

This example showcases how to build engaging Web3 applications using Pyth's oracle infrastructure for both price data and randomness.

- Demonstrates advanced Pyth Network integration
- Combines price feeds and entropy for dynamic gameplay
- Live demo: https://rogue-chain.vercel.app/
- Contract: 0x01b4b5227A1234A32b23bdBCF63C354f1253C963
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant