Run the safe judge demo
Executes the TypeScript flow locally. It verifies proofs and prepares Uniswap request shapes without submitting transactions.
npm run example:uniswap:judge-demo
Alice is an autonomous treasury agent. Bob is a Uniswap gateway agent. Bob prepares approval, quote, swap, and order work only after 0xAgentio verifies Alice's proof-backed request.
Executes the TypeScript flow locally. It verifies proofs and prepares Uniswap request shapes without submitting transactions.
npm run example:uniswap:judge-demo
Calls real Uniswap approval-check and quote endpoints. Swap and order submission remain disabled by default.
AGENTIO_UNISWAP_API_KEY=your_key \
AGENTIO_UNISWAP_RUN_LIVE_API=1 \
npm run example:uniswap:judge-demo
Alice sends Bob a proof-backed request for Uniswap approval and quote work.
Bob checks the policy hash, action type, amount, and proof public inputs.
Only after verification, Bob prepares or calls check approval and quote.
Swap and order submission remain disabled unless signatures and live flags exist.
POST /check_approval for token spend readiness.POST /quote for real route discovery.POST /swap for transaction preparation.POST /order for UniswapX order preparation.