Solenrich

io.github.0xSardius由 GitHub 帳號 0xSardius 發布v1.0.0更新於 Nov 2, 2026

Solana onchain intelligence for AI agents: wallet risk, due-diligence, perps funding, smart money.

已驗證Streamable HTTP可網頁執行金融資料與分析AI 與機器學習

概覽

AI 產生的概覽

遠端 MCP 伺服器,為助理提供付費的 Solana 鏈上情報:錢包與代幣風險、巨鯨資金流、永續合約資金費率與聰明錢訊號。

可以做什麼
分析錢包與代幣:餘額、持倉、DeFi 部位、標籤、風險評分、持倉集中度與代幣風險標記,並支援交易解析和最多 25 項的批次查詢。研究與比較:盡職調查結論、代幣與錢包的並排比較、歷史快照和投資組合時間序列。追蹤巨鯨與聰明錢:頭部持有者增減持、錢包關係圖、同屬主判定、跟單交易表現以及熱門與新代幣排行。分析永續合約:市場結構、Jupiter、Adrena 與 Hyperliquid 上的交易者画像、跨平台資金費率、基差與平台比較。篩選迷因幣新發與 StonkFun 獎勵幣,輪詢告警,並用自然語言提問。
適用情境
當助理需要回答關於 Solana 錢包、代幣或永續合約市場的問題,並希望得到帶評分的結論而非原始鏈上資料時使用,例如交易前盡職調查、核實收款錢包、追蹤巨鯨或聰明錢,或比較各平台的資金費率。
執行需求
遠端 streamable-HTTP 端點,無需安裝、帳號或 API 金鑰。每次資料呼叫透過 x402 以 USDC 付費(Solana 或 Base),因此呼叫方助理需要已儲值的錢包和支援 x402 的用戶端。免費示範端點每個 IP 每小時 10 次查詢。
安裝前請注意
每次資料呼叫都花費 USDC,標價約每次 0.001 至 0.10 美元,自動輪詢會實際花錢。助理需持有錢包並簽署 USDC 轉帳。輸出為市場訊號與結論,並非投資建議,README 也說明評分不是價格預測。查詢會被記錄並用於彙總的代理關注度訊號。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Solenrich,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.0xSardius%2Fsolenrich/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "solenrich": {
      "type": "http",
      "url": "https://api.solenrich.com/mcp"
    }
  }
}

README

SolEnrich

Onchain intelligence for Solana agents. An agent sends one request, pays a small amount of USDC per call over x402 (on Solana or Base, no API key, no account), and gets back a verdict with its evidence — structured JSON, or a short plain-language briefing for an LLM.

Verdicts instead of raw data: SAFE / CAUTION / RISKY for a token, EXIT / DERISK / HOLD for a position, PAYING / STALE / NEVER for a StonkFun reward coin, ESTABLISHED / SERIAL_LAUNCHER for a coin's creator, RISK_ON / NEUTRAL / RISK_OFF for a market. Scoring is deterministic (no LLM in the pipeline), so the same input gives the same answer. Suites cover wallets and tokens, memecoin trenches (entry and exit), smart money, perps across six venues, and StonkFun reward coins. Every endpoint is also a tool on the MCP server.

Live API: https://api.solenrich.com/ Landing Page: https://solenrich.com Docs (agent-readable): https://api.solenrich.com/docs

Quick Start

bash
# Health checkcurl https://api.solenrich.com/health
# Agent card (A2A discovery)curl https://api.solenrich.com/.well-known/agent.json
# List all 53 endpoints (52 paid + 1 free)curl https://api.solenrich.com/entrypoints
# Full API documentation (agent-readable JSON)curl https://api.solenrich.com/docs
# Free demo (no payment required, 10 queries/hr)curl -X POST https://api.solenrich.com/demo/enrich \  -H "Content-Type: application/json" \  -d '{"address":"DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263"}'

How payment works

  1. The agent calls an endpoint with no payment.
  2. SolEnrich answers 402 Payment Required with a payment-required header: the price, the USDC pay-to address on Solana and on Base, and a real example of the response.
  3. The agent signs a USDC transfer for that price and repeats the call with the payment attached (any x402 client does this; see skills/solenrich/examples/x402/).
  4. The Coinbase CDP facilitator settles the payment on-chain, and SolEnrich returns the answer.

Endpoints that can run longer than about 20 seconds settle the payment before the work starts, so a slow run never loses the payment. Payments are visible on x402scan.

Endpoints

All paid endpoints accept POST requests to /entrypoints/{key}/invoke with a JSON body containing an input object. Without a valid x402 payment header, endpoints return HTTP 402 with payment instructions.

Core (5 endpoints)

EndpointPriceInputDescription
enrich-wallet-light$0.002address, formatSOL balance, token holdings, NFT breakdown, labels, risk score
enrich-wallet-full$0.005address, format+ DeFi positions, connected wallets, enhanced tx history
enrich-token-light$0.002mint, formatPrice (DexScreener, then Jupiter, then Birdeye; price_source names it), market cap, volume, liquidity, risk flags
enrich-token-full$0.004mint, format+ Top 20 holders, HHI concentration, volatility metrics
parse-transaction$0.001signature, formatType detection, protocol identification, transfer breakdown

Premium (5 endpoints)

