Remnants Autoplay | Solana NFT Game Bot
Solana NFT game bot with Ed25519 wallet authentication. Multi-NFT state machine, Discord notifications, and automatic redeployment.
The Problem
Remnants is a Solana NFT idle game where you send characters on timed expeditions to earn tokens. Expeditions take anywhere from 10 minutes to 8 hours. Manually checking and redeploying NFTs constantly is tedious and guarantees you'll miss expedition completions.
Technical Approach
The bot handles the complete expedition lifecycle:
- Solana keypair loading from base58-encoded private keys
- Wallet authentication via Ed25519 message signing (challenge/response JWT flow)
- Multi-NFT state machine tracking expedition status and timers
- Discord webhook notifications for completed expeditions with loot summaries
- Automatic redeployment of NFTs immediately after completion
Interesting Challenges
Solana's Ed25519 signature scheme requires careful implementation. I built raw signature verification into the authentication flow rather than relying on high-level libraries.
The state machine handles partial completions and network failures gracefully. If an expedition completes while the bot is offline, it catches up on missed claims on next run.
What I'd Do Differently
The current implementation polls continuously. Webhook-based notifications from the game server would be more efficient, but the game doesn't support them. The bot is essentially a workaround for game design that assumes constant player attention.
Key Features
- -Solana keypair loading and message signing
- -Wallet based JWT authentication
- -Multi-NFT expedition management
- -Discord notifications for loot claims
Tech Stack
