Installation
Agent commands
Wallet
~/.xenarch/wallet.json with chmod 600.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
xenarch CLI — command-line tool for AI agents and publishers to manage x402 payment gates, USDC payments on Base, and pay-per-crawl pricing.
npx xenarch-cli
npm install -g xenarch
# Generate a new wallet
xenarch wallet generate
# Import an existing private key
xenarch wallet import 0xYOUR_PRIVATE_KEY
# Connect via WalletConnect (scans QR code)
xenarch wallet connect
~/.xenarch/wallet.json with chmod 600.
xenarch check https://example.com/premium
Gate found!
Price: $0.003 USDC
Network: Base
Splitter: 0xC6D3...62ae
Collector: 0xabc1...publisher
xenarch pay https://example.com/premium
# All payments
xenarch history
# Filter by domain
xenarch history --domain example.com
xenarch register
xenarch login
# List sites
xenarch sites
# Add a new site
xenarch site-add example.com
# View earnings
xenarch stats <site-id>
xenarch payout 0xYOUR_WALLET_ADDRESS