TRUST ARENA : an onchain game that earns based on intuition

Trust Arena is an on-chain gaming dApp running on the Intuition Testnet (tTRUST) using real blockchain transactions for all gameplay logic.

check here : https://trust-arena-1038971182316.us-west1.run.app/#/

Key Technical Features

1. REAL On-Chain Stake Execution

When the user stakes:

  • A transaction is sent from their wallet → house wallet.

  • No off-chain balance simulation.

  • Requires correct Intuition Testnet Chain ID (13579 / 0x350B).

2. Win/Loss Settlement

  • Win: backend house wallet signs payout → user address

  • Loss: user stake remains in house wallet

Everything uses:

ethers.BrowserProvider(window.ethereum)
ethers.JsonRpcProvider("https://intuition-testnet.rpc.caldera.xyz/http")


3. Trust or Fade (coin flip engine)

  • 50/50 outcomes regenerated each round

  • Synced animations + sound

  • Auto-bet module

  • Last 10 outcomes stored in state

4. Launch Your Trust (crash game engine)

  • Multiplier increases over time

  • Airplane animation synced with multiplier speed

  • Auto-cashout triggers payout instantly

  • Cashout does NOT stop animation; plane continues to crash naturally

  • Last 10 multipliers displayed

5. UX Enhancements

  • Muted mode toggle

  • Navigation bar cleanup

  • Session persistence (wallet stays connected for 15 minutes after reload)

  • Professional responsive layout

6. Risk Control

Stake cannot exceed 50% of house wallet balance.
House balance is hidden from user interface but enforced internally.

Architecture

  • Frontend: React / HTML / JS (AI Studio generated)

  • Wallet interaction: Ethers.js

  • Backend wallet: private key injected securely for payouts

  • Network: Intuition Testnet

Trust Arena serves as a demonstration of real-time interactive blockchain gaming where all economic actions happen on-chain.