@drain54/plugin-x402-tools
v0.1.0
Published
ElizaOS plugin for pay-per-call web tools (Reader, Search, CAPTCHA) using x402 Base USDC
Maintainers
Readme
@drain54/plugin-x402-tools
ElizaOS Plugin for Pay-Per-Call Web Tools powered by x402 on Base mainnet.
Give your ElizaOS agents real-time web browsing, Markdown article extraction, live search, and CAPTCHA solving with zero API keys or monthly subscriptions. The agent pays micropayments ($0.005) directly in Base USDC.
Features
X402_READ_WEB: Extract clean, readable Markdown and metadata from any URL ($0.005 USDC).X402_SEARCH_WEB: Live multi-engine web search (TinyFish, DDGS, Jina) ($0.005 USDC).
Installation
npm install @drain54/plugin-x402-toolsUsage in ElizaOS Character
Add the plugin to your character.json:
{
"name": "ResearchAgent",
"plugins": ["@drain54/plugin-x402-tools"],
"settings": {
"secrets": {
"EVM_PRIVATE_KEY": "0x..."
}
}
}The plugin will automatically sign EIP-3009 transfer authorizations for Base USDC when invoking tools.
License
MIT
