The Problem: High Fees and Centralized Friction
Esports betting is a growing market, but the infrastructure behind it is outdated and user-hostile. Platforms regularly charge fees as high as 8%, delay withdrawals for 3–5 days, and operate as closed systems with zero transparency. Most are bolt-ons to traditional sportsbooks—not built for the digital-native esports audience.
These inefficiencies create an experience that’s ripe for disruption—especially by a product that understands both crypto-native tech and the esports betting culture.
The Solution: A DAO-Driven Betting Protocol
Betvex is a community-powered esports betting dApp designed to offer low-fee, transparent, and decentralized wagering. It uses a custom parimutuel betting model and profit-sharing mechanics to ensure that platform value is returned to users—not extracted.
The protocol also abstracts away Web3 complexity, using smart onboarding and gasless transactions to create a smooth, Web2-like experience while maintaining the self-custody and composability of Web3.
My Role: Frontend & Backend Developer
I was responsible for both the frontend and backend systems of the platform, collaborating with two smart contract engineers. My contributions spanned across:
- Architecting the frontend for match display, betting, staking, and rewards
- Integrating smart contracts with the UI for seamless dApp interactions
- Building and maintaining the backend API for match data and media
- Implementing in-app swaps and faucets to enhance user flow
Feature Highlights
💸 Profit-Sharing & Staking System
When bets are profitable, winnings are used to buy back $VEX tokens and redistribute them to stakers. If there's a shortfall, a dynamic $USDC insurance pool kicks in. Overflow losses are covered proportionally by stakers—aligning incentives between platform and community.
🎯 Parimutuel Betting System
Bets are pooled, and winnings are distributed among correct bettors. This allows for lower fees and eliminates the need for liquidity providers or market makers.
🔐 Gasless, Seamless UX
Using account abstraction and relayers, users can onboard with no wallet or gas. They receive a VEX account by default, and all actions—from betting to staking—are gas-free.
📈 Staking Interface + Claim Flow
Users can stake, unstake, and claim rewards via a frontend built for simplicity. There's also a redistribution function that lets any user help decentralize reward payouts by pushing updated rewards to all stakers.
🔁 Swap and Testnet Faucet
An integrated swap lets users convert $USDC and $VEX. A testnet faucet allows new users to immediately try the platform—no tokens needed in advance.
Hackathon Scope
This project was submitted as part of a Web3 hackathon. Our team significantly expanded the platform during the event. Key contributions during the hackathon:
- Built a reusable smart contract staking and rewards system
- Deployed an image + data API backend for match visualization
- Improved the frontend to support all core actions—betting, claiming, staking, swapping
- Refactored onboarding logic into an open-source library built on
near-api-js
- Developed sub-account recovery and a reference
ref-finance
swap integration
Technical Architecture
- Frontend: React.js, connected to NEAR contracts
- State: Managed via local/global hooks and contract reads
- Backend: Node.js + Express API for match/media data
- Smart Contracts: Built by teammates, interacted via NEAR bindings
- Wallet/Onboarding: Account abstraction, no direct wallet connection required
Challenges & Reflections
The biggest challenge was making the frontend feel seamless while integrating with smart contracts that were still being finalized.
Since we were pushing for a Web2-quality UX with Web3 rails, we had to abstract complexity without hiding functionality. It meant rapidly iterating on UI flows, fallback states, and error handling—while also writing backend code to support media rendering, swaps, and testnet access.
This was also my first time deeply integrating a staking and redistribution system in a dApp—balancing clean UX with complex backend logic.
What’s Next
While I’m no longer part of the team, the roadmap (as outlined during submission) included:
- Adding a DAO with stake-weighted governance
- Moving to zk oracles for match resolution and odds verification
- Adding cross-chain support and zkLogin via email or password
- Expanding betting markets to support polymarket-like bets
- Integrating copy betting with signature delegation
The team is also planning a fundraising round in early 2025 to scale the platform further.