Skip to main content

Installation

Published on npm. Used internally by the MCP server and CLI.

Configuration

Config loading priority:
  1. Environment variables (XENARCH_PRIVATE_KEY, XENARCH_RPC_URL, etc.)
  2. ~/.xenarch/config.json
  3. ~/.xenarch/wallet.json
  4. Auto-generate wallet on first use

Gate checking

Payment execution

Payment history

Types

Contract constants