Integration Grants Application '25: RollsX

Introduction

Name of the project: RollsX

The Conflux ecosystem, while robust in its underlying technology, currently lacks a truly decentralized, provably fair, and engaging on-chain betting game that fully leverages its high-performance capabilities and low transaction fees. Existing online gambling and gaming platforms often struggle with transparency, unfair randomness, and tampering risks due to centralized RNGs. In the broader blockchain gaming space, issues like high transaction fees, slow processing speeds, and the risk of payout manipulation by malicious actors further hinder user trust and adoption. RollsX aims to solve these problems by providing a secure, verifiable, and decentralized betting experience on Conflux, ensuring tamper-proof outcomes driven by a unique, on-chain RNG system, and mitigating negative exploitation.

Alignment of the project with the Conflux Network: RollsX is designed to directly align with the Conflux Network’s vision by showcasing its scalability, security, and low transaction costs. By building a high-throughput, low-latency betting game, RollsX will demonstrate the practical advantages of Conflux’s architecture for real-time, interactive dApps. The project will leverage Conflux eSpace for seamless integration with existing EVM tools and infrastructure, providing a familiar environment for developers and users.

Benefit to the Conflux Ecosystem: How this product will entice more developers to build on Conflux: RollsX will serve as a prominent example of a complex, interactive dApp successfully deployed on Conflux. Its open-source smart contracts for decentralized RNG and game mechanics will act as a blueprint and inspiration for other developers looking to build similar gaming or financial applications. By demonstrating a popular, well-functioning game with robust security and fair mechanics, RollsX will lower the barrier to entry and encourage more developers to explore and build on the Conflux Network.

Economic benefit: RollsX will directly contribute to the economic growth of the Conflux ecosystem by:

  • Increasing Transaction Volume: Every bet, payout, and reward distribution will occur on-chain, significantly boosting the daily transaction volume and network activity on Conflux.
  • Driving CFX Token Utility: RollsX will integrate CFX tokens as the primary betting and reward token, driving higher demand and liquidity for CFX within the Conflux ecosystem.
  • Attracting New Users & Capital: The engaging and transparent nature of RollsX will attract new users to the Conflux Network, some of whom will bring new assets into the ecosystem to participate in the game.
  • Generating Protocol Fees: The platform fees collected from bets will contribute to the overall economic activity and potentially benefit the Conflux Network through increased demand for block space.
  • Demonstrate a competitive edge that differentiates it from other projects: RollsX differentiates itself through:
  • Truly Decentralized RNG: Our proprietary on-chain RNG system ensures provably fair outcomes, eliminating the trust issues associated with centralized random number generation. This is a critical differentiator in the betting space.
  • Conflux-Native Optimization: Designed from the ground up to leverage Conflux’s high-speed and low-cost transaction capabilities, offering a superior user experience compared to games on less performant chains.
  • Seamless Web3 Integration: User-friendly interface with straightforward wallet connections, making the onboarding process smooth for both crypto-native and new users.

Conflux eSpace grant recipient wallet address: - cfx:aak3sb2e11szhuc3cx1ru8jgd50n4ev2kj9cavpuvc

Technical Introduction

As highlighted, the Conflux ecosystem can significantly benefit from a truly decentralized, transparent, and fair on-chain betting game. The current landscape often presents challenges related to centralized RNG, high transaction fees, and potential manipulation. RollsX directly addresses these issues by providing a solution built on Conflux’s robust infrastructure.
Existing decentralized betting platforms often rely on external or pseudo-random number generators, which can introduce centralization risks or predictability. Some also suffer from high gas fees and slow confirmation times on less efficient blockchains, limiting their appeal for real-time interactive games.

