@x402janus/elizaos-plugin
v0.1.1
Published
ElizaOS plugin for x402janus wallet security scans with x402 micropayment
Maintainers
Readme
@x402janus/elizaos-plugin
ElizaOS plugin for x402janus wallet security scans. Adds SCAN_WALLET and CHECK_APPROVALS actions to your ElizaOS agent.
Install
npm install @x402janus/elizaos-pluginUsage
import { janusPlugin } from "@x402janus/elizaos-plugin";
const agent = new Agent({
plugins: [janusPlugin],
settings: {
PRIVATE_KEY: process.env.PRIVATE_KEY, // Agent wallet for x402 payments
},
});Your agent can now respond to:
- "Scan wallet 0x742d35Cc6634C0532925a3b844Bc9e7595f2bD18"
- "Is 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 safe?"
- "Check approvals for 0x..."
- "Do a deep security check on 0x..."
Actions
SCAN_WALLET
Scans a wallet for security risks. Returns risk score, findings, and pre-built revoke transactions.
Triggers: "scan wallet", "check security", "is this safe", "analyze wallet"
CHECK_APPROVALS
Lists active token approvals with risk assessment.
Triggers: "check approvals", "list approvals", "token approvals", "show allowances"
Payment
All scans pay via x402 micropayment (USDC on Base). Your agent wallet needs:
- USDC on Base ($0.01–$0.25 per scan)
- No ETH required (facilitator pays gas)
License
MIT
