🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

wallet-doctor

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wallet-doctor

Solana blockchain forensics SDK for AI agents. Pay-per-call in SOL/USDC, no API keys, x402 v2 compliant. 13 services from $0.001 per call.

pipPyPI
Version
0.2.3
Weekly downloads
97
Maintainers
1

Wallet Doctor — Solana Forensics for AI Agents

PyPI MCP Registry Solana License Telegram

Give your AI agent wallet superpowers. Check balances, trace transactions, detect drain attacks, audit token safety, identify smart money — pay-per-call in SOL, no API keys, no accounts.

pip install wallet-doctor

Why Wallet Doctor?

  • For AI agents — 13 services, all pay-per-call. Every check is one HTTP call.
  • For Solana data — Real-time on-chain reads via Helius + DexScreener.
  • For threat detection — Drain forensics, rug analysis, approvals audit, scam labels.
  • For trading bots — Token safety, liquidity, smart money flow — all before you trade.
  • Pricing — From 0.001 SOL (~$0.07) per call. No subscriptions.
  • Payment — Just send SOL, return tx hash. No API keys, no signup.
from wallet_doctor import WalletDoctor

wd = WalletDoctor()

safety = wd.token_safety(wallet="8xHUrNy3ZGwmqG5o2TGMrLDNTVjVwweUxDWLrL9SAD6")
if not safety.get("is_safe"):
    print("Unsafe token detected, refusing to trade")

result = wd.txtrace(wallet="victim...", tx="4Zk2...")
result = wd.portfolio_audit(wallet="...")

All 13 Services

ServicePrice (SOL)Description
balance0.001SOL + SPL token balances
price_oracle0.001DEX price for any SPL token
token_safety0.005Honeypot, mint/freeze authority check
wallet_labels0.005Scam/honeypot protocol interactions
approvals0.005All active token approvals on a wallet
txtrace0.005Last 20 transaction signatures
nft_audit0.005NFT holdings with metadata
token_holders0.010Top 10 holders + % supply
smart_money0.010Whale/smart-money detection
liquidity_check0.015LP pool size + lock status
launch_analysis0.020New token launch (rug-risk)
drain_forensics0.025Full drain attack analysis
portfolio_audit0.025Complete wallet security audit

How Payment Works

Send SOL with any wallet, post the tx hash, get the data:

solana transfer --recipient 4dX3VmkGFJHj1XZbWN1MbRYnCaxYWEEN21LjkmCe9JRE 0.001 --allow-unfunded-recipient
curl 'https://defi-webhook.m-zikriz.workers.dev/api/agent?service=balance&wallet=<addr>&tx=<your_tx_hash>'

The worker verifies your payment on-chain instantly (sub-second).

Plug into any agent framework

{"mcpServers":{"wallet-doctor":{"url":"https://defi-webhook.m-zikriz.workers.dev"}}}

Compatible with: Claude Code, Cursor, Windsurf, ChatGPT Actions, Gemini, AWS AgentCore, CrewAI, LangChain, AutoGPT, n8n, MCP Inspector.

Quick Start (Python)

pip install wallet-doctor
from wallet_doctor import WalletDoctor
wd = WalletDoctor()
print(wd.balance(wallet="<addr>"))  # tx_hash required if SOL not pre-paid

Quick Start (CLI)

wallet-doctor balance --wallet <addr> --tx <tx_hash>
wallet-doctor token_safety --wallet <addr> --tx <tx_hash>

Quick Start (HTTP)

curl 'https://defi-webhook.m-zikriz.workers.dev/api/agent?service=balance&wallet=<addr>&tx=<tx_hash>'

Discovery Endpoints

ChannelURL
MCP Official Registryhttps://registry.modelcontextprotocol.io/v0/servers/io.github.zikriz/wallet-doctor
PyPIhttps://pypi.org/project/wallet-doctor/
NPM (MCP server)https://www.npmjs.com/package/wallet-doctor-mcp
GitHubhttps://github.com/zikriz/wallet-doctor-mcp
Agent Manifesthttps://wallet-doctor-agents.pages.dev/agent.json

Compatibility

Solana mainnet · Helius RPC · Metaplex NFT · Jupiter / Raydium DEX · x402 protocol · MCP 2025-06-18

License

MIT — Wallet Doctor

Keywords

solana

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts