Structure lesson (licence does not allow quoting code)
HeadlineOdds-Arena
HeadlineOdds Arena is a Telegram fantasy trading bot built around 24-hour BTC fantasy arenas on Bayse Market. Players join leagues with an entry fee, receive BTC 15-minute round prompts, make one virtual trade per round, and compete on leaderboard performance for prize payouts.
- Original
- AbiodunCreatives/HeadlineOdds-Arena
- SuperStack fork
- Blockchains/HeadlineOdds-Arena @
1f82802 - Stars
- 0
- Last push (original)
- 2026-07-23
- Languages
- TypeScript, PLpgSQL, CSS, PowerShell, JavaScript, Dockerfile
- Detected stack
- Next.jsweb3.js
- Categories
- DeFiGaming
- Licence
- none detected: code not quoted on Sol.College
- Homepage
- https://dashboard-theta-seven-82.vercel.app
Architecture
102 source files. By extension: .ts ×90, .tsx ×10, .js ×2.
| Top-level directory | Source files |
|---|---|
src | 50 |
scripts | 22 |
arena | 19 |
dashboard | 10 |
(root) | 1 |
Where the Solana code lives
Source files that import a Solana SDK, ranked by how many Solana APIs they use, with the APIs each one calls. Read them in this order to see how the app talks to the chain.
| File | Solana APIs used |
|---|---|
src/solana-wallet.ts | PublicKey, Keypair, Transaction, sendAndConfirmTransaction, Connection, transfer |
scripts/sweep-selected-wallets-to-treasury.ts | Keypair, PublicKey, Transaction, sendAndConfirmTransaction, getAssociatedTokenAddressSync, Connection |
scripts/sweep-low-balance-to-treasury.ts | PublicKey, Keypair, Transaction, sendAndConfirmTransaction, getAssociatedTokenAddressSync, Connection |
scripts/sweep-hollyboy.ts | Keypair, PublicKey, getBalance, Connection, Transaction, sendAndConfirmTransaction |
scripts/sweep-targets.ts | Keypair, PublicKey, Connection, Transaction, sendAndConfirmTransaction, getAssociatedTokenAddressSync |
scripts/onchain-balances.ts | Connection, PublicKey |
scripts/hollyboy-balance.ts | Connection, PublicKey |
scripts/all-users-summary.ts | Connection, PublicKey |
Dapp: devnet deploy pending
⏳ Devnet deploy pending — goes live when the devnet wallet is topped up. This fork's own dapp is not deployed yet, so there is no program address or transaction to show. It is queued in dapp-queue.txt; once devnet SOL is available it is deployed, exercised with real devnet transactions, and this section switches to the live dapp at /dapps/headlineodds-arena/. Until then, the lesson and step-by-step guide below are complete, and you can run it locally with the commands below.
How to run, build and test
These commands come from the repo's own manifests (package.json scripts, Anchor.toml, Cargo, go.mod, Makefile). Check the README for prerequisites and environment variables.
| Directory | Command | Runs |
|---|---|---|
. | npm run dev | |
. | npm run start | |
. | npm run build | |
. | npm run test | |
. | npm run lint | |
dashboard | npm run dev | |
dashboard | npm run start | |
dashboard | npm run build | |
arena | npm run dev | |
arena | npm run start | |
arena | npm run build |
What you could build from it
- Fork the SuperStack copy and extend it within the DeFi gaps listed on the idea page.