Agent Wallet
TEE-secured agent wallets on X Layer
ZenithPay's agent wallet is built using OKX Agentic Wallet (TEE).
Each agent gets its own wallet address on X Layer, with private keys kept inside the TEE (the server never handles raw keys).
OKX Agentic Wallet (TEE)
ZenithPay uses the OKX Agentic Wallet to create a real wallet for each AI agent on X Layer.
The important security property is simple: private keys stay inside the TEE. The ZenithPay API never handles raw wallet private keys.
Onboarding: POST /wallet/genesis
REST onboarding delegates wallet creation to OKX Agentic Wallet via the agent environment.
Example:
curl -X POST https://api.usezenithpay.xyz/wallet/genesis \
-H "Authorization: Bearer $ZENITHPAY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"email": "agent@yourdomain.com",
"label": "research-agent-01"
}'The response includes the agent wallet address and initial balances.
Owner-agent linking model
ZenithPay links each agent wallet to an owner EOA during onboarding/policy activation.
- owner account controls policy and approvals
- agent wallet executes autonomous payments within those limits
- dashboard data resolves by connected owner, then linked agents
Agent tools (MCP + Skill)
Wallet and payment operations are exposed to agents through MCP tools:
zenithpay_balancezenithpay_get_limitszenithpay_verify_merchantzenithpay_pay_servicezenithpay_ledger