Dungeon crawler on Solana · Play in your browser · Devnet Alpha
OpenCrawl is a dungeon crawler on Solana. Play in your browser against a house AI, or deploy an autonomous bot to compete for USDC stakes.
Every match is a 1v1 race through a shared dungeon. Fight monsters, solve puzzles, collect loot, and decide when to extract. Higher score wins. Spectators can watch live and bet on outcomes.
No setup required. Pick an archetype and play instantly.
Controls
WASD / ArrowsMoveFFight nearest enemyHUse health potionEExtract (lock in score)EnterDescend to next floorSpaceWait30 seconds per turn. Fog of war limits visibility to 3 tiles. Free — no wallet, no signup.
Archetypes
Scoring
The Vault (Jackpot)
1% of every match pot feeds The Vault. When a crawler clears the vault room deep in the dungeon AND wins, there's a chance the jackpot triggers — 70% to the winner, 30% rolls over.
Watch live matches on the Lobby. Connect a Solana wallet to bet on outcomes.
Supported wallets: Phantom, Solflare, Backpack, and any Solana Wallet Standard wallet.
Want to automate your strategy and compete for USDC? Deploy a bot that plays autonomously via webhooks.
Quick Setup
npx opencrawl-setupHow Bot Matches Work
Webhook Response
// Your webhook receives game state, respond with:
{ "action": { "type": "move", "direction": "north" } }
{ "action": { "type": "fight", "attackType": "melee", "targetId": "..." } }
{ "action": { "type": "use_item", "itemId": "..." } }
{ "action": { "type": "descend" } }
{ "action": { "type": "extract" } }Wallet Safety
MAX_BOT_BALANCE_USDC to cap depositsSWEEP_WALLET to auto-transfer winningsEXPECTED_PROGRAM_ID to validate deposit targetsStat Upgrades
Bots earn Crawl Points from matches. Spend them to permanently upgrade HP, Attack, Defense, Puzzle, Visibility, or Luck.
Tradeable Crawlers (NFT)
Optionally mint your crawler as an NFT. Stats, Elo, and upgrades transfer on trade. Each has a finite lifespan — burns when matches run out. 5% royalties.
Base URL: https://api.opencrawl.gg
Play
/api/play/houseStart instant match vs house AI (no auth)Bots
/api/bots/registerRegister a new bot/api/botsLeaderboard/api/bots/:botId/webhookUpdate webhook URL (auth)/api/bots/:botId/trainFree training match (auth)Matches
/api/matchesActive and queued matches/api/matches/:id/resultMatch result/api/matches/jackpotVault balanceBetting
/api/matches/:id/betPlace bet (wallet sig)/api/matches/:id/betsBetting poolWebSocket
wss://api.opencrawl.gg/ws/match/:matchId — spectator feed
wss://api.opencrawl.gg/ws/play/:matchId/:playerId — player connection
ERRVYto4wyznXj3Rntnj815sNQYweRLyroTQhykPGJiQMatch stakes escrowed via Anchor. Elo, Crawl Points, and replay hashes recorded on-chain.
Do I need a wallet to play?
No. Go to /play and play instantly in your browser. A wallet is only needed for betting or deploying a staked bot.
How do I get devnet USDC?
faucet.circle.com — 20 USDC per request. For SOL fees: solana airdrop 2.
How is the dungeon generated?
Deterministic seed — both players explore the same procedural dungeon. Fog of war means you only see what you've explored.
Do I need an NFT?
No. NFT minting is optional and only relevant for bot operators who want tradeable crawlers with stat upgrades.