EndpointPriceInputDescription
whale-watch$0.008mint, formatTop holders with accumulation/distribution tracking
batch-enrich$0.015addresses[], type, depth, formatParallel enrichment of up to 25 wallets or tokens
wallet-graph$0.010address, depth, formatTransaction connection mapping and cluster detection
wallet-link-check$0.030wallet_a, wallet_b, context, formatAre two wallets the same owner? Verdict + confidence from direct transfers, first funders, new-wallet age and x402 history (payout-wallet rotation vs hijack)
copy-trade-signals$0.010address, formatPnL, win rate, Sharpe/Sortino ratios, max drawdown
due-diligence$0.020mint, formatComposite risk report with SAFE / CAUTION / RISKY verdict

Comparison (2 endpoints)

EndpointPriceInputDescription
compare-tokens$0.006mints[] (2-3), formatSide-by-side: price, liquidity, volatility, HHI, risk. Rankings + summary
compare-wallets$0.006addresses[] (2-3), depth, formatSide-by-side: portfolio, activity, risk, labels. Rankings + summary

Temporal (3 endpoints)

EndpointPriceInputDescription
token-trend$0.006mint, lookback, formatToken metrics over time — daily snapshots with improving/declining/stable direction per metric
wallet-history$0.006address, lookback, formatPortfolio value, SOL balance, risk score deltas + position changes across daily snapshots
portfolio-history$0.006address, period, formatFull portfolio time-series (7/14/30d) with peak, trough, max drawdown, change vs start

Discovery & Protocol (2 endpoints)

EndpointPriceInputDescription
new-tokens$0.012min_liquidity_usd, max_risk_score, limit, formatRecently launched tokens, enriched + risk-scored, safest first
protocol-profile$0.008protocol, include_yields, formatProtocol TVL, yields, on-chain activity, health signals, automated-activity %

Perps Intelligence (8 endpoints)

EndpointPriceInputDescription
perps-market-structure$0.012formatJupiter Perps OI, utilization, borrow APR, skew, health flags for SOL/BTC/ETH
perps-trader-profile$0.010address, formatMulti-venue (Jupiter + Adrena) open positions, leverage, PnL, trader classification
perps-cross-venue-funding$0.015market, include_reference, formatFunding/borrow APR + OI across Jupiter, Adrena, Flash, Phoenix, Hyperliquid, dYdX — best entry per side, arbitrage spreads
perps-venue-comparison$0.020market, side, size_usd, formatWhere to trade at this size: slippage, fees, OI headroom, total entry cost, recommendation
perps-basis-signal$0.015asset, min_yield_apr_pct, formatNet-yield-after-borrow basis trade scanner — actually-earnable yield per venue
xstock-basis$0.015symbol, size_usd, formatTokenized-stock basis: long the xStock (NVDAx, TSLAx, SPYx, QQQx, AMZNx, METAx, GOOGLx, MSTRx, COINx, HOODx, CRCLx) on Jupiter, short its Phoenix perp. Funding APR vs the real round-trip cost at size (Jupiter quotes + Phoenix order book + fees), breakeven days, after-hours and earnings flags. TRADE / MARGINAL / NO_TRADE / TOO_THIN
perps-market-trend$0.008lookback, formatPer-market deltas (price, OI, skew, utilization, borrow APR) over 7/14/30d — regime detection
hyperliquid-trader-profile$0.012address (0x), formatHyperliquid live positions, leverage, liquidation distance, risk flags, week/month/all-time PnL
hyperliquid-smart-money$0.05market, top_traders, formatLeaderboard funnel → consistency-gated traders → per-coin positioning consensus + top-trader drill-down

Orchestration (2 endpoints)

EndpointPriceInputDescription
trending-signals$0.050min_liquidity_usd, max_risk_score, limit, formatComposite ranking of trending tokens: discovery + whale-watch + risk scoring, with reasoning
smart-money-flow$0.100wallets[], min_win_rate, lookback_days, formatScores seed wallets, filters to winners, surfaces tokens they're accumulating + clusters

Trenches — Memecoin Intelligence (6 endpoints)

EndpointPriceInputDescription
smart-money-trenches$0.05hours_back, max_token_age_hours, min_buyers, limit, formatWhich proven-winner wallets are aping fresh (<6h) launches right now — vetted realized-PnL seed set, bot-guarded, ranked by distinct smart buyers + recency
runner-scan$0.04max_token_age_hours, min_liquidity_usd, min_volume_h1_usd, limit, formatWhich fresh tokens are accelerating right now — buy-rate acceleration (5m vs 1h, 1h vs 6h), buy pressure, volume/price velocity, holder growth, liquidity trend. Stages RUNNING / IGNITING / PARABOLIC_LATE / FADING with a 0–1 score. Flags already-ran tokens as entry risk and LP pulls as rugs
trenches-scan$0.08max_token_age_hours, min_liquidity_usd, limit, formatAll three trenches signals in one call — on-chain velocity × proven-winner buys × agent attention, composited into a ranked list with confluence counts, per-token reasoning, and HIGH_CONFLUENCE / MODERATE / SINGLE_SIGNAL verdicts
trenches-check$0.03mint, formatThe suite pointed at ONE token — before you ape, run the check. Same three legs as trenches-scan but targeted at your candidate: verdict + reasoning + per-leg detail. Pairs with due-diligence for a full pre-entry read
exit-signal$0.04mint, entry_price_usd, formatThe sell-side verdict for a token you hold — EXIT / DERISK / HOLD with a 0–1 exit score. Sell pressure, buy-rate deceleration, volume fade, distribution-into-strength, top-holder flow (distributing vs accumulating whales), liquidity trend, holder churn. Rug triggers (LP pull, active dump) override everything. Works on tokens of any age
audace-intent-check$0.05category, tokenInMint, tokenOutMint, amountIn, seasonEndsAt, network, formatFor AudaceFi league agents: send the /v1/swap-intents body, get PROCEED / REDUCE / HOLD with reason codes. Buys check risk flags, the trenches signal (Degen) and exit momentum; sells run the exit verdict; sells are never blocked. Within 60 min of the season-end snapshot, sells proceed and buys hold. network: devnet (default) or mainnet. Use format json or both: llm returns the briefing only. PROCEED is market advice, not an eligibility check (category, allowlist, token program and the wallet at the snapshot stay with AudaceFi). Typical 1–3 s; a cold Degen buy can take up to ~30 s

