DegenBox by 3eyes
Litepaper
Provably Fair On-Chain Lootboxes for SPL Token Communities
Version 1.0 | January 18th 2026
Abstract
DegenBox is a multi-tenant, Solana-based lootbox gambling platform that enables any SPL token project to launch provably fair gambling experiences for their community. Built on verifiable randomness (Switchboard VRF) and self-custodial smart contracts, the platform eliminates the trust issues inherent in traditional online gambling while creating sustainable value for the $3EYES token ecosystem.
This litepaper outlines the technical architecture, economic model, and value proposition for both project creators and the $3EYES token holders who power the platform.
The Problem
The Trust Crisis in Online Gambling
Traditional online lootboxes and gambling platforms suffer from fundamental trust issues:
- +Opaque Randomness — Players have no way to verify that outcomes are truly random
- +House Manipulation — Operators can adjust odds in real-time without disclosure
- +Custodial Risk — Platforms hold user funds, creating exit scam potential
- +Regulatory Arbitrage — Offshore operations with no accountability
The SPL Token Community Gap
Solana SPL token communities face a unique challenge: they want to create engaging experiences for holders, but:
- +Building custom gambling infrastructure is expensive and time-consuming
- +Most teams lack the security expertise to do it safely
- +There's no standardised, auditable solution they can adopt
- +Community trust is hard to establish for new projects
The Solution
DegenBox: Infrastructure for Fair Gaming
DegenBox provides turnkey gambling infrastructure that any SPL token project can deploy in minutes. The platform handles all the complex parts (smart contracts, verifiable randomness, payouts etc) while project creators focus on their community.
Core Value Propositions
| Stakeholder | Value |
|---|
| Players | Provably fair outcomes, self-custodial funds, transparent odds |
| Project Creators | Zero-code deployment, instant monetisation, community engagement |
| $3EYES Holders | Platform revenue drives token buybacks, creating sustainable demand |
Platform Architecture
High-Level Flow
1
Creator pays $3EYES launch fee → Deploys custom lootbox project
2
Creator funds vault with their token → Project goes live
3
Users buy boxes with project tokens → 1% commission to platform treasury
4
Users hold boxes → Luck accumulates (longer hold = better odds)
5
Users open boxes → Switchboard VRF commits randomness
6
VRF reveals outcome → Reward calculated on-chain
7
Users claim rewards → Tokens transferred from project vault
8
Platform processes treasury → 90% $3EYES buyback, 10% operations
Technical Stack
| Layer | Technology |
|---|
| Blockchain | Solana (mainnet-beta) |
| Smart Contracts | Anchor Framework (Rust) |
| Randomness | Switchboard VRF (On-Demand) |
| Backend | Node.js + Express |
| Frontend | Next.js 16 + React 19 |
| Database | Supabase (PostgreSQL) |
Self-Custodial Design
All funds are controlled by Program Derived Addresses (PDAs):
- +Project Vaults: Each project has its own vault controlled by the smart contract
- +No Admin Keys: Developers cannot access or move user funds
- +Transparent: Anyone can verify vault balances on-chain
Vault Authority PDA = hash("vault" + project_id + token_mint)
This means:
Creators cannot rug their community. Platform operators cannot steal funds. Users can verify their tokens are safe at any time.
$3EYES Token Economics
The Platform Currency
$3EYES is the native platform currency that powers the entire DegenBox ecosystem. Every action on the platform creates demand for $3EYES.
Revenue Flows
Revenue Sources
- +Launch Fee: single payment in $3EYES per project deployment
- +Box Commission: 1% of every box purchase
Treasury Processing
- +Platform Treasury collects commissions in project-specific tokens
- +Treasury swaps all tokens to SOL via Jupiter
- +90% of SOL → Buy $3EYES (permanent buy pressure)
- +10% of SOL → Operations wallet
The Buyback Flywheel
Key Mechanism
More Projects → More launch fees paid in $3EYES
More Box Sales → More commission collected
More Commission → More tokens swapped to SOL
More SOL → More $3EYES buybacks
More Buybacks → Price appreciation → More projects want to launch
Every successful project on DegenBox creates sustained buy pressure for $3EYES.
Game Mechanics
The Luck System
DegenBox introduces a unique "luck" mechanic that rewards patient players. Each project owner can adjust the luck time interval, that is, the rate at which luck accumulates. Below is an example where luck grows at a rate of 1 luck per 3 hours:
| Hold Time | Luck Score | Tier |
|---|
| 0 hours | 1 (base) | Tier 1 |
| 12 hours | 5 | Tier 1 |
| 24 hours | 13 | Tier 2 |
| 141 hours (~6 days) | 60 (max) | Tier 3 |
Why Luck Matters: Higher luck = Better odds of profitable outcomes
- +Impatient players get worse odds
- +Diamond hands get rewarded
- +Creates "box holding" behavior (engagement)
Reward Tiers
| Outcome | Multiplier | Description |
|---|
| Rebate | 0.5x | Get half back (worst normal outcome) |
| Break-even | 1.0x | Get your tokens back |
| Profit | 1.5x | 50% gain |
| Jackpot | 3x | Big win |
No-Dud Design
The worst outcome in normal gameplay is 0.5x (rebate). True duds (0x) only occur if a player fails to reveal within the 1-hour window from opening a box — this is due to an onchain restriction where randomness oracles expire after 1 hour. We've dressed this as a penalty for inaction, not random bad luck.
Return-to-Player (RTP) by Tier
| Tier | Luck Range | RTP | House Edge |
|---|
| Tier 1 | 0–5 | 74.5% | 25.5% |
| Tier 2 | 6–13 | 85% | 15% |
| Tier 3 | 14–60 | 94% | 6% |
Industry Comparison:
- +Slot machines: 85–95% RTP
- +Roulette (single zero): 94.7% RTP
- +DegenBox Tier 3: 94% RTP
Players who hold their boxes get near-casino-level fairness.
Security & Provable Fairness
Security is the foundation of DegenBox. Unlike traditional gambling platforms where you trust the operator, DegenBox is designed so you don't have to trust anyone.
Switchboard VRF: Verifiable Randomness
Every box reveal uses Switchboard's Verifiable Random Function (VRF), an onchain industry-standard cryptographic primitive that guarantees unpredictable, tamper-proof randomness.
How It Works
Step 1: Commit
Player clicks "Open Box" → Transaction records commitment onchain → Randomness account created → Player's luck score frozen at this moment
Step 2: Oracle Processing
Switchboard oracles → Generate randomness using VRF → Sign with oracle private key → Randomness is deterministic but unpredictable
Step 3: Reveal
Player clicks "Reveal" → Reads signed randomness from oracle → Onchain program calculates outcome → Result is immutable and verifiable
Why VRF Matters
| Property | Explanation |
|---|
| Unpredictable | Randomness is generated AFTER commit — no one can predict it |
| Deterministic | Given the same inputs, the same output is always produced |
| Verifiable | Anyone can mathematically verify the randomness is legitimate |
| Non-manipulable | Oracles cannot bias results; signatures prove authenticity |
Technical Detail: Switchboard uses Ed25519 signatures and a distributed oracle network. The randomness is derived from oracle signatures, meaning even if one oracle is compromised, the overall system remains secure.
Smart Contract Security Model
The DegenBox smart contract is built on Anchor, Solana's leading framework for secure program development. Every instruction enforces strict security constraints.
Program Derived Addresses (PDAs)
PDAs are the cornerstone of DegenBox security. They're special Solana addresses that:
- +Can only be controlled by program code
- +Have no private key (impossible to extract funds manually)
- +Are deterministically derived from seeds
Vault PDA = hash("vault" + project_id + token_mint + program_id)
Box PDA = hash("box" + project_id + box_id + program_id)
Treasury PDA = hash("treasury" + program_id)
Even the platform developers cannot access vault funds. The only way tokens can move is through the program's defined instructions.
No Admin Extraction
Critical Security Property
There is no instruction in the program that allows anyone, including the platform admin, to withdraw funds from project vaults.
The ONLY ways funds leave a vault:
- +claim_box() → Pays winner (requires valid revealed box)
- +withdraw() → Creator withdrawal (requires owner signature)
- +close_project() → Returns remaining funds to creator
The platform admin can only:
- +Update platform configuration (odds, fees)
- +Pause the platform in emergencies
- +Withdraw from the platform treasury (commission fees / launch fees only)
What This Means for Players
| Question | Answer |
|---|
| "Are the odds fair?" | Probabilities are onchain, verify anytime |
| "Can outcomes be rigged?" | VRF + commit-reveal makes manipulation cryptographically impossible |
| "Can they steal my deposit?" | PDA vaults have no private key — theft is impossible |
| "Can they change odds after I bet?" | Luck is frozen at commit time, before randomness |
| "Can the house run away with funds?" | No admin extraction exists in the code |
| "How do I verify my outcome?" | Check VRF account + box state on Solana Explorer |
What This Means for Creators
| Question | Answer |
|---|
| "Can the platform take my vault?" | No — vault PDA is controlled by your project, not the platform |
| "Can players exploit the system?" | Commit-reveal + VRF prevents all known timing attacks |
| "What if there's a bug?" | Emergency pause protects everyone while bugs are resolved |
| "Are payouts calculated correctly?" | On-chain math with overflow protection |
For Project Creators
Why Launch on DegenBox?
Zero Development Cost
- + No smart contract development needed
- + No security audits required
- + No infrastructure to maintain
Instant Monetization
- + Keep 99% of all box revenue (1% platform commission)
- + Withdraw profits in your project token
- + No lock-up periods
Community Engagement
- + Give your holders something fun to do
- + Create utility for your token
- + Build community engagement
Launch Process
1
Connect wallet, create project and pay with $3EYES
2
Enter project details (name, subdomain, box price)
4
Fund your vault for payouts (minimum ~30x box price)
5
Go live! Your community can start buying boxes immediately.
Dynamic Vault Funding
Each project is required to fund their own vault on project creation. Vault requirements are calculated based on statistical analysis:
Minimum Vault = Box Price × 30
This formula uses 99th percentile worst-case variance and jackpot clustering risk analysis.
Example: 1,000 $CATS box price → 30,000 $CATS minimum vault
Roadmap
Phase 1: Foundation — Complete
- + Core smart contracts deployed
- + Switchboard VRF integration
- + Initial creator dashboard
- + Box purchase, reveal, and claim flows
Phase 2: Platform Launch
- + Mainnet deployment
- + Multi-tenant subdomain routing (yourproject.degenbox.fun)
- + Treasury processing automation
- + Creator analytics dashboard
Phase 3: Growth
- + Leaderboards and achievements
- + Creator verification badges
- + Referral program
Conclusion
DegenBox by 3eyes represents a new paradigm in on-chain gambling: transparent, provably fair, and aligned with community interests.
For Players: True fairness backed by cryptographic proofs, not trust.
For Creators: Turnkey gambling infrastructure that generates revenue.
For $3EYES Holders: A growing platform where every transaction drives token demand.
The combination of Solana's speed, Switchboard's verifiable randomness, and thoughtful token economics creates a sustainable ecosystem where all participants benefit.
This litepaper is for informational purposes only. Gambling involves risk. Play responsibly.