Developers use
maketo compile software. Traders usemaketo compile alpha.
A lightweight, zero-bloat CLI orchestrator. Built to give your terminal an onchain lens for the Nansen CLI Build Challenge.
On-chain data analysis is often plagued by heavy dashboards, slow browser tabs, and complex API scripts. But the best developer tools in history follow the Unix philosophy: do one thing, do it well, and keep it lightweight.
Make Alpha uses standard, zero-dependency make commands to orchestrate the new Nansen CLI.
Instead of manually typing 15 different queries every morning to check cross-chain flows, a single make alpha command natively executes a suite of Nansen CLI calls in the background, handles errors gracefully, and compiles a clean, human-readable daily_report.md locally on your machine.
- Zero Bloat: No Python, no
node_modules(besides the CLI itself), no heavy frameworks. Just a standard UNIXMakefile. - Fail-Soft Execution: Uses native shell error-handling (
-and||). If one chain's RPC endpoint is temporarily down, theMakefilecatches the error, outputs a clean JSON error block into the report, and continues fetching the rest of your alpha. - Multi-Chain Lens: Automatically queries Smart Money flows, DEX trades, Token Screeners, and Whale portfolios across Ethereum, Solana, Arbitrum, Base, and Optimism in one go.
- Self-Documenting: Just type
maketo see all available commands. - Auto-Pilot Mode:
make watchruns the full suite every 6 hours β set it and forget it.
make setupTwo options β pick one:
# Option A: Auto-auth (reads API key from .env file)
make auth
# Option B: Pass your key directly
make login API_KEY=your_nansen_api_key_hereGet your free API key at app.nansen.ai/auth/agent-setup.
# Pings a single endpoint to verify JSON output formatting
make test# Fetch 15 cross-chain data points and generate your daily report
make alpha# Auto-run alpha every 6 hours β set it and forget it
make watch# See which sections succeeded/failed
make report
# View a section as a clean table
make report-1
# View raw JSON data
make report-1-raw| Command | Description |
|---|---|
make |
Show all available commands |
make setup |
Install Nansen CLI |
make auth |
Authenticate using API key from .env |
make login API_KEY=xxx |
Authenticate with key passed directly |
make test |
Test a single endpoint |
make alpha |
Generate full daily report (15 API calls) |
make report |
Show section-level status (β/β) |
make report-N |
View section N as readable table |
make report-N-raw |
View section N as raw JSON |
make watch |
Auto-run alpha every 6 hours |
make clean |
Remove old reports |
| # | Endpoint | Chains |
|---|---|---|
| 1-5 | Smart Money Netflow | Ethereum, Solana, Arbitrum, Base, Optimism |
| 6-10 | Smart Money DEX Trades | Ethereum, Solana, Base, Arbitrum, Optimism |
| 11-13 | Token Screener | Ethereum, Solana, Base |
| 14-15 | Whale PnL Summary | vitalik.eth, justinsun.eth |
This project was built specifically for Week 1 of the Nansen CLI Build Challenge (Deadline: Sunday, Mar 22).
As the Nansen Intern noted in the kickoff email: "Give your agent onchain lens." While many reach for heavy LLM frameworks to build "agents," Make Alpha takes a literal approach: the most reliable, fastest, and most useful autonomous agent for a daily trader is a standard UNIX task runner (make). It acts autonomously to fetch your data so you don't have to.
How this hits the 4 core judging criteria:
- Usefulness: Saves traders 30+ minutes a day. Instead of clicking through explorers, one command generates a comprehensive daily onchain report locally.
make watchautomates it completely. - Creativity: Applying a 48-year-old C-compiler tool (
make) to orchestrate cutting-edge Web3 onchain data. - Technical Depth: Bypasses basic scripting by using native
stderrswallowing (2>/dev/null), fail-soft error handling (-prefixes), standard JSON formatting (--pretty), dynamic timestamp generation via shell macros, and auto-pilot scheduling viawatchloop. - Presentation: A clean, documented repository that perfectly explains the "why" and "how".
Challenge Checklist:
- Install CLI (
make setup) - Make minimum 10 API calls (
make alpharuns exactly 15 multi-chain queries) - Build something real (A developer-first daily reporting pipeline with auto-pilot)
- Share on X tagging @nansen_ai with #NansenCLI
Built with βοΈ and standard UNIX tools for the #NansenCLI Challenge.
