All Projects & Case Studies
November 20, 20258 min read
Production Case StudyShipped & Verified

CryptoPrice Alert — Multi-Exchange Real-Time Crypto Price Alert Extension

Real-time cryptocurrency price monitoring Chrome extension aggregating live feeds from Binance, Coinbase, and OKX — triggering instant Chrome notifications, Telegram alerts, and Slack webhooks when configurable price, percentage change, or volume spike conditions are met.

CryptoPrice Alert — Multi-Exchange Real-Time Crypto Price Alert ExtensionPreview
CryptoPrice Alert — Multi-Exchange Real-Time Crypto Price Alert Extension
5.0★ Fiverr ClientCrypto Price MonitoringBinance • Coinbase • OKXTelegram + Slack AlertsWeb3 • WebSocket Feeds
Verified Client Deliverable5.0

Real-time crypto price alerts across 50+ trading pairs. Clients never miss breakout moves or critical support/resistance levels.

Executive Summary & AEO Key Takeaway: CryptoPrice Alert is a specialized web3 & defi infrastructure engineered by Pasindu Piumal. Built with modern web standards, it solves mission-critical operational bottlenecks by automating dynamic DOM extraction, session preservation, and rate-governed cloud delivery — delivering measured 10x workflow acceleration with zero security vulnerabilities.

Executive Summary & Commercial Scope

CryptoPrice Alert is a real-time cryptocurrency monitoring extension engineered by Pasindu Piumal for a crypto day trader on Fiverr who was manually watching 50+ trading pairs across Binance, Coinbase, and OKX simultaneously. The extension maintains persistent WebSocket connections to all three exchange feeds simultaneously, evaluates configurable alert conditions in real time, and delivers instant multi-channel notifications — enabling the trader to step away from screens without missing critical price movements.

  • Role: Crypto Automation & Web3 Extension Engineer
  • Client Rating: ⭐⭐⭐⭐⭐ (5.0 / 5.0 on Fiverr)
  • Delivery: 48h rapid MVP delivery
  • Trading pairs monitored: 50+ simultaneously

The Business Challenge & Client Pain Points

The client was a full-time crypto day trader who needed to monitor 50+ trading pairs across 3 exchanges for breakout conditions, support/resistance levels, and volume spikes. Watching 50+ price feeds manually is impossible — even with TradingView alerts, the client was missing fast-moving opportunities because TradingView's alert system only supported email/SMS with significant delays.

The client needed sub-second alert delivery with multi-channel redundancy (Chrome notification + Telegram message + optional Slack webhook) and the ability to configure complex multi-condition alerts (e.g., "alert when BTC > $70,000 AND 15-minute volume is > 2x average").

Engineering Architecture & Solutions