Collectibles / RWA (1 endpoint)

EndpointPriceInputDescription
gacha-ev-scan$0.02machine, franchise, exit_strategy, min_edge_pct, formatJupiter Gacha (Collector Crypt) pack EV scan — gross insured EV vs the guaranteed instant-buyback floor (85–93%, ≤72h) vs a marketplace sale (−2% fee, fill-risk). POSITIVE_EV / HOUSE_EDGE / NEGATIVE_EV verdict per machine — the realizable EV the platform hides behind its gross-EV headline

StonkFun — Quote-Paired & Reward Coins (5 endpoints, 1 free)

Coins launched on stonkfun.xyz are priced against a quote asset (xStocks such as NVDAX/SPYX/TSLAX, Backpack pre-stocks, currencies, custom mints). Reward-mode coins carry a Token-2022 transfer tax (100 or 300 bps) paid to holders in the quote token. These endpoints read the tax config from the chain, score whether it reaches holders, compute holder yield, screen the whole reward-coin set, and preflight a self-built LaunchLab launch before it is broadcast.

EndpointPriceInputDescription
stonk-pairsfreecategory, launchable_only, formatQuote assets a launch can be paired against, normalized categories, is_agent_launchable flag (launchable + LaunchLab-ready + allowed category). Call first: a launch quoteMint must be one of these
stonk-reward-risk$0.005mint, formatPayout status — PAYING (holders paid in the last 24h), STALE, NEVER, NOT_REWARD — plus trading_cost (tax bps, round-trip %) and a 0–100 health score read from the chain: fee bps + cap, withdraw authority (must be StonkFun's distributor), fee mutability, distributions + recency, flywheel, holders + concentration, quote category, age
stonk-yield-batch$0.05mints (up to 25) or screener filters, limit (≤25), formatstonk-yield for up to 25 coins in one call, from the index in milliseconds: 7d / 30d / lifetime yield per coin with reward asset, market cap, holders, last payout. Cheaper than stonk-screener + one stonk-yield per coin
stonk-alerts$0.02mints (1–25), since, min_holders_change_pct, stale_after_hours, formatWhat changed for your reward coins since your last check: payout landed, payout went stale, stopped trading, holders moved, rewards paid since. Plus current payout status per coin. From the index in milliseconds; poll it and pass checked_at back as since
stonk-yield$0.005mint, formatTrailing 7d / 30d / lifetime holder yield — rewards in the quote asset, priced in USD, over average market cap; annualized with a caution flag under 7 days. Plus quote exposure: the holder is long the coin and its quote asset
stonk-screener$0.01quote_mint, category, min_holders, min_age_days, max_age_days, min_volume_24h_usd, max_market_cap_usd, paying_only, live_only, sort, limit, formatEvery reward coin from a 10-minute ingest, served from memory. Per row: payout_status, hours since last payout, live (traded AND paid in 24h), round_trip_pct tax cost, holders, yields, volume, mcap. Sort by volume24h (default), lastPayout, holders, priceChange24h, yield7d, yield30d, rewardsUsd
stonk-gems$0.03quote_mint, category, max_age_days, min_holders, max_market_cap_usd, limit, formatLive-coin shortlist: ranks reward coins 0–100 on recent holder payout, holders, mcap headroom, 24h turnover, age, momentum, quote strength, flywheel. Stages GEM / WATCH / NOISE / DEAD with reasons and warnings per coin. Measures alive, paying and liquid — not a price forecast (in a paper test higher scores did not beat the market); pair with stonk-creator and stonk-quote
stonk-launch-intel$0.02category, min_coins, sort, limit, formatWhat to launch and against what. Per quote asset: launches (24h/7d), share trading today, share paying today, survival past day 3, median holders + mcap, 100 vs 300 bps tax mix with trading/paying rates, crowding, 0–100 demand score, plus overall stats and plain recommendations
stonk-quote$0.005mint, size_usd, hold_days, formatCost and payback of one trade at one size, no swap: entry/exit cost (tax + price impact), round-trip % and breakeven move, pro-rata payout share with dust warning, expected payout over the hold from real yield history, PAYS / MARGINAL / COSTS / NOT_PAYING with breakeven hold days
stonk-market-pulse$0.005formatIs the StonkFun market rising or falling? RISK_ON / NEUTRAL / RISK_OFF from breadth (share of live coins up 24h) and the median move, plus the volume-weighted move, launches per day, share trading and paying, holder revenue 7d vs prior 7d, strongest and weakest quote shelves, daily breadth trend
stonk-creator$0.01creator or mint, formatTrack record of a StonkFun creator: ESTABLISHED / MIXED / SERIAL_LAUNCHER / NEW, launches per day and week, share of coins older than 3 days still trading (baseline 19% one-time creators vs 5% serial launchers), payouts in 24h, living coins
stonk-launch-preflight$0.25unsigned_transaction, quote_mint, mode, launch_params, formatDecodes the LaunchLab initialize instruction and diffs every parameter against StonkFun's /launchlab/pricing — GlobalConfig, platform id per mode, curve, supply, totalSellA, raise, 6-decimal Token-2022 base mint, quote token program, curve-rule account last, and the reward-mode transfer fee (catches Raydium's transferFeeBasePoints / maxinumFee spelling). Returns ok, mismatches[{field, expected, actual, fix}], warnings. A mismatched pool is never adopted: the tax goes to nobody

Intelligence Feed & Signals (4 endpoints)

EndpointPriceInputDescription
feed-latest$0.005since, formatDaily intelligence brief — pre-computed trending ranking, cached 24h, built for recurring polling
consensus-signal$0.005address/type or limit, window, formatWhat other agents are querying right now — proprietary attention signal from our request stream
attention-momentum$0.02window, limit, formatTokens ranked by acceleration of agent attention, with price divergence: early_signal (attention up, price flat) / distribution_risk (attention cooling, price pumping)
check-alerts$0.008tokens[], wallets[], since, criteria, formatPoll-based alerts: price spikes, whale flows, risk changes + perps events (position add/close, liquidation approaching, PnL swings)

Natural Language (1 endpoint)

EndpointPriceInputDescription
query$0.003question, formatPlain English questions routed to the right enricher

Example Request

bash
curl -X POST https://api.solenrich.com/entrypoints/compare-tokens/invoke \  -H "Content-Type: application/json" \  -d '{"mints":["JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN","DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263"],"format":"both"}'

Request bodies are flat JSON matching each endpoint's schema in /openapi.json. A {"input": {...}} envelope is also accepted.

Output Formats

Every endpoint accepts a format parameter:

  • json — Structured data for agent-to-agent consumption
  • llm — Natural language briefing (markdown) for LLM context windows
  • both — JSON data with an additional llm_summary field

Scoring Methodology

All scoring is deterministic on-chain logic — no LLM inference anywhere in the pipeline.

Wallet Risk Score (0.0 - 1.0)

Seven additive factors from on-chain activity:

FactorWeight
High transaction concentration (few counterparties)+0.15
Low transaction diversity+0.10
New wallet (< 30 days old)+0.15
Bot-like patterns (high frequency, repetitive)+0.20
Interactions with known risky programs+0.15
Airdrop farming signals (many small token accounts)+0.10
Low protocol diversity (< 2 protocols)+0.10

Risk Levels: LOW (< 0.25) | MODERATE (0.25-0.50) | ELEVATED (0.50-0.65) | HIGH (0.65-0.80) | CRITICAL (> 0.80)

HHI (Herfindahl-Hirschman Index)

Holder concentration metric from top 20 on-chain holders:

  • < 1500 — Well distributed
  • 1500-2500 — Moderately concentrated
  • > 2500 — Highly concentrated

Price Volatility

Computed from DexScreener multi-timeframe data (zero extra API calls):

  • LOW — daily std < 3%
  • MODERATE — 3-8%
  • HIGH — 8-15%
  • EXTREME — > 15%

Token Pricing

Median of up to 3 sources (Helius DAS, DexScreener, Jupiter). Median resists outliers from any single DEX.

Architecture

Client → x402 Paywall → Entrypoint Router → Enrichment Engine → Format Router → Response

Repo layout

PathWhat is there
src/enrichers/The scoring logic: each enricher fetches, cross-checks, and scores. Verdict rules are pure functions with unit tests (for example stonk-creator.ts, stonk-pulse.ts, wallet-link.ts, risk-scorer.ts).
src/entrypoints/One file per endpoint suite: input schema, handler, briefing.
src/sources/Clients for Helius, Solana RPC, DexScreener, Jupiter, Birdeye, DeFi Llama, StonkFun, and the perps venues.
src/lib/agent.tsApp setup, x402 payment middleware, metrics, /docs.
src/mcp-tools.tsThe MCP server's tools (one per endpoint).
src/openapi.ts, src/lib/llms-txt.tsDiscovery surfaces: OpenAPI, llms.txt.
agents/solscout/Our test agent: pays every endpoint in production and checks the answers.
skills/solenrich/The installable agent skill.
test/Unit tests (run in CI) and live endpoint checks.

Data Sources

SourceUsage
HeliusDAS API (assets, token accounts), enhanced transaction parsing, RPC
DexScreenerToken prices, market data, liquidity, OHLCV
DeFi LlamaProtocol TVL, yield data
JupiterToken prices (cross-reference), metadata, verification status, perps quotes
BirdeyeOptional (BIRDEYE_API_KEY): holder counts, daily OHLCV. Not enabled on the hosted API since November 2026
Solana RPCSOL balances, mint info, top 20 holders, Token-2022 transfer fees, Jupiter Perps, Adrena and Flash on-chain accounts
StonkFun public APIReward coins, payouts, launch ledger (creators), revenue history
Hyperliquid + dYdX v4Cross-chain perps reference (funding rates, basis)

Entity Labeling

20+ known Solana addresses auto-tagged across all enrichment results: CEX wallets (Binance, Coinbase), protocol addresses (Raydium, Orca, Jupiter), bridges, and foundations.

NFT Classification

Most non-fungible assets on a Solana wallet are unsolicited compressed drops, so a raw NFT count overstates collecting activity. One measured wallet held 118 non-fungibles: 15 were real holdings and 103 were airdrops, several of them drainer bait.

Wallet enrichment returns nft_summary with three buckets that sum to nft_count:

BucketMeaning
collectedUncompressed and not spam-flagged. Minting these costs rent per asset, so they are usually bought or minted deliberately.
airdroppedCompressed and not spam-flagged. Cheap to mint in bulk, so usually sent unsolicited.
suspected_spamName or description matches claim bait, an embedded domain, or invisible filter-evasion characters.

nft_collections lists the largest collections, real holdings first. distinct_collections counts only collected holdings in a named collection.

Spam detection is pattern matching on names and descriptions, applied to compressed assets only. Treat it as a signal, not a verdict — a legitimate compressed drop with promotional wording can be flagged. The nft_collector label requires 10 or more collected NFTs, so it no longer fires on airdrop volume.

Agent Skill

One line installs the SolEnrich skill into Claude Code, Cursor, Codex and other agents that read Agent Skills. It teaches the agent which endpoint answers which question, how to pay per call over x402, and the trade and StonkFun workflows:

bash
npx skills add 0xSardius/solenrich --skill solenrich

Source: skills/solenrich/. Listed on skills.sh. Data calls are paid (x402, USDC on Solana or Base); the agent needs a wallet with USDC.

MCP Server

SolEnrich exposes an MCP endpoint for Claude Desktop, Claude Code, and Cursor. No install required:

json
{  "mcpServers": {    "solenrich": {      "type": "streamable-http",      "url": "https://api.solenrich.com/mcp"    }  }}

51 tools — every endpoint is exposed as an MCP tool (wallet/token light+full variants fold into depth/include_holders toggles). Highlights: enrich_wallet, enrich_token, due_diligence, whale_watch, perps_cross_venue_funding, trending_signals, smart_money_flow, check_alerts.

Free Demo

Try SolEnrich without payment — paste any Solana wallet address or token mint:

bash
curl -X POST https://api.solenrich.com/demo/enrich \  -H "Content-Type: application/json" \  -d '{"address":"JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN"}'

10 free queries per IP per hour. Auto-detects wallet vs token. Returns format: "both" (JSON + LLM summary).

Interactive demo on the landing page: https://solenrich.com

Development

bash
# Install dependenciesbun install
# Start dev server (port 3000)bun run dev
# Type checkbunx tsc --noEmit
# Run tests (CI runs the unit test files: 500+ tests across 15 files, see .github/workflows/ci.yml)bun test test/unit.test.ts                # core unit testsbun test test/stonk.test.ts               # StonkFun suite (recorded fixtures)bun run test/test-all-endpoints.ts        # live endpoint checks (requires a running server)bun run test/test-402-production.ts       # production paywall verificationbun run agents/solscout/index.ts --target production --mode stress   # free 402 check of every route

Environment Variables

VariableRequiredDescription
HELIUS_API_KEYYesHelius API key (helius.dev)
AGENT_WALLET_ADDRESSYesSolana wallet address for payments
PAYMENTS_ENABLEDNoSet to "true" to enable x402 paywall
FACILITATOR_URLIf paymentsx402 facilitator URL
UPSTASH_REDIS_REST_URLNoUpstash Redis for caching (falls back to in-memory)
UPSTASH_REDIS_REST_TOKENNoUpstash Redis token
JUPITER_API_KEYNoJupiter API key (optional, free tier works)
BIRDEYE_API_KEYNoBirdeye API key — real holder counts + daily OHLCV for volatility
METRICS_TOKENNoBearer token for GET /metrics; without it metrics are locked in production
EVM_PAY_TONoBase address for USDC payments; when set, every 402 also offers payment on Base
DOGFOOD_WALLETSNoComma-separated payer wallets that are ours (test agents); kept out of organic counts and attention signals

Deployment

Deployed on Railway with Docker (Bun runtime). Auto-deploys from main branch.

License

MIT

Built by

@0xSardius

來源:README.md,提交 cb0f3b7

工具

49

enrich_wallet

Enrich Wallet

Get a Solana wallet profile: SOL balance, token holdings, DeFi positions, labels (whale, active_trader, defi_user), risk score, and risk level.

輸入參數depthaddress必填

enrich_token

Enrich Token

Analyze a Solana SPL token: price, market cap, liquidity, holder concentration (top 1/5/10%), slippage estimates at 4 position sizes ($100/$1K/$10K/$100K), risk flags, and Jupiter verification.

輸入參數mint必填include_holders

parse_transaction

Parse Transaction

Parse a Solana transaction: type, protocol, SOL/token transfers, accounts involved, and fee details.

輸入參數signature必填

whale_watch

Whale Watch

Track top token holders: balances, % supply, buy/sell volumes, accumulation vs distribution signals.

輸入參數mint必填threshold_usdlookback_hours

due_diligence

Due Diligence

Comprehensive token research: security audit, holder concentration, whale activity, risk score with level (LOW-CRITICAL), and SAFE/CAUTION/RISKY verdict.

輸入參數mint必填

wallet_graph

Wallet Graph

Map wallet connections: find counterparties, detect clusters of coordinated wallets, and identify suspicious patterns.

輸入參數depthaddress必填

copy_trade_signals

Copy Trade Signals

Analyze a wallet's trading performance: win rate, PnL, consistency, hold time, and smart_money classification.

