Skip to content
Case StudyOnchain Gaming

1WalletWins:
Fully Onchain Raffle Platform

A fully onchain raffle platform where users purchase USDC tickets, participate in continuous rounds across predefined tiers, and verify all outcomes transparently — with a protocol-funded jackpot mechanism that aligns user and protocol incentives.

Stack

Solidity, React, Chainlink VRF

Role

Full Platform Delivery

Scope

Smart Contracts, Web App, Admin Tooling

1WalletWins onchain raffle landing with jackpot and current round cards

The Mission

To create a provably fair, fully transparent raffle experience where users can trust the mechanics because they are enforced entirely onchain.

Core Objectives

  • All raffle logic enforced by smart contracts — no backend controls outcomes
  • Provably fair winner selection via Chainlink VRF with on-chain verifiability
  • Protocol-funded jackpot mechanism that aligns user and protocol incentives
  • Mobile-first UX with embedded wallet creation that abstracts blockchain complexity

The Challenge

Raffle mechanics must be entirely onchain to maintain trust and verifiability. Winner selection requires provably fair randomness that cannot be manipulated. The jackpot mechanism needs to align user incentives with protocol health without adding complexity. A mobile-first audience needs a clean experience that abstracts wallet and chain complexity.

All game logic — entry rules, funds handling, lifecycle, settlement and payouts — must be enforced by smart contracts. Chainlink VRF and Automation must be available and reliable on the target network. The admin interface must provide operational control without any ability to influence live raffle outcomes. Embedded wallet creation and USDC on-ramp flows must feel seamless for users unfamiliar with crypto wallets.

What We Built

Onchain Raffle Contracts

Smart contracts governing continuous raffle rounds across predefined tiers — enforcing entry rules, funds handling, lifecycle transitions, winner selection, and USDC payouts entirely onchain.

Chainlink VRF Integration

Chainlink VRF for provably fair, manipulation-resistant winner selection, with Chainlink Automation handling raffle lifecycle transitions — no centralised trigger required.

Mobile-First Web App & On-Ramp

A mobile-first web application with embedded wallet creation and Coinbase on-ramp flows — abstracting wallet and chain complexity so users can participate without prior crypto experience.

Admin Interface & Operations Tooling

An admin interface for tier configuration, treasury visibility, and manual upkeep triggers — providing full operational control with zero ability to influence live raffle outcomes.

Technical Architecture

Smart contracts govern continuous raffle rounds across predefined tiers with USDC ticket purchases. Chainlink VRF provides provably fair winner selection; Chainlink Automation drives lifecycle transitions. A protocol-funded jackpot is triggered programmatically by contract conditions. The mobile-first web app integrates embedded wallet creation and Coinbase on-ramp. Minimal serverless components handle data aggregation only — no backend logic controls outcomes.

SolidityChainlink VRFChainlink AutomationUSDCReactTypeScriptEmbedded WalletsCoinbase On-RampSmart Contracts

Real Impact.

Labrys delivered the entire 1WalletWins platform end to end — smart contracts, mobile-first web app, wallet and on-ramp flows, protocol-funded jackpot mechanism, admin tooling, and Chainlink integration — within an 8-week retainer MVP engagement.

MVP Delivery
8-Week
Onchain Logic
100%
Randomness Source
VRF
Settlement Token
USDC
1WalletWins onchain raffle platform interface

Ready to architect your product?

Start a Technical Consultation