惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Martin Fowler
Martin Fowler
Y
Y Combinator Blog
M
MIT News - Artificial intelligence
The Cloudflare Blog
WordPress大学
WordPress大学
H
Hackread – Cybersecurity News, Data Breaches, AI and More
博客园 - 司徒正美
小众软件
小众软件
Blog — PlanetScale
Blog — PlanetScale
雷峰网
雷峰网
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
J
Java Code Geeks
云风的 BLOG
云风的 BLOG
C
Check Point Blog
D
DataBreaches.Net
T
The Blog of Author Tim Ferriss
V
V2EX
F
Fortinet All Blogs
B
Blog
大猫的无限游戏
大猫的无限游戏
N
Netflix TechBlog - Medium
B
Blog RSS Feed
A
About on SuperTechFans
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
How I built an AI crypto trading dashboard in a weekend w...
Heath Mcinty · 2026-04-26 · via DEV Community

Heath Mcintyre

A practical breakdown of CoinHawk: what it does, how it's wired, and what surprised me along the way.


I've been trading crypto on the side for about three years and the same thing kills me every time: I miss the move. The signal hits at 3am, my Discord pings, I'm asleep, and by the time I wake up the trade is gone.

So last weekend I built CoinHawk — an AI-powered trading dashboard that watches the markets so I don't have to. It scans 2,400+ tokens across 14 exchanges, surfaces real-time signals, and executes trades in one click via MetaMask on Base. Free tier available, $29/mo for the full version.

Live demo → https://71554e3f-e544-4c13-9297-83c480d696c1-00-3dqa8py4myltw.worf.replit.dev/

Here's how it came together.

The stack (and why)

  • Replit for the dev environment, Postgres, and one-click deploy. The whole thing — frontend, backend, database, secrets, deploy — lives in one project. No DevOps required.
  • React + Vite for the dashboard frontend. Dark theme, accent green, Space Grotesk + DM Sans. Feels like a Bloomberg terminal got a redesign.
  • Express + Drizzle + Postgres for the API and trade log.
  • OpenAI gpt-5.4 (via Replit's AI proxy, so I never had to manage an API key) for signal generation and the security monitor.
  • viem for wallet signature verification.
  • Base as the on-chain settlement layer. 1% per trade routes to a verified admin wallet — no custodial layer, no third-party processor.

Total time from blank Replit to live production: about 11 hours over a weekend.

The three things I'm proud of

1. Real wallet ownership verification

The naive way to do "wallet-based admin" is: client says "I'm wallet 0xABC" → server trusts it. That's broken. Anyone can claim to be anyone.

CoinHawk does it properly:

  1. Server issues a one-time nonce (5-minute TTL, stored in session)
  2. Client signs the reconstructed message via MetaMask personal_sign
  3. Server verifies the signature with viem's verifyMessage against the server-stored nonce, not the client-supplied one
  4. Only then is the wallet bound to the session

No gas, no transaction, no spoofing. ~80 lines of code.

2. Server-driven AI security monitor

Every dashboard has a "Sentinel" status pill in the header. It's not a static badge — it's the output of a real LLM scan of the deployment that runs every 5 minutes server-side. Cache is shared across all users, so a single API call serves everyone. Frontend polls every 30s.

The trick: ignore user-supplied parameters when computing the cached scan. One bad-actor user shouldn't be able to steer what every other user sees.

3. Tier-aware dashboard from a single URL

Pricing tiers (Scout/Hunter/Apex) on the landing page link to /dashboard?plan=apex. The dashboard reads it via useSearchParams, persists to localStorage, then strips the query. Refresh-safe, share-safe, simple.

What surprised me

Replit's "publish" button is faster than I expected. I push a code change, click Publish, and 60 seconds later it's live on .replit.app. No Dockerfile, no CI/CD pipeline, no AWS console. For a solo project this is the right tradeoff.

OpenAI's gpt-5.4 is wildly good at structured trade analysis when you give it real market context. The hard part wasn't the model — it was building the data pipeline that feeds it.

Wallet UX is still terrible. Even with all my polish, MetaMask popping up two prompts (connect + sign) is friction. Smart accounts will eventually fix this. Until then, it's the cost of Web3.

What's next

  • Smart account support (gasless trades for the Hunter tier)
  • WalletConnect for non-MetaMask users
  • A mobile app via Expo
  • Backtest mode so users can replay AI signals against historical data

If you want to try it: https://71554e3f-e544-4c13-9297-83c480d696c1-00-3dqa8py4myltw.worf.replit.dev/ — Scout tier is free, no credit card.


Built on Replit and Base. Roast my code or my color choices in the comments.