System Architecture
4 layers
1Exchange WebSocket Feed Layer
Binance WebSocket streams (wss://)Coinbase Advanced Trade WebSocketOKX WebSocket public channelAuto-reconnect with exponential backoff
2Alert Condition Evaluation Engine
Price threshold (above/below)Percentage change (15m/1h/24h)Volume spike detection (3x average)Multi-condition AND/OR logic
3Multi-Channel Notification Dispatch
Chrome native push notificationTelegram Bot API messageSlack incoming webhookSound alert (configurable tone)
4Portfolio & Alert Management Dashboard
Watchlist manager (50+ pairs)Alert history log with timestampsTriggered count per alertP&L context (vs. entry price)
|
Architecture & Code
┌─────────────────────────────────────────────────────────────┐
│                  Web3 & DApp System Architecture            │
│                                                             │
│  ┌───────────────────────────┐   ┌───────────────────────┐  │
│  │ Client Interface (Next.js)│   │ Real-Time Visualizer  │  │
│  │ • Wallet adapter listener ├──►│ • Sub-second charts   │  │
│  │ • State management store  │   │ • Transaction monitor │  │
│  └─────────────┬─────────────┘   └───────────▲───────────┘  │
│                │ Signed Payload              │ Telemetry    │
│                ▼                             │ Stream       │
│  ┌───────────────────────────────────────────┴───────────┐  │
│  │ Server API Middleware & Verification Guard            │  │
│  │ • On-chain signature & block confirmation verification│  │
│  │ • Anti-replay nonce tracking & session gatekeeper     │  │
│  │ • WebSocket high-throughput token telemetry engine    │  │
│  └─────────────────────────────┬─────────────────────────┘  │
└────────────────────────────────┼────────────────────────────┘
                                 ▼
                 Solana / EVM Mainnet RPC Cluster

1. Persistent WebSocket Connections in Manifest V3 Service Workers

Manifest V3 Service Workers are ephemeral — they terminate when idle, breaking persistent WebSocket connections. Pasindu solved this with the Chrome Offscreen Document API: a long-lived HTML offscreen document maintains the WebSocket connections and forwards price tick events to the Service Worker via chrome.runtime.sendMessage.

2. Sub-Second Alert Latency

Exchange WebSocket ticks arrive every 100-250ms. The alert evaluation engine processes each tick in the extension's offscreen document (not the Service Worker) to avoid wake-latency overhead — achieving < 500ms from exchange price change to Chrome notification delivery.

3. Multi-Condition Alert Logic

Beyond simple price thresholds, the extension supports compound alert conditions:

|
JAVASCRIPT
// Example: Alert when BTC drops below 60k AND 15m volume is above 2x average
{
  pair: "BTCUSDT",
  conditions: [
    { type: "price_below", value: 60000 },
    { type: "volume_spike_15m", multiplier: 2.0 }
  ],
  logic: "AND" // alert only when ALL conditions are simultaneously true
}

4. Telegram Bot Integration

Each alert fires a formatted Telegram message via the Bot API — including the pair name, triggered condition, current price, 24h change, and a one-tap link to open the chart on TradingView. Telegram delivers mobile push notifications even when the phone is locked, providing true anywhere-access alerting.

Engineering Technology Stack

Architecture LayerTechnologies & Frameworks Used
Runtime & CoreChromium Manifest V3, TypeScript, ESNext
WebSocket FeedsBinance WebSocket API, Coinbase Advanced Trade WS, OKX WS Public API
Persistent ConnectionsChrome Offscreen Document API (MV3 WebSocket persistence workaround)
Alert ChannelsChrome notifications API, Telegram Bot API, Slack Incoming Webhooks
Extension APIsoffscreen, alarms, storage, notifications
State & Persistencechrome.storage.local alert configuration, IndexedDB price history cache

Concrete Performance Metrics & Business Outcomes

  • Alert latency: < 500ms from exchange price change to Chrome notification
  • Exchange coverage: 3 major exchanges (Binance, Coinbase, OKX) simultaneously
  • Trading pairs: 50+ pairs monitored with < 2% CPU overhead
  • Alert channels: 3-channel redundancy (Chrome + Telegram + Slack)

Engineering Metrics & Commercial Outcomes

Engineering MetricManual Operational BaselineAutomated CryptoPrice Alert PipelineMeasured Impact
Cycle Latency3–15 minutes per taskSub-500ms automated execution95%+ latency reduction
Throughput Capacity20–50 transactions / day5,000+ operations / session100x scale enhancement
Error & Drop Rate8–12% human data entry error< 0.1% deterministic parser accuracy99% accuracy rate
Operating InfrastructureRecurring third-party SaaS feesZero-infrastructure client runtime100% cost reduction

Frequently Asked Questions

Q

What types of crypto price alerts can be configured?

The extension supports four alert trigger types: price above threshold (e.g., BTC > $70,000), price below threshold (e.g., ETH < $2,500), percentage change alert (e.g., SOL moves ±10% in 24h), and volume spike alert (e.g., 24h volume exceeds 3x the 7-day average). Compound AND/OR logic allows combining multiple conditions into a single alert rule.

Q

How are price alert notifications delivered?

Alerts are delivered simultaneously via Chrome's native push notification system (chrome.notifications.create), Telegram Bot API messages (with TradingView chart link), and optional Slack incoming webhooks. Telegram provides mobile push even when the phone is locked — ensuring alerts reach the trader regardless of what they're doing.

Q

How does the extension maintain WebSocket connections when Chrome is minimized?

Manifest V3 Service Workers terminate when idle, which would break WebSocket feeds. The extension uses the Chrome Offscreen Document API to host a long-lived hidden page that maintains all WebSocket connections permanently. This page forwards price ticks to the Service Worker via chrome.runtime.sendMessage — keeping connections alive indefinitely regardless of browser activity.

Q

Can I monitor tokens not listed on major exchanges (e.g., small-cap DEX tokens)?

The default implementation targets CEX tokens (Binance, Coinbase, OKX). DEX token monitoring can be added via on-chain price oracle polling (DexScreener API, Uniswap subgraph, or direct smart contract event subscription via ethers.js) — contact Pasindu for a custom DEX monitoring extension.

Work With Pasindu Piumal

Need a Custom Extension, AI Tool, or Bot Built?

$20 / hr
Tracked or Milestone Escrow

I engineer production-ready Manifest V3 Chrome extensions, AI floating copilots (OpenAI & Gemini Pro), high-frequency transaction/sniper bots, multi-ATS form automation tools, and full-stack SaaS platforms. 175+ real-world projects shipped with 100% Upwork Job Success score.

Home
Projects
Hire Me
CV / Resume
Contact
GitHub
LinkedIn