A beautiful, modern transaction explorer for Starknet that visualizes wallet transactions with stunning UI/UX. Built with Next.js, D3.js, and powered by CoinStats API.
- ๐จ Beautiful Modern UI - Stunning gradient designs and smooth animations
- ๐ Real-time Starknet Stats - Live price, market cap, and performance data
- ๐ Interactive Transaction Graph - Visualize wallet transactions with D3.js
- ๐ฎ Fun Loading Experience - "Catch Me If You Can" game during syncing
- ๐ฑ Responsive Design - Works perfectly on all devices
- ๐ Smart Polling - Automatic wallet sync with status checking
- ๐ Advanced Filtering - Filter by date, transaction hash, and more
- ๐ Pagination - Navigate through large transaction histories
- ๐ฏ Direct Explorer Links - Click transactions to view on Starkscan
- Node.js 18+
- npm, yarn, pnpm, or bun
-
Clone the repository
git clone <repository-url> cd starknet-explorer-graph
-
Install dependencies
npm install
-
Start the development server
npm run dev
-
Open your browser Navigate to http://localhost:3000
- Fetches real-time data from CoinStats API
- Shows current price, market cap, volume, and price changes
- Beautiful gradient cards with live updates
- Enter any valid Starknet wallet address
- Automatic wallet sync with CoinStats API
- Smart polling to check sync status
- Fun "Catch Me If You Can" game during syncing
- Interactive D3.js graph showing transaction relationships
- Zoom, pan, and click interactions
- Color-coded nodes for different transaction types
- Direct links to Starkscan explorer
- Detailed transaction history with filtering
- Pagination for large datasets
- Profit/loss calculations and fee information
- Advanced filtering by date range and transaction hash
- Frontend: Next.js 15, React 19, TypeScript
- Styling: Tailwind CSS 4, Custom animations
- Visualization: D3.js 7
- API: CoinStats API for Starknet data
- Deployment: Vercel-ready
The app uses CoinStats API for comprehensive Starknet data:
- Starknet Stats:
/coins/starknet - Wallet Sync:
/wallet/transactions(PATCH) - Sync Status:
/wallet/status - Transactions:
/wallet/transactions(GET)
- Glass Morphism: Beautiful backdrop blur effects
- Gradient Backgrounds: Purple to blue gradients throughout
- Smooth Animations: CSS transitions and hover effects
- Responsive Grid: Adaptive layouts for all screen sizes
- Interactive Elements: Hover states and click animations
- Appears during wallet syncing
- Moving target that evades mouse cursor
- Funny quotes that change every 3 seconds
- Score tracking and pause/resume functionality
- Hierarchical tree visualization
- Zoom and pan controls
- Click nodes to open in Starkscan
- Color-coded by transaction type
- Desktop: Full 3-column layout with stats, search, and content
- Tablet: Adaptive 2-column layout
- Mobile: Single column with optimized spacing
- Touch-friendly: Large touch targets and gestures
src/
โโโ app/
โ โโโ components/
โ โ โโโ StarknetStats.tsx # Real-time stats display
โ โ โโโ WalletSearch.tsx # Address input and validation
โ โ โโโ CatchMeGame.tsx # Interactive loading game
โ โ โโโ TransactionGraph.tsx # D3.js visualization
โ โ โโโ TransactionList.tsx # Transaction history table
โ โโโ lib/
โ โ โโโ api.ts # CoinStats API service
โ โโโ globals.css # Global styles and animations
โ โโโ layout.tsx # Root layout
โ โโโ page.tsx # Main application page
npm run dev- Start development servernpm run build- Build for productionnpm run start- Start production servernpm run lint- Run ESLint
- Live Starknet price and market data
- Automatic refresh and error handling
- Beautiful number formatting and animations
- Automatic wallet sync initiation
- Status polling with timeout handling
- User engagement during sync process
- Hierarchical tree layout
- Zoom controls and mouse interactions
- Click-to-explore functionality
- Responsive SVG rendering
- Date range selection
- Transaction hash search
- Real-time filter application
- Clear filters functionality
Made with โค๏ธ for the Starknet community