Technical assessment submissionSolidityFoundryXRPL EVM TestnetNext.js

Ethex Lottery Assessment

A calm reviewer dashboard for the modernized on-chain lottery flow.

This interface focuses on contract clarity instead of casino styling: fee tiers are visible, settlement assumptions are inspectable, and every on-chain action is framed around reviewability.

Network

XRPL EVM Testnet

Chain ID 1449000

Contract

0x6a48...C43d

Ready for live reads and writes

Bet model

6-slot weighted selection

Legacy payout weights preserved, encoding modernized for auditability

Connection panel

Wallet and deployment context

Connect an injected wallet, verify XRPL alignment, and jump straight to the deployed contract in the explorer.

Wallet statusDisconnected
Active accountNo wallet connected
Network checkConnect to validate

Live state

Current contract posture

These reads come from the configured deployment when available, so the page reflects the live contract while staying focused on reviewability. Settlement is permissionless, bounded, and the required step before claimable balances appear.

Available liquidity

Unavailable

House fees accrued

Unavailable

Pending cursor

Unavailable

Connected wallet claimable

Unavailable

Settlement queue

Unavailable

Queue settlement

Winnings and refunds stay pending until someone processes the bounded on-chain queue. After settlement, claimable balances become visible here and the claim button unlocks when the balance is non-zero.

Bet builder

Construct a six-slot submission

The UI mirrors legacy payout weights and the dynamic house edge rules while keeping inactive slots explicit for review.

Selection preview

No active cells selected yet.

Marked cells

0

House edge

0%

House fee

0 ETH

Net amount

0 ETH

Maximum payout

0 ETH

Validation

Select at least one marked cell.

Engineering notes

Why this frontend is intentionally restrained

The UI is designed to help a reviewer verify architecture and contract behavior quickly, not to simulate consumer gambling UX.

Preserved from the original

  • Six-slot bet composition with legacy exact and category-based selections.
  • Weighted payout preview based on the original EthexLoto coefficient model.
  • Blockhash-driven settlement framing surfaced as part of the operator narrative.

Modernized for reviewability

  • Explicit inactive slots and readable labels replace opaque packed bet bytes.
  • Visible queue settlement makes the claim lifecycle obvious without changing contract guarantees.
  • Dynamic house edge tiers are surfaced directly in the interaction flow.
  • Explorer shortcuts and direct chain reads keep the deployed contract inspectable.

Intentionally omitted

  • No casino visuals, jackpot theatrics, or motion-heavy chrome.
  • No wallet complexity beyond injected wallet support and wrong-network handling.
  • No frontend logic that hides fee or payout assumptions from the reviewer.

Recent activity

Transaction and review trail

A lightweight local log helps reviewers understand what the UI is doing around chain reads and writes.

UI ready

Connected to the XRPL EVM Testnet configuration and ready for live contract interaction.