Project

How it's built

Blast Ball is a game server, a website and a worker. There are no smart contracts of our own.

The parts#

PartWhat it does
Game serverRuns every arena at 30 Hz, checks sign-ins, applies the fair-play rules and writes counted hits to the database
WebsiteThe arena in the browser (three.js), leaderboards, rounds, docs and the public API
WorkerClaims $BlastBall's creator fees into the pot, books every inflow, opens and closes rounds, buys back and burns, pays prizes, reconciles the books against the chain
DatabasePostgres: rounds, scores, counted hits, payouts, deposits, settings

On-chain programs used#

ProgramUsed for
pump.fun bonding curve$BlastBall itself, and buybacks before graduation
pump.fun fee sharing (pump-fees)Routing creator fees to the pot wallet; distribute_creator_fees to claim them
PumpSwap + JupiterBuybacks after graduation
SPL Token / Token-2022burn_checked for the buyback
System programPrizes (plain SOL transfers) and gifts

Every transaction is simulated#

The worker simulates each transaction before signing it and records its signature before sending it, so an interrupted step is settled from what the chain says instead of being repeated.