RollsX’s feasibility is high due to Conflux’s inherent advantages:

  • High TPS & Low Fees: Conflux’s Tree-Graph consensus mechanism enables high transaction throughput and low fees, making it ideal for a real-time betting game with frequent, small transactions.
  • eSpace Compatibility: Leveraging eSpace ensures compatibility with existing EVM tools and smart contract development, streamlining the development process.
  • Robust Security: Conflux’s network security provides a strong foundation for ensuring the integrity of on-chain game mechanics.

Purpose of the system: The purpose of RollsX is to create a pioneering decentralized betting game on the Conflux Network that offers:

  • Provably Fair Gameplay: Through an on-chain, verifiable RNG system.
  • Transparent Outcomes: All bets and payouts recorded on the blockchain.
  • Engaging User Experience: Fast, low-cost transactions powered by Conflux.
  • Increased Conflux Adoption: By showcasing a compelling use case for the network.
  • Scope of the system: The scope of RollsX encompasses:
  • Smart contract development for decentralized RNG, betting logic, and payout mechanisms.
  • Frontend dApp development for user interaction, wallet connection, and real-time game display.
  • Integration with Conflux eSpace for seamless on-chain operations using CFX tokens.
  • Implementation of security measures to prevent common blockchain exploits

Objectives and success criteria of the project:

  • Develop and deploy RollsX smart contracts on Conflux eSpace.
  • Launch a user-friendly dApp for RollsX accessible via web browsers.
  • Ensure the decentralized RNG is tamper-proof and verifiably fair.
  • Achieve targeted user engagement and transaction volume metrics post-launch.

Success Criteria:

  • Successful deployment of smart contracts.
  • Smooth and responsive user interface for betting.
  • Average daily transaction volume exceeding [X] CFX within 6 months.
  • Positive community feedback regarding fairness and user experience.

Technical Proposal

1.Functional overview of your system: RollsX is a decentralized blockchain-based betting game where players wager on the outcome of a virtual 100-sided dice roll. The core mechanic involves selecting between “Roll Over” (betting the roll will be higher than a target number) and “Roll Under” (betting the roll will be lower than a target number). Players can adjust their risk level, influencing the multiplier and potential payout. All wagers and payouts are handled in CFX tokens.Identify all of the core aspects of your system and elements to uphold its functionality:
Decentralized Random Number Generation (RNG):

  • Mechanism: A provably fair, on-chain RNG system will be developed and implemented as a core smart contract. This will likely involve a combination of block hash (with careful handling of predictability), commit-reveal schemes, and potentially VRF (Verifiable Random Function) integration if available and suitable on Conflux.
  • Verifiability: Every roll outcome will be verifiable by any user, ensuring transparency and trust.
  • Tamper-Proof: The RNG design will be resistant to manipulation by miners/validators or malicious actors.

Betting Smart Contract:

  • Wagering: Players deposit CFX tokens as their bet amount.
  • Betting Modes: Logic for “Roll Over” and “Roll Under” bets, including target number selection.
  • Multiplier Calculation: Dynamic calculation of multipliers based on winning probability and platform fees, executed entirely on-chain.
  • Payout Logic: Automated payout distribution to winning players, including the original stake and profit, directly to their Conflux wallet.

CFX Token Integration:

  • Primary Currency: CFX will be the sole currency for all wagers and payouts, driving its utility and demand within the Conflux ecosystem.
  • Smart Contract Interaction: The smart contracts will handle secure transfer and receipt of CFX tokens for betting and payouts.

User Interface (dApp):

  • Wallet Connection: Seamless integration with popular Conflux-compatible wallets (e.g., MetaMask configured for Conflux eSpace).
  • Game Dashboard: Intuitive interface for placing bets, viewing real-time results, account balances, and transaction history.
  • Real-time Updates: Display of game outcomes, winning probabilities, and multipliers in real-time.

Revenue Model (Platform Fees):

  • A small, transparent platform fee (typically 1-2%) will be applied to each bet, automatically deducted on-chain before payout calculation. This fee will sustain platform operations and future development.

