plugin-minia2a
v0.1.1
Published
ElizaOS plugin for minia2a.uk — 299+ x402 pay-per-call APIs. Agents discover and pay for crypto, web, AI, and data APIs in USDC on Base. 15 free trials per endpoint.
Maintainers
Readme
plugin-minia2a
ElizaOS plugin for minia2a.uk — 299+ x402 pay-per-call APIs on Base L2.
Your ElizaOS agent can discover, call, and pay for:
- 🔐 CAPTCHA solving (reCAPTCHA, hCaptcha, Turnstile)
- ⛽ Gas prices across 6 chains
- 🔍 Token security audits
- 🌐 Web scraping & search
- 💰 Crypto price oracles
- 📡 DNS, IP, and network tools
- 🧠 AI inference endpoints
- ... and 290+ more
USDC on Base. 15 free trials per endpoint. No API keys.
Install
npm install plugin-minia2aUsage
import { createMinia2aPlugin } from "plugin-minia2a";
const minia2a = createMinia2aPlugin({
privateKey: process.env.AGENT_PRIVATE_KEY!, // EVM hex key on Base
// enabledActions: ["GET_GAS_PRICES", "CHECK_TOKEN_SECURITY"], // optional subset
});
// Add to your ElizaOS agent:
const agent = new AgentRuntime({
plugins: [minia2a],
// ...
});Your agent will now respond to queries like:
- "What are current gas prices?"
- "Check token 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
- "What time is it?"
- "Look up DNS for minia2a.uk"
- "Search the web for x402 protocol"
- "Solve the captcha at example.com"
How It Works
- Agent receives a query matching an action
- Plugin extracts the parameter (address, domain, URL, etc.)
- Calls the minia2a API with
?trial=1(free) or via x402 payment - Returns structured JSON result to the agent
Actions (12 built-in)
| Action | Price | Description |
|--------|-------|-------------|
| GET_GAS_PRICES | $0.05 | Gas prices across 6 EVM chains |
| CHECK_TOKEN_SECURITY | $0.05 | ERC-20 security audit |
| GET_CURRENT_TIME | $0.01 | Current UTC timestamp |
| DNS_LOOKUP | $0.01 | DNS record lookup |
| IP_LOOKUP | $0.01 | IP geolocation |
| GENERATE_UUID | $0.01 | Random UUID v4 |
| FEAR_GREED_INDEX | $0.01 | Crypto Fear & Greed Index |
| CRYPTO_PRICE_ORACLE | $0.01 | Multi-source price data |
| WALLET_INFO | $0.02 | EVM wallet balance & info |
| WEB_SCRAPE | $0.05 | JavaScript-rendered page scraping |
| WEB_SEARCH | $0.03 | Web search with structured results |
| SOLVE_CAPTCHA | $0.05 | reCAPTCHA/hCaptcha/Turnstile solver |
License
MIT
