Prerequisites
- Node.js 18+ or Python 3.9+
- An AgentWallex API key (
awx_...) — sign up for early access - Basic understanding of blockchain transactions
Installation
Step-by-Step Integration
Initialize the client
Create an AgentWallex client with your API key. Use
sandbox for testing and production for mainnet.Fund the wallet
Send testnet tokens to your agent’s wallet address. On Base Sepolia, you can use a faucet to get test USDC.
In sandbox mode, your agent wallet is on a testnet. No real funds are at risk.
What Happens Under the Hood
- Policy Check — The policy engine validates the transaction against your agent’s rules (spending limits, address whitelist, velocity controls).
- MPC Signing — The transaction is signed using 2-of-3 threshold MPC. No single party ever holds the full key.
- Broadcast — The signed transaction is submitted to the network.
- Confirmation — AgentWallex monitors and confirms the transaction, then delivers a webhook event.
Next Steps
TypeScript SDK
Full SDK reference with all methods and types.
REST API
HTTP endpoints for custom integrations.
x402 Micropayments
Enable pay-per-API-call for your agents.
Policy Engine
Configure spending controls and security rules.