快速开始

创建 profile,用 USDC 充值,然后发现并为 x402 服务付款。

创建 profile,在 Solana 或 Base 上向这些地址充值少量 USDC,然后发现并付款。

xpay init                                  # create a profile, Solana + EVM from one seed
xpay discover "short video"                # search 21k+ x402 services
xpay pay api.xona-agent.com/video/short-generation \
  --body '{"prompt":"a cat astronaut"}'    # pay an x402 endpoint and get the result

请备份你的助记词。 init 只会打印一次 24 个单词的种子,并用口令加密你的密钥。一旦丢失将无法恢复。