Work / Esports and skill gaming

Gamestakers

A staking and tournament platform where escrow holds every stake until a result is settled.

Live at gamestakers.coPayments, wallets, real-timeClient platform
Gamestakers player dashboard with wallet balance and game invites
Player dashboard: balance, game state and invites.
Backend
PHP, MySQL, queues
Real-time
Pusher, Laravel Echo
Payments
Several gateways, crypto
Hosting
VPS, Nginx

The constraint

Players stake real money on a match they play themselves. Funds cannot move on anyone’s say-so, a dropped connection cannot become a double payout, and a losing player will contest a result the moment it goes against them.

What most people would have built

A balance column on the user record, a payout endpoint, and a support inbox for when it goes wrong. That works until two requests arrive at once, a gateway retries a webhook, or someone disputes a match that already paid out.

The arena

Challenge a specific player or take an open challenge. The stake is held the moment both sides accept, not when the match ends, so neither player can walk away with the money still in play.

1v1 arena with open challenges
The 1v1 arena, with open and direct challenges.

Tournaments

Brackets that fill, lock and settle on their own. Capacity checks before entry, a lifecycle the engine drives rather than an admin, winner voting with an override for the disputes voting cannot settle, and a chat beside every match.

A live tournament with match chat
A live tournament with match chat and registration state.

The wallet

Balances in more than one currency, with card and crypto funding. Every credit and debit is an entry, never an edit, so the balance is worked out rather than stored, and a race condition cannot quietly rewrite it.

Wallet with balance and transaction history
Wallet, balances and transaction history.

Funding and payouts

Deposits clear through several gateways and a crypto path. Each transaction carries an idempotency key, so a retried webhook resolves to the same result instead of paying twice.

Deposit screen with gateway choices
Funding the wallet.

Identity

KYC steps in above a threshold rather than at sign-up, so a casual player is not asked for documents to place a small stake, and a large withdrawal cannot leave without them.

What broke, and what we would change

Every payment path was called more than once in the wild. Gateways retry, users double-click, mobile connections drop mid-request and the client resends. None of that was theoretical. The dispute flow was built after the payment flow. Next time it goes in at the same time, because the states a dispute needs have to exist in the ledger from the first entry, not be reconstructed later.

This project sits under Fintech and payment systems. See all the work.

WhatsApp