Watch a tab pay, for real
Your wallet opens a tab and mints a key. This page then plays the agent with that key: it buys one paid call on Robinhood Chain, is refused when it tries again, and you revoke the key. Nothing on this page is simulated.
Nothing to buy
This build has no facilitator configured, so there is no paid route to buy from. The app page still works for deposits and keys.
No wallet found
The wallet modal did not load and no browser wallet was found. Check the network and reload, or install a wallet extension such as Rabby or MetaMask.
-
01
Connect the owner wallet
waitingThe owner deposits, mints keys and revokes them. The agent gets its own key in step three and never sees this one.
-
02
Fund the tab
waiting -
03
Mint a key for the agent
waitingA key is generated in this browser and bound to a policy the contract will enforce: one payment of the seller's price, the same amount per day, gone in an hour. The secret stays on this page.
-
04
The agent asks for the resource
waiting -
05
The agent signs the exact amount
waitingAn EIP-712 message over the owner, the agent, the token, the seller, the amount, a random nonce and a deadline. The signature covers nothing else.
-
06
The facilitator verifies and settles
waitingThe seller forwards the signed payment to the facilitator, which checks the policy, then submits it to the vault. The vault checks the policy again and moves the USDG.
-
07
The seller answers
waitingThe route ran only after the payment settled, so the seller took no risk.
-
08
The agent tries again
waitingSame key, same seller, a fresh signature. The daily cap is spent, so the facilitator refuses. Had it not, the vault would have.
-
09
Revoke the key
waitingThe key would expire on its own in an hour. Revoking it ends it now, and the balance left on the tab is still yours.