輸入參數address必填lookback_days

batch_enrich

Batch Enrich

Enrich multiple wallets or tokens in a single call (1-25). Returns parallel results.

輸入參數type必填depthaddresses必填

compare_tokens

Compare Tokens

Side-by-side comparison of 2-3 tokens: price, liquidity, volatility, holder concentration, risk. Rankings and summary picks.

輸入參數mints必填

compare_wallets

Compare Wallets

Side-by-side comparison of 2-3 wallets: portfolio, activity, risk, labels. Rankings and summary picks.

輸入參數depthaddresses必填

token_trend

Token Trend

Token metrics over time: daily snapshots with direction indicators (improving/declining/stable) per metric.

輸入參數mint必填lookback

wallet_history

Wallet History

Wallet portfolio over time: snapshots with position changes (added/removed holdings) and direction indicators.

輸入參數address必填lookback

portfolio_history

Portfolio History

Full portfolio time-series for a wallet: daily snapshots of value, balance, holdings, and risk score over 7/14/30 days, plus summary stats (peak, trough, max drawdown, average, change vs period start). For charting and PnL tracking.

輸入參數periodaddress必填

new_tokens

New Tokens

Discover recently launched Solana tokens. Filters by liquidity and risk score, ranked safest first.

輸入參數limitmax_risk_scoremin_liquidity_usd

protocol_profile

Protocol Profile

DeFi protocol analytics: TVL, yield pools, on-chain activity, health signals. Supports Raydium, Orca, marginfi, Drift, Jupiter, Kamino, Marinade, Jito, and more.

輸入參數protocol必填include_yields

query

Query

Ask a plain English question about any Solana wallet, token, or market. Single-intent routes to one enricher; compound intents chain 2-3 in parallel and return a unified briefing. Examples: "should I buy <mint>?" (DD + trend + whales), "wallet deep dive on <addr>" (profile + history + perps), "is <mint> safe?", "what's trending right now", "SOL-PERP funding rate".

輸入參數question必填

perps_market_structure

Jupiter Perps Market Structure

Per-market OI, utilization, borrow APR, skew, OI caps, and health flags across Jupiter Perps SOL/BTC/ETH. Reads on-chain Anchor accounts directly.

無需輸入參數。

perps_trader_profile

Multi-Venue Perps Trader Profile

Open positions across BOTH Jupiter Perps and Adrena for a wallet. Per-venue breakdown plus combined totals. Each position tagged with venue. Trader classification (scalper/swing/position), directional bias, multi-venue exposure flag, and risk flags (high leverage, approaching liquidation, concentrated market). Adrena PnL needs mark prices for jitoSOL/WBTC/BONK and is null when unavailable.

輸入參數address必填

hyperliquid_trader_profile

Hyperliquid Trader Profile

Live Hyperliquid perp positions for an EVM (0x) address, read from HL's public on-chain state. Per-position side, leverage, notional, entry, unrealized PnL, distance-to-liquidation, and risk flags. Account value, directional bias, profile (directional/market-neutral/diversified), and realized+unrealized PnL over week/month/all-time. The building block for HL smart-money tracking.

輸入參數address必填

hyperliquid_smart_money

Hyperliquid Smart-Money Positioning

Where Hyperliquid smart money is positioned. Filters the HL leaderboard to consistent directional traders (excludes market-makers + dust), then aggregates their live positions into a per-coin consensus (long/short counts, net notional, bias, conviction) plus a top-trader drill-down. Optionally focus one coin via `market`. A positioning signal, not a trade — use as confluence/risk context, not a standalone entry.

輸入參數markettop_traders

perps_basis_signal

Net-Yield-After-Borrow Basis Signal

Computes perp mark vs spot price across venues and surfaces actually-earnable yield. Funding-rate venues (HL, dYdX) generate real yield; pool perps (Jupiter, Adrena) flagged as not viable because they charge borrow on both sides. Returns per-venue trade + filtered opportunities + best trade.

輸入參數asset必填min_yield_apr_pct

perps_market_trend

Jupiter Perps Market Trend

Per-symbol (SOL/BTC/ETH) deltas for mark price, total open interest, long/short skew, utilization, and borrow APR over 7/14/30 days. Direction indicators per metric and per market. Overall direction excludes mark price. Use for regime detection — bots that adjust behavior based on whether markets are growing, stressed, or rebalancing.

輸入參數lookback

perps_venue_comparison

Cross-Venue Perps Comparison

Where to trade this market at this size. Builds on cross-venue funding with spot slippage, per-venue fee, OI cap headroom, and total entry cost. Returns rankings + recommendation with warnings.

輸入參數sidemarket必填size_usd必填

perps_cross_venue_funding

Cross-Venue Perps Funding

Compare borrow/funding APR + OI across Solana on-chain venues (Jupiter Perps, Adrena) and cross-chain reference (Hyperliquid, dYdX v4). Returns best entry per side, basis vs Hyperliquid, and arbitrage opportunities. SOL/BTC/ETH/BONK supported (with venue-specific availability).

輸入參數market必填include_reference

smart_money_flow

Smart Money Flow

Where high-performing Solana wallets are moving. Scores seed wallets by copy-trade metrics, surfaces tokens they're accumulating, and maps wallet clusters.

輸入參數walletsmin_win_ratetop_n_tokensinclude_graphlookback_days

smart_money_trenches

Smart Money in the Trenches

