← 返回
数据分析 Key 中文

Einstein x402 Blockchain Analytics

Blockchain analytics and DeFi intelligence via Einstein's x402 micropayment services. Use when user wants on-chain market analysis, token research, whale tracking, smart money tracking, rug pull scanning, launchpad monitoring (Pump.fun, Zora, Virtuals), portfolio analysis, MEV detection, cross-chain arbitrage, or Polymarket data. Supports Base, Ethereum, BSC, Arbitrum, Polygon, Optimism, zkSync, Solana. Costs $0.25-$1.15 USDC per query via x402 protocol on Base.
通过 Einstein 的 x402 微支付服务提供区块链分析与 DeFi 情报。适用于链上市场分析、代币研究、巨鲸与聪明钱追踪、跑路扫描、发射台监控(Pump.fun、Zora、Virtuals)、投资组合分析、MEV 检测、跨链套利及 Polymarket 数据。支持 Base、Ethereum、BSC、Arbitrum、Polygon、Optimism、zkSync、Solana。通过 Base 上的 x402 协议收费,每次查询 $0.25-$1.15 USDC。
chuxo
数据分析 clawhub v1.1.0 1 版本 99959.7 Key: 需要
★ 0
Stars
📥 2,482
下载
💾 2
安装
1
版本
#latest

概述

Einstein — Blockchain Analytics via x402

Einstein provides 27 blockchain analytics services accessible via x402 micropayments (USDC on Base). Each query costs $0.25–$1.15 depending on complexity.

Quick Start

# 1. Install dependencies (manual step — the setup wizard will NOT run npm for you)
cd packages/project-einstein/openclaw-skill/einstein && npm install

# 2. Set your private key via environment variable (recommended)
export EINSTEIN_X402_PRIVATE_KEY=0x_your_private_key_here

# 3. Or run the interactive setup wizard
node scripts/einstein-setup.mjs

# 4. List all services (free)
node scripts/einstein.mjs services

# 5. Run a query (will prompt for payment confirmation)
node scripts/einstein.mjs top-movers --chain base --limit 10

Requirements:

  • Node.js 18+
  • Dependencies installed via npm install (not auto-installed)
  • A dedicated wallet private key with USDC on Base network (do NOT use your main wallet)
  • Set EINSTEIN_X402_PRIVATE_KEY environment variable (preferred) or run setup with --save-config

Service Categories

TierPrice (Raw)Price (+AI)Services
------------------------------------------
Basic$0.25$0.40Latest tokens, token chart
Standard$0.40$0.55Top movers, top tokens, OHLCV, Virtuals, wallet holdings, holder concentration
Platform$0.60$0.75Zora launches/volume, Pump.fun launches/volume/graduation, BSC alpha, liquidity shifts
Advanced$0.85$1.00Whale intel, smart money, top traders, DEX capital, token sniping, Polymarket events
Comprehensive$1.00$1.15Investment report, NFT analytics, MEV detection, arbitrage scanner, rug pull scanner, Polymarket compare

Raw = structured data only. +AI = includes AI-generated analysis and insights (default).

Free Services

These commands are free and do not require x402 payment or a wallet key.

Epstein Files Search

Search 44,886+ DOJ-released Jeffrey Epstein documents (Jan 2026 release) via the DugganUSA public index.

# Search by name
node scripts/einstein.mjs epstein-search --query "Ghislaine Maxwell" --limit 10

# Search by topic
node scripts/einstein.mjs epstein-search --query "flight logs" --limit 20

# Search by location
node scripts/einstein.mjs epstein-search --query "Little St James"
FlagDescriptionDefault
----------------------------
--query Search query (required)
--limit Number of results (1-500)10

Usage Examples

Market Analysis

# Top movers on Base in the last 24 hours
node scripts/einstein.mjs top-movers --chain base --timeperiod 1d --limit 10

# Top tokens by market cap on Ethereum
node scripts/einstein.mjs top-tokens --chain ethereum --limit 20

# Latest deployed tokens with liquidity
node scripts/einstein.mjs latest-tokens --chain base --limit 15

Whale & Smart Money Intelligence

# Track whale accumulation on Ethereum
node scripts/einstein.mjs whale-intel --chain ethereum --limit 10 --timeperiod 7d

# Smart money leaderboard on Base
node scripts/einstein.mjs smart-money --chain base --limit 20 --timeperiod 7d

# Capital-intensive DEX traders
node scripts/einstein.mjs dex-capital --chain base --limit 10 --timeperiod 3d

Security & Risk Analysis

# Scan a token for rug pull risk
node scripts/einstein.mjs rug-scan --chain ethereum --token 0x1234...abcd

# Detect MEV/sandwich attacks
node scripts/einstein.mjs mev-detect --chain ethereum --limit 10 --timeperiod 1d

# Identify early snipers on a token
node scripts/einstein.mjs token-snipe --chain base --token 0x1234...abcd --limit 20

Launchpad Monitoring

# Latest Pump.fun launches on Solana
node scripts/einstein.mjs pump-launches --limit 15 --timeperiod 1d

# Pump.fun tokens about to graduate
node scripts/einstein.mjs pump-grads --limit 10

# Zora launches on Base
node scripts/einstein.mjs zora-launches --limit 10 --timeperiod 3d

# Virtuals Protocol agent tokens
node scripts/einstein.mjs virtuals --limit 10 --timeperiod 7d

