What We’re Building
Slimer is a wallet dashboard that displays token balances, portfolio value, and transaction history for any Solana wallet address. Key features:- Real-time token balances with USD values
- Total portfolio calculation
- Transaction history with labels (DEX trades, transfers, approvals)
- Live updates via polling
Setup
Before starting, ensure Claude Code has access to Allium MCP. See the Client Setup guide.Development Workflow
1. Initial Prompt
2. Claude Code Discovers APIs
Claude Code uses MCP to search the documentation for wallet-related APIs:View MCP tool calls & response
View MCP tool calls & response
Claude Code searches for wallet-related APIs to understand what data is available:MCP Response (filtered to show relevant entries):
- The Wallet Balances API fetches latest token balances with USD values
- The Transactions API gets transaction history with activities (DEX trades, approvals) and asset transfers
- Solana is fully supported with real-time data freshness of 3-5 seconds
- Transaction activities include DEX trades, asset transfers, and labels
3. Testing with Real Data
Before writing the full component, Claude Code tests the API with a real Solana wallet address:View MCP tool calls & response
View MCP tool calls & response
- Each balance includes a
tokenobject withprice,decimals, andinfo(name/symbol) - To calculate USD value:
(raw_balance / 10^decimals) * token.price
4. Building the Components
Claude Code generates TypeScript React components with proper types: Generated hook:5. Adding Transaction History
The developer refines the prompt:View MCP tool call & response
View MCP tool call & response
Tool call: Fetching recent transactions for the walletMCP Response snippet:
activities (DEX trades, approvals) and asset_transfers (sends/receives), then generates helper functions:
Final Result
See the complete wallet dashboard in action Development time: ~15 minutes from initial prompt to working app MCP tools used:docs_search- Found relevant API documentationrealtime_get_wallet_balances- Tested balance endpointrealtime_get_wallet_transactions- Tested transactions endpoint
Key Takeaways
-
Discovery is seamless -
docs_searchhelps Claude Code find the right APIs without manual documentation searching - Testing with real data - Claude Code can test APIs directly via MCP before writing code, ensuring correct implementation
- Type safety from the start - Real API responses inform TypeScript types, reducing bugs
- Iterative refinement - Easy to add features by prompting Claude Code, which already understands the data structure
What’s Next?
Try building your own blockchain app with Claude Code + Allium MCP:- Portfolio tracker across multiple chains
- NFT gallery viewer
- Token price alerts
- DEX trading dashboard