Which proven-winner wallets are aping fresh (<6h) memecoin launches right now, and what are they buying? Vetted realized-PnL winner seed set (bot-filtered), recent buys overlaid against token launch times, ranked by distinct smart buyers + recency. Pre-ape attention signal.

輸入參數limithours_backmin_buyersmax_token_age_hours

runner_scan

Runner Scan (on-chain velocity)

Which fresh Solana memecoins are ACCELERATING right now? Measures buy-rate acceleration (5m vs 1h, 1h vs 6h), buy pressure, volume/price velocity, holder growth and liquidity trend, then classifies each token RUNNING / IGNITING / PARABOLIC_LATE / FADING with a 0-1 score and reasoning. Flags already-ran tokens as entry risk and liquidity pulls as rugs.

輸入參數limitmin_liquidity_usdmin_volume_h1_usdmax_token_age_hours

feed_latest

SolEnrich Daily Brief

Daily intelligence brief — pre-computed ranking of trending Solana tokens with composite-signal scoring. Cached 24h, lazy-populated on cache miss. Pass `since` (ISO 8601) to short-circuit on no-change polls.

輸入參數since

check_alerts

Check Alerts

Poll-based event detection covering spot + Jupiter Perps. Pass a watchlist (token mints + wallet addresses) and a since timestamp; receive alerts graded by severity. Spot alerts: price spike/drop, risk change, whale flow, concentration shift, portfolio value change, position add/remove. Jupiter Perps alerts per wallet: position opened, position closed, at-risk (high leverage or underwater), liquidation approaching, PnL swing. Stateless — caller owns the cursor.

輸入參數since必填tokenswallets

consensus_signal

Agent Attention Signal

What tokens or wallets are being queried by other agents right now. Proprietary data derived from SolEnrich's own query stream. Pass `address` for that entity's rank/percentile/trend; omit it for top-N. Windows: 1h, 6h, 24h.

輸入參數typelimitwindowaddress

trenches_check

Trenches Check (Vet One Token)

Before you ape, run the check: pass a token mint and get a HIGH_CONFLUENCE / MODERATE / SINGLE_SIGNAL / NO_SIGNAL verdict with reasoning. Runs on-chain velocity (runner stage + score), proven-winner wallet buys, and agent attention against that specific token. Pairs with due_diligence (structural safety) for a full pre-entry read. NFA.

輸入參數mint必填

exit_signal

Exit Signal (Should I Sell?)

The sell-side verdict for a token you hold: pass a mint, get EXIT / DERISK / HOLD with a 0-1 exit score and reasoning. Reads sell pressure, buy-rate deceleration, volume fade, distribution into strength, top-holder flow (whales distributing vs accumulating), liquidity trend, and holder churn. Rug triggers (LP pull, active dump) override everything. Works on tokens of any age. NFA.

輸入參數mint必填entry_price_usd

trenches_scan

Trenches Scan (Three-Signal Confluence)

The full memecoin pre-ape scan in one call: on-chain velocity (runner detection), proven-winner wallet buys (smart-money), and agent attention, composited into a ranked list with per-token reasoning and HIGH_CONFLUENCE / MODERATE / SINGLE_SIGNAL verdicts. Confluence across independent signals is the edge. NFA.

輸入參數limitmin_liquidity_usdmax_token_age_hours

attention_momentum

Agent Attention Momentum

Tokens ranked by ACCELERATION of agent attention (query velocity change across three consecutive windows), overlaid with price change over the same window. Divergence classes: early_signal (attention up, price flat — agents researching before the market moves), confirmed_momentum, distribution_risk (attention cooling while price pumps), fading. Proprietary — derived from SolEnrich's own query stream. Windows: 1h, 6h, 24h.

輸入參數limitwindow

gacha_ev_scan

Jupiter Gacha EV Scan

Scan Jupiter Gacha (Collector Crypt) tokenized-card packs for net-of-exit expected value. Per machine: gross insured EV vs the guaranteed instant-buyback floor (85-93% of insured value, ≤72h) vs a marketplace sale (insured value minus 2% fee, fill-risk). Returns a POSITIVE_EV / HOUSE_EDGE / NEGATIVE_EV verdict — the realizable EV the platform hides behind its gross-EV headline. NFA.

輸入參數machinefranchisemin_edge_pctexit_strategy

stonk_pairs

StonkFun Launchable Pairs (free)

FREE. List the quote assets a StonkFun (stonkfun.xyz) coin can be launched against — xStocks like NVDAX/SPYX/TSLAX, Backpack pre-stocks, currencies, custom mints — with normalized categories and an is_agent_launchable flag. Call this BEFORE sizing or preflighting a launch: the quoteMint must be one of these, and only launchLabReady pairs can be built on-chain.

輸入參數categorylaunchable_only

stonk_reward_risk

StonkFun Reward-Coin Risk

