Before you start
Create a wallet, fund it with USDC on Base, and get an agent key:xa_live_ key the last command prints.
Claude Code
xenarch_check_gate, xenarch_pay, xenarch_pay_link and xenarch_get_history.
Claude Desktop
Edit your config file:- macOS
- Windows
~/.xenarch/config.json. To use a different wallet, add "XENARCH_PRIVATE_KEY": "0x..." to env.
Restart Claude Desktop.
Test it
Try these prompts:- “What is the address and USDC balance of my Xenarch wallet?”
- “Check whether https://example.com/premium-article has a Xenarch payment gate and tell me the price.”
- “Pay for https://example.com/premium-article if it costs less than $0.01, then summarize it.”
- “Show my Xenarch payment history.”
Troubleshooting
See Installation for every variable and message.