Winning Pool Generation:

  • The winning pool will be funded by a portion of each player’s wager.
  • Dynamic allocation of the pool based on the probabilities of outcomes and chosen multipliers.

2.Legal/licensing aspects (if any): The project will be developed under an open-source license (e.g., MIT License) to promote transparency and community contributions. We will comply with all relevant blockchain regulations and local laws regarding decentralized applications and gaming. We understand that the legal landscape for blockchain gaming is evolving and will continuously monitor and adapt to new regulations.

3.Non-functional overview

  • Usability:
    Intuitive Design: Clean, user-friendly interface with clear instructions and easy navigation.
  • Responsive Layout: Optimized for various devices (desktop, tablet, mobile) and screen sizes.
    Minimal Learning Curve: Simple game mechanics that are easy for new users to grasp.
  • Reliability:
    Smart Contract Security: Rigorous auditing of smart contracts to prevent vulnerabilities (e.g., reentrancy, overflow/underflow, front-running) and ensure consistent, predictable behavior.
  • Network Stability: Leveraging Conflux’s inherent stability and high uptime for continuous operation.
    Error Handling: Robust error handling mechanisms in the dApp to provide clear feedback to users for failed transactions or unexpected issues.
  • Performance:
    Fast Transaction Speeds: Leveraging Conflux’s high transaction throughput to ensure near-instantaneous bet placements and payouts.
  • Low Transaction Costs: Taking full advantage of Conflux’s low gas fees to make the game accessible and appealing for frequent plays.
  • Real-time Updates: Efficient data retrieval and display to show game outcomes and balance updates without significant delays.

Implementation:

  • Robust Architecture: Scalable smart contract design capable of handling increasing user loads.
  • Secure Codebase: Adherence to best practices for smart contract security and web development.
  • Modular Design: Components designed for reusability and easy maintenance.
  • User Interface:
  • Modern Aesthetics: Visually appealing design that provides an engaging and immersive experience.
  • Clear Information Display: Easily understandable representation of odds, payouts, and game history.
  • Accessibility: Consideration for users with disabilities, adhering to web accessibility guidelines where possible.

Total Budget
Grant Size: We are requesting a total grant amount of $45,000 USD.

  • Justification: Break down the activities and costs associated with requested grant amount:
  • Kick-Off: Assign Team and begin smart contract/dApp development: $20,000 USD
  • Testnet Traction: Launch on Conflux testnet, monitor transaction speeds, test decentralized RNG, gather community feedback: $20,000 USD
  • Launch (4-6 weeks): Official mainnet launch on Conflux Network: $5,000 USD

Total: $45,000 USD

Development Roadmap
Timeline and Milestones:

  • Phase 1: Kick-Off & Core Development (Months 1-2):
    Detailed smart contract architecture for decentralized RNG, betting logic, and payout mechanisms.
    Initial smart contract code for core functionalities (RNG, basic betting).
    Setup of development environment and testing framework on Conflux eSpace.

  • Phase 2: Testnet Deployment & Optimization (Months 3-4):
    Deployment of RollsX smart contracts to Conflux Testnet.
    Development of a functional dApp frontend for testnet usage.
    Comprehensive testing of RNG fairness, transaction speeds, and security.
    Collection of community feedback and iterative improvements based on testnet performance.

  • Phase 3: Mainnet Launch & Post-Launch Support (Months 5-6):
    Deployment of audited RollsX smart contracts to Conflux Mainnet.
    Public launch of the RollsX dApp.

Team

  • Nishant Mitra - Tech Lead
    A blockchain expert and IIT Kharagpur alumnus, Nishant architects cutting-edge decentralized solutions and ensures robust technical execution.

  • Prashant Hooda – Product Manager
    Prashant drives product innovation, ensuring user-centric solutions that align with evolving market needs and technological advancements.

  • Ankit Bhatia- Developer
    Ankit is expertise in Solidity, smart contract security, advanced DeFi protocols and dApp development on EVM-compatible chains.