BlockLens is a Solana-focused portfolio dashboard built with Next.js 16 and the Solana Wallet Adapter. It lets you monitor devnet balances, organise multiple wallets, request airdrops, and estimate transaction fees without leaving the browser.
- Interactive dashboard
- Portfolio summary with live SOL → USD conversion using devnet prices.
- Manage tracked wallets locally (search, export CSV, remove, copy addresses).
- Connected wallet panel with friendly naming, balance refresh, and devnet airdrop helper that gracefully handles rate limiting.
- Gas fee calculator (
/gasfee)- Fetches current base and prioritisation fees from the Solana network.
- Provides preset estimates for common transaction types (simple transfer, token transfer, DEX swap, NFT transfer, smart contract call).
- Custom calculator to estimate total cost for any number of transactions.
- Transaction insights
- API endpoint for recent transaction history with signature, amount, type inference, and status.
- API surface
GET /api/fees– current network fee data.POST /api/wallets/transactions– recent signatures and transaction classification.POST /api/wallets/airdrop– devnet airdrop helper with automatic retry and faucet fallback.POST /api/wallets/sync– balance, token, and NFT metadata sync for tracked wallets.
-
Install dependencies
npm install
-
Run the development server
npm run dev
The app becomes available at http://localhost:3000.
Note: The airdrop helper targets Solana devnet. If the faucet rejects repeated requests (HTTP 429), the app offers to open the official Solana faucet so you can top up manually.