GRFTY is the first AI agent-powered battle game played live on X (formerly Twitter). Think: Royal Rumble meets crypto Twitter chaos. Players enter, eliminations go down in real time, and only one survives. The prize? Glory, $GRFTY tokens, and leaderboard dominance.

Share Dialog

Subscribe to GRFTY
GRFTY is a fast, social, crypto-native Discord game bot with three headline modes:
โ GRFT Duels โ challenge a user; they get 8h to respond or auto-forfeit.
๐ GRFTY Rumble โ elimination game with kill/death/revival (incl. mass events).
๐ Raids โ time-boxed Twitter/X engagements with verified requirements & points.
๐ค ChainGPT powers short, savage, on-brand narration (challenge lines, arena results, rumble events, raid copy hints). Admins can toggle Exact / Hybrid / Full LLM live. Hybrid falls back to curated phrases under latency/budget.
๐งฒ High-energy loops: duel clocks, live eliminations, raid deadlines.
๐งช Crypto-native flavor: memecoins, NFT lore, conference chaosโkept sharp via ChainGPT + phrase banks.
Status & stakes: role transfers on timeouts, 7-day Activity Score, prize pools, Solana boosts.


Flow
/grft challenge @user โ posts to GRFTs in Progress with a live 8h timer.
If P2 responds in time โ chance-based result (weighted by Activity Score) in GRFT Arena; points awarded; roles unchanged.
If no response โ Auto-Win to P1, kill-style line in GRFT Arena; loser forfeits highest whitelist role; winner gains next level (unless max); points awarded.
Cooldowns: default 8h; bypass for admins/whitelisted users. P1 can challenge again once P2 replies (even before 8h elapses).
Roles & Points
Tiers: ๐ฆ GRIZL GANG (top) โ ๐ง GRFTY OG โ GRFTY WL.
Timeouts can transfer tier; wins vs high-tier on response grant elevated points (no role change).
ChainGPT Usage
Challenge lines & Arena narration (timeout/chance wins).
Reliability
Immediate ACK + later edit โ no Discord โdid not respondโ.
LLM hard timeouts โ phrase fallback.

