{
  "manifest_version": 3,
  "name": "Contractless Wallet",
  "version": "0.1.1",
  "description": "A local-signing Web3 wallet for Contractless.",
  "content_security_policy": {
    "extension_pages": "script-src 'self' 'wasm-unsafe-eval'; object-src 'self'"
  },
  "permissions": ["storage", "alarms", "activeTab", "clipboardWrite"],
  "host_permissions": ["https://api.contractless.dev/*"],
  "optional_host_permissions": ["https://*/"],
  "action": {
    "default_popup": "popup.html",
    "default_title": "Contractless Wallet",
    "default_icon": {
      "16": "contractless-logo-16.png",
      "32": "contractless-logo-32.png",
      "48": "contractless-logo-48.png",
      "128": "contractless-logo-128.png"
    }
  },
  "icons": {
    "16": "contractless-logo-16.png",
    "32": "contractless-logo-32.png",
    "48": "contractless-logo-48.png",
    "128": "contractless-logo-128.png"
  },
  "background": {
    "service_worker": "background.js",
    "type": "module"
  },
  "content_scripts": [
    {
      "matches": ["https://*/*", "http://localhost/*", "http://127.0.0.1/*"],
      "js": ["content.js"],
      "run_at": "document_start"
    }
  ],
  "web_accessible_resources": [
    {
      "resources": ["provider.js"],
      "matches": ["https://*/*", "http://localhost/*", "http://127.0.0.1/*"]
    }
  ]
}
