Skip to content

docs: surface nansen trade across README, help banner, and npm metadata#421

Open
0xlaveen wants to merge 1 commit into
mainfrom
docs/trade-discoverability
Open

docs: surface nansen trade across README, help banner, and npm metadata#421
0xlaveen wants to merge 1 commit into
mainfrom
docs/trade-discoverability

Conversation

@0xlaveen
Copy link
Copy Markdown
Contributor

Summary

Internal users reported that their agents (e.g. Claw) confidently claim nansen-cli has no trading functionality and route directly to Uniswap / Aerodrome / Jupiter instead. Root cause is a docs framing problem, not a missing feature: nansen trade exists with quote, execute, bridge-status, and limit-order, but every surface a model scans first frames the CLI as analytics-only, so agents answer from priors without ever running --help.

This PR reframes five surfaces to lead with both analytics and DEX trading:

  • README.md — tagline rewritten ("Onchain analytics and DEX trading from the command line"), new "What it does" section above Installation, Trading section beefed up with bridge + limit-order examples, Trade keywords (Jupiter, 0x, best-quote routing) added inline.
  • package.json — description rewritten; added dex, swap, trading, jupiter, aggregator, base, bridge keywords so npm search surfaces it.
  • src/cli.js (HELP banner) — trade line now reads DEX swaps on Solana & Base via best-quote routing (Jupiter/0x): quote, execute, bridge-status, limit-order. Added a swap example to EXAMPLES.
  • src/schema.json — trade root description rewritten so nansen schema trade returns a richer line.
  • AGENTS.md — added Capabilities section so contributor docs lead with both analytics and trade.

No behavior change. Patch changeset added.

Test plan

  • npm test (1394 passed, 2 skipped)
  • npm run lint (clean)
  • node src/index.js smoke-tested — help banner reads correctly
  • Reviewer eyeballs the README diff for tone

🤖 Generated with Claude Code

Internal users reported their agents claim nansen-cli has no trading
functionality. Root cause: every surface a model scans first (README
tagline, npm description, `nansen` help line) framed the CLI as
analytics-only, so agents answered from priors without running --help.

Reframe across five surfaces to lead with both analytics and DEX
trading: README tagline + new Capabilities section, package.json
description + keywords (dex/swap/trading/jupiter/aggregator), CLI
help banner trade line, schema.json trade description, and
AGENTS.md Capabilities header.

No behavior change.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant