{
  "protocol": "402mob.owner-wallet-web.v1",
  "version": "0.2.0",
  "availability": "repository_source",
  "consoleOrigin": "https://wallet.evidence.contact",
  "hosting": "static_console_only",
  "guide": "/web-wallet.md",
  "openapi": "/web-wallet.openapi.json",
  "entrypoint": "npm run runtime -- wallet web --dir PRIVATE_DIRECTORY",
  "runtime": {
    "node": ">=24",
    "platforms": [
      "linux",
      "darwin"
    ]
  },
  "network": "eip155:8453",
  "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
  "decimals": 6,
  "custody": "owner_controlled_local_signer",
  "interfaces": {
    "owner": "http://127.0.0.1:4032",
    "agent": "http://127.0.0.1:4031",
    "bind": "127.0.0.1",
    "hostedSigningApi": false
  },
  "pairing": {
    "oneUse": true,
    "expiresSeconds": 300,
    "sessionSeconds": 3600,
    "exactOriginBound": true,
    "browserTokenStorage": "memory_only"
  },
  "delegation": {
    "enforcement": "local_software",
    "movesFunds": false,
    "keySharedWithAgent": false,
    "requestIdReplay": true,
    "requiredPolicyFields": [
      "name",
      "maxTotalUSDC"
    ],
    "optionalPolicyFields": [
      "merchantId",
      "payee",
      "capability",
      "maxPerPaymentUSDC",
      "expiresAt"
    ],
    "defaults": {
      "merchant": "agent_chooses_per_task",
      "payee": "seller_payout",
      "capability": "all_supported",
      "perPayment": "remaining_allocation",
      "expiry": null
    },
    "existingRestrictionsPreserved": true,
    "walletCeilingOptional": true,
    "defaultWalletCeiling": null,
    "ownerAllocationUpdates": true,
    "updatesPreserveCredential": true,
    "scopes": [
      "merchant",
      "payee",
      "capability",
      "per_payment",
      "lifetime_total",
      "expiry"
    ],
    "capability": "text-statistics-v1",
    "capabilities": [
      "text-statistics-v1",
      "prepared-artifact-v1"
    ],
    "credentialDownload": true,
    "ownerCanRecoverWebCredentials": true,
    "revokedCredentialsRecoverable": false,
    "expiredCredentialRecovery": "existing_jobs_only",
    "credentialGateway": "loopback_default_with_explicit_cli_override",
    "revocationCancelsSignedPayments": false
  },
  "features": [
    "create_wallet",
    "receive_address",
    "usdc_balance",
    "inspect_merchant",
    "create_delegation",
    "revoke_delegation",
    "runtime_activity",
    "retry_same_job",
    "connect_browser_wallet",
    "fund_paired_wallet",
    "recover_funding_transaction",
    "update_wallet_ceiling",
    "increase_allocation",
    "agent_connection_instructions"
  ],
  "funding": "Deposit native Base USDC manually or connect a browser wallet and confirm a transfer to the paired local wallet. The sending wallet needs Base ETH for gas. Creation and delegation do not transfer tokens.",
  "browserWallet": {
    "provider": "eip1193_injected",
    "discovery": [
      "eip6963",
      "legacy_injection"
    ],
    "connectionRequiresPairing": false,
    "providerSelection": "explicit_user_choice",
    "brandAllowlist": false,
    "accountFlow": "standard_evm_transactions",
    "requiredMethods": [
      "eth_requestAccounts",
      "eth_accounts",
      "eth_chainId",
      "eth_call",
      "eth_getBalance",
      "eth_getTransactionCount",
      "eth_blockNumber",
      "eth_sendTransaction",
      "eth_getTransactionByHash",
      "eth_getTransactionReceipt"
    ],
    "optionalMethods": [
      "wallet_switchEthereumChain",
      "wallet_addEthereumChain"
    ],
    "transactionRequirements": [
      "explicit_sender_nonce",
      "transaction_hash_response"
    ],
    "networkSwitchFallback": "select_Base_in_extension_then_refresh",
    "fundingRequiresPairing": true,
    "transactionMethod": "eth_sendTransaction",
    "transferFunction": "transfer(address,uint256)",
    "recipient": "paired_local_signer_wallet",
    "accountAccessOnlyOnConnect": true,
    "eachTransferRequiresConfirmation": true,
    "agentCanSpendFromConnectedAccount": false,
    "approvalOrPrivateKeyImport": false,
    "reviewExpiresSeconds": 120,
    "fundingRecord": {
      "version": 2,
      "storage": "sessionStorage",
      "scope": "same_browser_tab",
      "secretsStored": false,
      "survivesReload": true,
      "survivesTabClose": false,
      "automaticResubmission": false,
      "confirmations": 3,
      "binding": [
        "sender",
        "recipient",
        "amount",
        "asset",
        "chain",
        "nonce",
        "starting_block"
      ],
      "replacementRecovery": "same_nonce_transfer_or_zero_value_self_cancellation",
      "legacyRecovery": "original_saved_hash_only",
      "preSubmissionRejections": [
        4001,
        4200
      ],
      "providerSpecificRejections": {
        "io.metamask": [
          -32002
        ]
      },
      "unknownOutcome": "Inspect browser wallet activity and recover the hash; keep the tab open until resolved."
    }
  },
  "notIncluded": [
    "browser_private_keys",
    "vps_custody",
    "onchain_session_keys",
    "arbitrary_transfers",
    "other_assets",
    "token_minting",
    "walletconnect_mobile_pairing",
    "direct_browser_wallet_delegation"
  ],
  "browserConnection": "The public HTTPS console connects to the owner signer on loopback. Browser localhost permission may be required; the signer also serves a same-origin local console.",
  "liveValidation": "/wallet-delegation-live-validation.json",
  "configuration": {
    "caddy": "deploy/Caddyfile",
    "hostname": "wallet.evidence.contact",
    "dns": "Point the subdomain at the web server before deploying the static console."
  }
}
