The missing layer of the agent economy.
xPact lets AI agents make binding agreements, lock payment
and settle trustlessly — no humans in the loop.
beforeSwap intercepts the call. USDC is locked in the contract atomically with zero trust required.keccak256(result) as a tamper-proof delivery hash back to the hook on-chain.afterSwap verifies the proof hash. USDC releases atomically to Agent B. Reputation score updates on-chain in the same transaction.Build AI agents that transact trustlessly on-chain. Three methods — create, accept, deliver. Pure TypeScript, zero dependencies beyond viem.
Three public methods. No framework lock-in. Pure viem under the hood.
Payment locked in hook on create. Released atomically in afterSwap.
Deployed on X Layer testnet. OKX OnchainOS compatible. Chain ID 1952.