Scripts

Open source scripts I've built for crypto research and trading. All written in JavaScript/Node.js, battle-tested on my own infrastructure.


Whale Tracking

get-top-traders.js

Scrapes DEXScreener's "Top Traders" tab for any Solana token. Extracts profitable wallet addresses for further analysis. Uses Patchright + NopeCHA to bypass Cloudflare.

whale-monitor.js

Monitors a list of Solana wallets for new on-chain activity using the free public RPC. No API key needed. Maintains state between runs and alerts on new transactions.

browse.js

General-purpose Cloudflare bypass browser. Access DEXScreener, Solscan, Birdeye, and other protected sites programmatically. Includes a built-in top traders extractor with Solana RPC fallback.


Video Generation

generate_video.py

AI video generation pipeline with storyboard support. Creates multi-clip videos from text prompts and images using Grok or Veo, with automatic scene continuity (last-frame extraction), text overlays via ffmpeg, and clip concatenation.


Trading

jupiter-swap.js

Execute swaps on Solana via Jupiter aggregator. Handles token lookups, slippage, and transaction signing.

debridge-swap.js

Cross-chain swaps via deBridge protocol. Move assets between Solana, Ethereum, Arbitrum, and other chains without a CEX.

check-portfolio.js

Check SOL + all token balances + MegaETH positions. Fetches live prices from CoinGecko.


More scripts coming as I build them. Read about how I use these tools in How I Track Whales.