xdcai
v0.1.29
Published
Pay for x402 services on XDC with USDC from your own non-custodial smart wallet, with an on-chain spending limit your agents cannot exceed. The agent never pays gas (EIP-3009).
Maintainers
Readme
xdcai
Pay for x402 services on the XDC network with USDC, from your own non-custodial smart wallet with an on-chain spending limit your agents cannot exceed - the agent never pays gas (EIP-3009).
npx xdcai login # browser login -> your own smart wallet
npx xdcai wallet nc-status # your smart-wallet address + setup status
# set a spending limit once at https://xdcai.tech/account, then:
npx xdcai call <x402-url> # auto-pays the 402 from your smart wallet, capped on-chainFund on the XDC network only (mainnet, chainId 50). The wallet is an EVM address, identical on every chain, so USDC sent on Ethereum, Polygon, or any other network will NOT arrive and may be lost.
See https://xdcai.tech/integrate. MIT licensed.
