Live contracts
#
Every user deploys an isolated WardGateVaultV2 clone via WardGateVaultFactory settling in official 6-decimal tUSD8.
| Component | Scope & purpose | Address |
|---|
Run live x402 and firewall checks against your isolated WardGate v2 smart vault and inspect every on-chain decision.
Each user deploys and owns a dedicated EIP-1167 smart vault on QDay Aevum (Chain 44005). Funds, rolling caps, payment modes, and MCP agent keys stay 100% isolated per user.
Predicted address: — · Owner: —
Runs live QDay Aevum checks against your active smart vault using a paired MCP agent bearer token.
/api/x402/trusted)Pays 0.10 tUSD8 to the attested QDay oracle (trust score —/100) and unlocks HTTP 200 telemetry.
Expected: settles in Automatic mode · holds in Manual mode/api/x402/untrusted)Targets an unattested provider (score —/100, Sybil-capped ≤ 65) for 0.10 tUSD8.
Expected: held safely in Quarantine (zero funds leave vault)Simulates an agent hijacking the recipient or inflating the payment amount ×100 above your session cap (0.10 tUSD8 base).
Expected: blocked at zero-gas preflight or held in QuarantineDispatches a direct payment inside your active 10s cooldown window to verify deterministic loop protection.
Expected: blocked by CooldownActive at zero-gas preflightStep-by-step on-chain firewall verification trace.
Fund your personal smart vault with 6-decimal tUSD8 on QDay Aevum.
Return unreserved tUSD8 liquidity directly to your owner wallet.
Enforced deterministically inside WardGateVaultV2.sol before any token transfer can occur.
Payments settle automatically when they satisfy per-tx, 24h, 7d, and 30d limits, stay within your auto-approve ceiling, and target an allowlisted or verified high-trust ERC-8004 counterparty.
Every agent payment request—regardless of counterparty trust score or allowlist status—remains pending on-chain until you explicitly approve or reject it in Quarantine.
Configure per-payment, auto-approve ceiling, daily (24h), weekly (7d), and monthly (30d) caps for any agent session key.
Pre-approve a single-use cryptographic commitment on your active vault when requirePreApprovedIntent is enabled.
Manage your vault's personal Allowlist/Denylist and inspect Sybil-hardened on-chain reputation (unattested identities cap at ≤ 65/100).
Broadcasts emergencyRevokeAll() on your active smart vault, immediately disabling every agent session key on-chain until you authorize a new session.
Pair Claude Desktop, Cursor, Windsurf, VS Code, or custom MCP agents to your personal vault. Your wallet key never leaves your extension; scoped session keys use split-secret HKDF-SHA256 + AES-256-GCM wrapping.
Streamable HTTP endpoint: /api/mcp · Revoke tokens off-chain (<50ms) or kill keys on-chain.
| Agent | Session key | Token | Status | Actions |
|---|
Connect a wallet and select a vault to view held payments.
| ID | Hold reason | Agent & context | Recipient | Score | Amount | Age | Actions |
|---|
| Block | Event | Details | Transaction |
|---|
Isolated EIP-1167 smart vaults, multi-window caps, Automatic vs. Manual modes, Sybil-hardened ERC-8004 v2 reputation, and Streamable HTTP MCP on QDay Aevum Testnet (Chain 44005).
Every user deploys an isolated WardGateVaultV2 clone via WardGateVaultFactory settling in official 6-decimal tUSD8.
| Component | Scope & purpose | Address |
|---|
Each user's EIP-1167 clone (~62k gas via Clones.cloneDeterministic) executes deterministic checks before a single unit of tUSD8 can move:
sessionKey and checks denylistedRecipients and allowlistOnly.taskId and enforces maxPerTx plus rolling 24h daily, 7d weekly, and 30d monthly limits.MANUAL_APPROVAL mode; in AUTOMATIC mode, settles instantly only within autoApproveMaxTx when counterparty trust passes.
MCP session keys hold zero tUSD8 and need zero manual tQDAY gas funding—signing domain-bound EIP-712 AgentPaymentRequest payloads relayed to your personal vault.
hkdfKey = HKDF-SHA256(mcpToken || SERVER_PEPPER, salt, vaultAddress)
SHA-256(mcpToken) and AES-256-GCM ciphertext; neither a DB dump nor server pepper alone can unwrap a session key.(txHash, logIndex, resource) tuples are atomically locked in consumed_x402_proofs.
ERC8004RegistryV2.sol gates community reviews on verified vault settlements (≥ 0.05 tUSD8, 1 active vote per owner) and caps unattested identities at ≤ 65/100 so they pause safely in Quarantine under the default 70 floor.
bayesian = (5 * 35 + verifiedScoreSum) / (5 + activeUniqueVaultVoters)
Every session enforces rolling 24h, 7d, and 30d ceilings simultaneously, reserving budget upon Quarantine entry so spam cannot lock excess liquidity, and refunding window spend when rejected.
Compatible AI agents connect to POST /api/mcp via Authorization: Bearer wg_mcp_… and invoke 6 built-in tools: wardgate_get_vault_status, wardgate_check_counterparty_trust, wardgate_fetch_x402, wardgate_request_payment, wardgate_check_payment_status, and wardgate_list_payment_history.
PAYMENT-REQUIRED header with chain, asset, amount, and merchant address.eth_call and relays the EIP-712 signature to your personal WardGateVaultV2.PaymentExecuted log and locks the proof against replay before unlocking HTTP 200.{
"mcpServers": {
"wardgate": {
"url": "https://<your-domain>/api/mcp",
"headers": { "Authorization": "Bearer wg_mcp_<your_scoped_token>" }
}
}
}
| Error | Contract | When it triggers |
|---|---|---|
SessionInactiveOrExpired |
Vault V2 | Session key is disabled, unconfigured, or past its expiry time. |
CooldownActive |
Vault V2 | A payment arrives before the cooldown window has elapsed. |
ExceedsPerTxCap |
Vault V2 | Payment amount exceeds the session's per-payment limit. |
ExceedsDailyCap / Weekly / Monthly |
Vault V2 | Payment exceeds remaining 24h, 7d, or 30d rolling allowance. |
RecipientDenylisted / NotAllowlisted |
Vault V2 | Recipient is on your vault denylist or allowlist-only mode is enabled. |
TaskAlreadyProcessed |
Vault V2 | The single-use taskId has already been consumed. |
IntentMismatch |
Vault V2 | Recipient or amount does not match a pre-approved, unused intent hash. |
InsufficientVaultBalance |
Vault V2 | Available unreserved liquidity is lower than the requested amount. |
NoVerifiedSettlement |
Registry V2 | Feedback requires at least 0.05 tUSD8 settled to the counterparty from your vault. |
SelfFeedbackNotAllowed |
Registry V2 | An identity attempts to rate its own ERC-8004 record. |