Portfolio & Token Analysis

# Check wallet holdings
node scripts/einstein.mjs wallet --chain ethereum --wallet 0xd8dA...

# Token holder concentration
node scripts/einstein.mjs holders --chain base --token 0x1234... --limit 50

# Token price chart
node scripts/einstein.mjs chart --chain base --token 0x1234... --timeperiod 7d

# OHLCV data for technical analysis
node scripts/einstein.mjs ohlcv --chain base --token 0x1234... --timeperiod 30d

Advanced Reports

# Multi-chain investment report
node scripts/einstein.mjs investment-report --chains base,ethereum,bsc --limit 10 --timeperiod 7d

# Cross-chain arbitrage opportunities
node scripts/einstein.mjs arbitrage --chain ethereum --limit 10 --timeperiod 1d

# NFT collection analytics
node scripts/einstein.mjs nft-analytics --chain ethereum --limit 10 --timeperiod 7d

Prediction Markets

# Polymarket events (Polygon)
node scripts/einstein.mjs polymarket --limit 10 --timeperiod 7d

# Compare Polymarket API vs chain data
node scripts/einstein.mjs polymarket-compare --limit 10

How Payment Works

Einstein uses the x402 protocol — an HTTP-native micropayment standard. Payment is automatic:

  1. Your request hits Einstein's endpoint
  2. Server responds with HTTP 402 + payment challenge
  3. The skill signs a USDC TransferWithAuthorization (EIP-3009) using your private key
  4. Request is re-sent with the payment signature
  5. Coinbase CDP facilitator settles the USDC transfer on Base
  6. You receive the analytics data

No accounts, no API keys, no subscriptions. Just USDC on Base and a private key.

Options Reference

einstein.mjs (query CLI)

FlagDescriptionDefault
----------------------------
--chain Blockchain networkbase
--limit Number of results (1-500)10
--timeperiod Time window: 1d, 3d, 7d, 30d7d
--token
Token contract address
--wallet
Wallet address
--chains Comma-separated chains
--rawData-only response (cheaper)false
--yes / -ySkip payment confirmation promptfalse

To skip the confirmation prompt globally, set EINSTEIN_AUTO_CONFIRM=true or add "autoConfirm": true to config.json.

einstein-setup.mjs (setup wizard)

FlagDescriptionDefault
----------------------------
--key Private key (skips interactive prompt)
--url Base URL for Einstein APIhttps://emc2ai.io
--chain Default blockchain networkbase
--save-configWrite config.json to disk (otherwise prints env var exports)false

Supported chains: base, ethereum, bsc, solana, arbitrum, polygon, optimism, zksync

Security Best Practices

Use a dedicated wallet. Create a separate wallet funded with a small amount of USDC for this skill. Do NOT use your primary wallet or any wallet holding significant funds.

Prefer environment variables over config.json. Environment variables (EINSTEIN_X402_PRIVATE_KEY) are not persisted to disk and are harder to accidentally commit to git. If you must use config.json (--save-config), restrict file permissions:

chmod 600 config.json

What gets signed. Each paid query signs an EIP-3009 TransferWithAuthorization message that authorizes a USDC transfer of the exact query price (shown before confirmation) from your wallet to the Einstein service address. The signature is single-use (unique nonce) and time-limited. No blanket approvals are granted.

Payment confirmation. By default, the CLI prompts before every paid query showing the exact cost. To skip the prompt for scripted/automated use, pass --yes / -y per-command or set EINSTEIN_AUTO_CONFIRM=true globally.

No auto-installed packages. The setup wizard does NOT run npm install automatically. You must install dependencies yourself so you can audit what is being installed.

No home directory scanning. Configuration is loaded only from environment variables and the skill-local config.json. No paths outside the skill directory are read.

Troubleshooting

"No private key configured"

Set EINSTEIN_X402_PRIVATE_KEY environment variable or run node scripts/einstein-setup.mjs --save-config.

"Payment rejected" / "Insufficient balance"

Your wallet needs USDC on Base. Bridge via https://bridge.base.org. Use a dedicated wallet with a small balance.

"Cannot reach emc2ai.io"

Check internet connection. The service may have temporary downtime.

"Unknown service"

Run node scripts/einstein.mjs services to see all available commands.

"Dependencies not installed"

Run npm install in the skill directory: cd packages/project-einstein/openclaw-skill/einstein && npm install

References

  • references/services-catalog.md — Full service catalog with parameters
  • references/payment-guide.md — Detailed x402 payment protocol guide
  • references/examples.md — Extended usage examples by category

版本历史

共 1 个版本

  • v1.1.0 当前
    2026-03-28 14:57 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Excel / XLSX

ivangdavila
创建、检查和编辑 Microsoft Excel 工作簿及 XLSX 文件,支持可靠的公式、日期、类型、格式、重算及模板保留功能。
★ 368 📥 140,706
data-analysis

A股量化 AkShare

mbpz
A股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。
★ 165 📥 60,151
ai-intelligence

Epstein Files Search

chuxo
搜索44,886+份司法部解密的杰弗里·爱泼斯坦文件(2026年1月发布)。免费无需付费。支持按姓名、主题、地点或关键词在DugganUSA索引中检索,返回文档预览、提及人物、地点、飞机、证据类型及来源参考。
★ 2 📥 1,529