Call BEFORE sizing a StonkFun reward-coin position. Returns payout status — PAYING (holders got a payout in the last 24h), STALE, NEVER, NOT_REWARD — the trading cost (transfer-tax bps and round-trip %), and a 0-100 health score read from the chain: fee bps + cap, withdraw authority (must be StonkFun's distributor), fee mutability, distributions + last payout, flywheel, holders + concentration, quote category, age.

輸入參數mint必填

stonk_yield

StonkFun Holder Yield

Trailing 7d / 30d / lifetime holder yield for a StonkFun reward coin: rewards paid in the quote asset, priced in USD, divided by average market cap over the window. The annualized figure carries an explicit caution flag when the window is under 7 days. Also explains quote exposure — the holder is long both the coin and its quote asset (e.g. NVDAX), and rewards accrue in that asset. Use when asked "what does this coin pay holders?"

輸入參數mint必填

stonk_alerts

StonkFun Watchlist Alerts

What changed for up to 25 StonkFun reward coins since your last check: payout landed, payout went stale (no payout for 24h+), stopped trading (no 24h volume), holders moved 10%+, and rewards paid to holders since then in the quote asset and USD. Also the current payout status of each coin. Pass the previous checked_at as `since` on each poll. Use for "did my reward coins pay today?" or to watch a stonk portfolio.

輸入參數mints必填since必填stale_after_hoursmin_holders_change_pct

stonk_yield_batch

StonkFun Holder Yield — Batch

stonk_yield for up to 25 StonkFun reward coins in one call: 7d / 30d / lifetime holder yield per coin, annualized with caution flags, plus reward asset, market cap, holders and last payout. Pass `mints` (up to 25), or the screener filters (quote mint, category, holders, age, volume, market cap, paying_only, live_only, sort) to pick the coins. Use for "what do the paying NVDAX coins yield?" or to compare yields across a shortlist, instead of calling stonk_yield once per coin.

輸入參數sortlimitmintscategorylive_onlyquote_mintmin_holderspaying_onlymax_age_daysmax_market_cap_usd

stonk_screener

StonkFun Reward-Coin Screener

Screen every StonkFun reward coin with payout status (PAYING / STALE / NEVER), a live flag (traded AND paid in 24h), and the round-trip transfer-tax cost per row. Filters: quote mint, category, holders, age (min/max), 24h volume, market cap, paying_only, live_only. Sort by volume24h (default), lastPayout, holders, priceChange24h, yield7d, yield30d, rewardsUsd. Use for "which coins on NVDAX paid holders today?" or "live xStock coins under $1M". Served from a 10-minute ingest. Use stonk_gems for a ranked shortlist.

輸入參數sortlimitcategorylive_onlyquote_mintmin_holderspaying_onlymax_age_daysmin_age_daysmax_market_cap_usdmin_volume_24h_usd

stonk_gems

StonkFun Live-Coin Shortlist

Shortlist StonkFun reward coins that are alive, paying, and liquid. Ranks every reward coin 0-100 on recent holder payout, holders, size, turnover, age, momentum, and quote-asset strength — stages GEM / WATCH / NOISE with plain reasons and warnings, plus the round-trip tax cost. It is a liveness ranking, not a price forecast (in a paper test, higher scores did not beat the market). Use for "what is alive on StonkFun right now?", then check stonk_creator and stonk_quote before sizing.

輸入參數limitcategoryquote_mintmin_holdersmax_age_daysmax_market_cap_usd

stonk_launch_intel

StonkFun Launch Intel

What to launch on StonkFun and against which quote asset. Per quote: coins, launches (24h/7d), share trading today, share paying holders today, survival past day 3, median holders and market cap, 100 vs 300 bps tax mix with trading and paying rates, crowding, and a 0-100 demand score — plus overall stats and plain recommendations. Use BEFORE stonk_pairs / stonk_preflight when deciding what to launch.

輸入參數sortlimitcategorymin_coins

stonk_preflight

StonkFun Launch Preflight

Call BEFORE broadcasting a self-built Raydium LaunchLab launch meant for StonkFun. Pass the base64 unsigned transaction, the quote mint, and the mode; it decodes the initialize instruction and diffs every parameter against StonkFun's /launchlab/pricing — GlobalConfig, platform id per mode, curve, supply, totalSellA, raise, 6-decimal Token-2022 base mint, quote token program, curve-rule account last, and the reward-mode transfer fee (including Raydium's transferFeeBasePoints / maxinumFee spelling). Returns ok, mismatches with fixes, warnings. A mismatched pool is never adopted: the tax goes to nobody.

輸入參數mode必填quote_mint必填launch_paramsunsigned_transaction必填

stonk_quote

StonkFun Trade Quote

What one StonkFun trade costs at a given size and what the position is expected to pay back while held. Entry and exit cost (transfer tax + price impact at size), round-trip % and breakeven price move, pro-rata payout share with a dust warning, expected payout over the hold from real yield history, and a PAYS / MARGINAL / COSTS / NOT_PAYING verdict with breakeven hold days. No swap. Use before sizing any reward-coin position; follow with trenches_check to time the entry.

輸入參數mint必填size_usdhold_days

stonk_market_pulse

StonkFun Market Pulse

Is the StonkFun market rising or falling right now? RISK_ON / NEUTRAL / RISK_OFF from the share of live coins up over 24h and the median move, plus the volume-weighted move, launches per day, share of coins trading and paying, holder revenue this week vs last, the strongest and weakest quote shelves, and a daily breadth trend. Check it before entering any reward-coin position.

無需輸入參數。

stonk_creator

StonkFun Creator Track Record

Who launched this StonkFun coin, and do their coins survive? Pass a creator wallet or a coin mint. Returns ESTABLISHED / MIXED / SERIAL_LAUNCHER / NEW with launches per day and week, the share of their coins older than 3 days that still trade, payouts in 24h, and their living coins. A cheap filter before paying for anything else on a fresh coin.

輸入參數mintcreator

版本歷史

1
  1. v1.0.0最新Sep 16, 2026

評分

已滿足適用檢查項的 90%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。