Sol.College

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 directorySource files
src50
scripts22
arena19
dashboard10
(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.

FileSolana APIs used
src/solana-wallet.tsPublicKey, Keypair, Transaction, sendAndConfirmTransaction, Connection, transfer
scripts/sweep-selected-wallets-to-treasury.tsKeypair, PublicKey, Transaction, sendAndConfirmTransaction, getAssociatedTokenAddressSync, Connection
scripts/sweep-low-balance-to-treasury.tsPublicKey, Keypair, Transaction, sendAndConfirmTransaction, getAssociatedTokenAddressSync, Connection
scripts/sweep-hollyboy.tsKeypair, PublicKey, getBalance, Connection, Transaction, sendAndConfirmTransaction
scripts/sweep-targets.tsKeypair, PublicKey, Connection, Transaction, sendAndConfirmTransaction, getAssociatedTokenAddressSync
scripts/onchain-balances.tsConnection, PublicKey
scripts/hollyboy-balance.tsConnection, PublicKey
scripts/all-users-summary.tsConnection, 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.

DirectoryCommandRuns
.npm run dev
.npm run start
.npm run build
.npm run test
.npm run lint
dashboardnpm run dev
dashboardnpm run start
dashboardnpm run build
arenanpm run dev
arenanpm run start
arenanpm run build

What you could build from it