Flow
Host starts game โ users react ๐ to join.
Configurable countdown โณ, min players, early start threshold, random images.
Rounds: Kill / Death / Revival events; occasional Mass Death / Mass Revival.
End: ๐ Stats posted (//, Most Kills); points update leaderboard.
ChainGPT Usage
Kill/Death/Revival lines + Mass Event headers (Hybrid/LLM).
Exact uses curated banks only.
Activity Score Mod
Rolling 7-day Activity Score (0โ100) slightly adjusts survival/kill odds (bounded, fair).
Flow
/raid start โ set tweet URL, length, base points, required phrase, image required?
Bot announces in RAID channel; pings a configured role; shows countdown.
Users reply on X, then /raid submit with their reply URL.
Bot verifies:
Is a reply to the target tweet
Contains required phrase
If image required, matches approved NFT image set (perceptual hash)
Not previously submitted
Points decay over time; raid closes at deadline; points finalize.
ChainGPT Usage
Optional raid copy suggestions + announcement flair.
Leaderboard Columns
๐ค User
GRFTY Games Played โข ๐ Kills โข 1st/2nd/3rd โข ๐งพ GRFTY Game Total
โ Attempted GRFTs โข ๐ฆ/๐ง / Timeout GRFTs by tier โข ๐ก GRFTs (total) โข GRFT Total
๐ฃ Raid Points
๐ฅ Activity Score (0โ100)
๐งฎ Total Score = GRFTY Game Total + GRFT Total + Raid Points
Activity Score (AS)
Based on main chat messages, rolling 7 days.
Boosts: $5 โ +25 AS for 7 days, stackable up to 100. After 7 days, boosted AS falls off; natural chat AS remains.
Generates
Challenge lines (Duels)
Arena narration (timeouts/chance results)
Rumble events & mass headers
Optional raid copy hints
Modes
Exact: curated phrases only (0 API calls)
๐งช Hybrid (default): try ChainGPT โ fallback to phrases on timeout/error
๐ Full LLM: always use ChainGPT (with latency guard)
Latency Guard
~1.5s timeout โ immediate fallback (game flow never blocks).
Slash commands ACK first, edit later.
Admin Controls
/admin phrases-mode exact|hybrid|llm
/admin set-phrases (JSON import)
Cooldown bypass toggles & per-user whitelist
Minimal API Footprint
Tiny prompts, low max_tokens, consistent style output.
Permissions: Send/Manage Messages (optional), Manage Roles (duel timeouts), Read History, Add Reactions, Use Commands.
Gating: Only approved roles/users can start Rumbles/Raids & configure payouts.
Anti-timeout: Instant ACK; LLM fallback; WAL & busy timeouts in SQLite.
Automod-friendly: Zero-width content wrappers to avoid embed-spam flags.
Role safety: Check bot role hierarchy before transfers.
Config safety: KV/DB auto-heal; admin throttling (e.g., 1 change / 10s); audit logs to private channel.
ChainGPT Safety
Short prompts; hard timeouts; post-processing to enforce mention format and length.
Boosts
Purchase via Solana Pay (USDC) โ +25 AS / 7d, stackable up to 100.
Public boost activity feed; prize pool UI shows team seed + user contributions and team fee %.
Prize Pool
Monthly winners via Total Score.
Payout Options:
๐งพ Unsigned tx for multisig approval via /pool payout-confirm (recommended)
๐ฅ Direct payouts (hot wallet) only if you accept operational risk (role-gated + logged)
Channels/admin set-channels in_progress|arena|commands|leaderboard|rumble|raid|boost_announce|main|admin_log #channel
Hosts/Permissions/admin set-hosts rumble @role/@user โฆ โข /admin get-hosts/rumble-admin set-ping-role @role โข /raid-admin set-ping-role @role
Phrases & LLM/admin phrases-mode exact|hybrid|llm/admin set-phrases (JSON)
Duels/grft challenge @user โข /grft respond id โข /grft mine โข /grft sweep-expired
Admin cooldown bypass toggles & per-user overrides
Rumble/rumble start with countdown, min players, early start, images
Raids/raid start (tweet, length, points, phrase, image rule)/raid submit (reply URL; verified)
All admin actions are throttled and audit-logged.
Architecture
Discord.js v14+ bot
SQLite (WAL, light migrations, KV config)
ChainGPT chat-style endpoint (URL + API key)
Solana client for boosts/payout ops (USDC)
ChainGPT Call (shape)
await fetch(CHAINGPT_API_URL, {
method: 'POST',
headers: { Authorization: `Bearer ${CHAINGPT_API_KEY}`, 'Content-Type': 'application/json' },
body: JSON.stringify({
messages: [{ role: 'user', content: prompt }],
max_tokens: 60,
temperature: 0.9,
}),
signal: AbortSignal.timeout(1500),
});
Reliability Patterns
ACK first โ editReply later
LLM timeout โ phrase fallback
Per-guild KV config, safe defaults, schema auto-heal
๐ Web dashboard (tuning & analytics)
๐ก Stronger raid verifiers & fraud heuristics
๐ฆ Season tooling & recaps
๐ญ Extensible phrase packs (brand collabs)
๐ Optional anti-abuse models
๐จ Consistent crypto-native micro-copy for live game loops
Low-latency short generations fit our hard timeout model
๐งฉ Straightforward API; easy to fallback without breaking UX
Leaderboard/leaderboard post (simple/expanded), /leaderboard pin, /leaderboard auto-refresh set
Boosts/Pool/boosts set-price โข /boosts set-as-points โข /boosts set-cap/pool set-team-fee โข /pool info โข /pool payout-confirm
<100 subscribers
GRFTY