Modes: own wallet, budget, burner

How much the agent may do without you, and the most you can lose in each mode.

On this page
  • Own wallet. Every transaction opens a confirm page on 127.0.0.1 showing uvsign’s own decoded summary. Nothing is signed until you approve.
  • Budget (uvsign agent-key new). The agent gets its own key and a delegation you sign with your main wallet (MetaMask Delegation Framework, EIP-7702). Budget mode upgrades your main account with EIP-7702 to MetaMask’s delegator code: a lasting change to the account. On Base an on-chain spend cap and Chainlink price floor limit it; most you can lose is about cap × (tolerance + oracle gap).
  • Burner (uvsign burner new --fund 50 USDC --expires 24h). A fresh hot key funded from your wallet that may only swap to itself through the pinned router and send back to you. Most you can lose is what you fund.

Details: docs/how-it-works.md and docs/budget-and-burner.md.

Both let the agent sign without you, with a loss cap you choose.

Budget

uvsign agent-key new [--allow-unpriced]

creates a key for the agent; fund it with a little native coin for gas. The agent asks uvmcp for limits (uvmcp_limits_build) and passes them to sign_limits. uvsign reads the limits back from the delegation (MetaMask Delegation Framework v1.3.0) and accepts one shape only: UvRouter’s swapWithAllowance, no native value, a single hop, output to you, an expiry within 90 days, a limited number of swaps. The Delegation Framework contracts are checked against pinned code hashes. You sign with your main wallet, which must be (or be upgraded with EIP-7702 to) MetaMask’s EIP7702StatelessDeleGator. The upgrade is a lasting change to your main account.

On Base every budget must carry exactly one of each UvRouter enforcer:

  • UvSpendCapEnforcer: the total the agent may sell per token, 1 to 16 tokens, each cap above zero. Each budget approval must equal its token’s cap; the page shows what is left.
  • UvPriceFloorEnforcer: each swap’s minimum output against Chainlink, tolerance at most 3%, only the pinned feeds, every traded token listed, output to you only.

The budget is your ERC-20 allowance to UvRouter. uvsign refuses if an allowance is already above the budget, and while the limits are live refuses main-wallet approvals of those tokens to UvRouter.

Most you can lose: on Base about cap × (tolerance + the gap between Chainlink and the market); on chains without the enforcers, the whole budget.

Burner

uvsign burner new --fund 50 USDC --expires 24h [--gas 0.002] [--chain 8453] [--allow-unpriced]

creates a fresh key and funds it from your main wallet; the page states the amount, the expiry and the maximum network fee. Once funding may have been sent the key is always kept. The burner may only swap through the pinned UvRouter to itself, approve UvRouter, and send funds back to its funder.

uvsign burner close returns every tracked token and the leftover native coin; uvsign burner sweep <token> returns any other token. Expired burners are closed the next time uvsign runs, and every minute while serving.

Comparison

BudgetBurner
Funds sit inyour main walleta separate hot wallet
Limits enforced bycontracts on chain, and uvsignuvsign only
ChainsBaseany chain uvmcp swaps on
Most you can loseon Base about cap × (tolerance + oracle gap)the funded amount

Pairs without Chainlink feeds are refused for both unless allowed when the key was created, and then only up to unpriced_max_usd per swap. Both keys have a per-transaction network fee cap.