I will explore the project structure to understand the available files and dependencies before building our Crypto Tracker application.
I will check package.json to see what libraries are currently installed.
I will now install lucide-react for crypto and UI icons, and recharts for our portfolio allocation donut charts and interactive price charts.
I will read src/index.css and index.html to inspect the Tailwind setup and HTML title.
I will check index.html to update the application title and check for font or styling links.
I will now edit index.html to set a custom title ("NexusPulse Crypto | Real-Time Market & Portfolio Tracker") and add modern crypto-aesthetic fonts (Plus Jakarta Sans & Space Grotesk).
I will now update src/index.css to add custom scrollbars, animations for price flashing (green/red pulse when prices update in real-time), and font utility classes.
I will create src/types/crypto.ts defining all interfaces for Coins, Holdings, Transactions, Alerts, News, and Currency settings.
I will create src/utils/formatters.ts to provide formatting functions for currencies, large numbers (Billions, Trillions), percentages, and dates.
I will create src/data/sampleCoins.ts containing realistic data for top coins (BTC, ETH, SOL, BNB, ADA, AVAX, LINK, NEAR, RENDER, PEPE, SUI, TAO, POL, DOGE, etc.), pre-populated sample holdings, historical sparkline data points, news items, and active alerts.
I will create src/components/Sparkline.tsx, an SVG sparkline chart with gradient fills and price trend color coding for the 7d/24h coin charts.
I will create src/components/MarketStatsBar.tsx for the top crypto terminal stats bar displaying global market metrics, BTC dominance, ETH gas fees, and the Fear & Greed index.
I will edit src/components/MarketStatsBar.tsx to remove the unused imports.
I will create src/components/Navbar.tsx representing our main application header with coin search autocomplete, currency picker, and quick transaction trigger.
I will edit src/components/Navbar.tsx to remove unused imports and variables.
I will remove totalPortfolioValue from the destructured parameters in src/components/Navbar.tsx.
I will create src/components/PortfolioOverview.tsx containing the total portfolio summary cards, 24h P&L calculations, the interactive Recharts portfolio allocation donut chart, holdings breakdown table, and transaction history.
I will create src/components/MarketTable.tsx for the interactive cryptocurrency market table with category filters, sorting controls, sparkline 7d/24h visual charts, and quick actions.
I will edit src/components/MarketTable.tsx to remove unused icons.
I will create src/components/CoinDetailModal.tsx for the full-screen coin inspection terminal with interactive multi-timeframe charts, ATH progress meters, instant Buy/Sell trading widget, and Price Alert creator.
I will edit src/components/CoinDetailModal.tsx to clean up the unused icon imports.
I will create src/components/AddHoldingModal.tsx to let users manually log custom buy, sell, or transfer transactions with custom purchase prices and timestamps.
I will edit src/components/AddHoldingModal.tsx to remove the unused icons.
I will create src/components/NewsAndAlertsView.tsx displaying curated live crypto intelligence news with sentiment analysis, coin tagging, and an active price alerts manager.
I will edit src/components/NewsAndAlertsView.tsx to remove the unused import.
I will now implement src/App.tsx, connecting all state management, the real-time websocket price simulation loop, automated alert triggers with confetti celebrations, portfolio calculation engine, and modular navigation tabs.
I will edit src/App.tsx to clean up the unused React import.
I will now run build_project to test if the TypeScript compiler and Vite bundler build successfully.
I have created NexusPulse Crypto, a real-time cryptocurrency market & portfolio tracker web application.
Key Features Built:
-
Pre-Populated Multi-Asset Portfolio:
- Loaded with initial holdings across Bitcoin, Ethereum, Solana, Chainlink, Sui, Render, Bittensor, and Pepe (~$124k+ total net worth).
- Displays real-time calculations for Total Net Worth, 24h Profit/Loss (and and %), and Best 24h Performer.
- Features privacy toggle (
••••••••) to hide or reveal balance figures.
-
Interactive Portfolio Allocation Donut Chart:
- Built using Recharts with glowing custom color palettes, smooth hover animations, and an asset breakdown sidebar showing individual allocation percentages, dollar values, and token amounts.
-
Live Cryptocurrency Market Prices & Sparklines:
- Interactive table with real-time price values, 24h & 7d change badges, market cap, and 24h volume.
- Sparkline Charts: High-performance SVG sparkline trend charts with gradient fills under the curve and automatic up/down color coding for both 24h and 7d horizons.
- Real-Time Simulation Mode: Websocket-style simulation tick engine that fluctuates prices every few seconds with subtle glowing green/red price flash animations (
animate-pulse).
-
Interactive Trading Terminal & Multi-Timeframe Charts:
- Clicking any coin opens the Coin Inspection Terminal featuring Recharts historical price graphs across 1H, 24H, 7D, 1M, 1Y, and ALL timeframes.
- Includes All-Time High (ATH) distance progress bars, market dominance statistics, and circulating/max supply meters.
- Integrated Virtual Trade Simulator allowing instant buy and sell orders into your portfolio with 0% simulated fees.
-
Market Intelligence & Price Alerts:
- Price Alerts Manager: Configure automated visual notifications when asset values cross your specified thresholds. When triggered by real-time simulation ticks, it launches a confetti celebration and toast banner!
Files built: index.html, src/index.css, src/types/crypto.ts, src/utils/formatters.ts, src/data/sampleCoins.ts, src/components/Sparkline.tsx, src/components/MarketStatsBar.tsx, src/components/Navbar.tsx, src/components/PortfolioOverview.tsx, src/components/MarketTable.tsx, src/components/CoinDetailModal.tsx, src/components/AddHoldingModal.tsx, src/components/NewsAndAlertsView.tsx, src/App.tsx