[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-metamask-setup-wagmi-metamask-connector":3,"mdc--whwpc-key":31,"related-org-metamask-setup-wagmi-metamask-connector":5630,"related-repo-metamask-setup-wagmi-metamask-connector":5791},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":21,"repoUrl":22,"updatedAt":23,"license":24,"forks":21,"topics":25,"repo":26,"sourceUrl":29,"mdContent":30},"setup-wagmi-metamask-connector","integrate MetaMask connector in wagmi apps","Set up a wagmi app with the MetaMask Connect EVM connector using @metamask\u002Fconnect-evm",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},"metamask","MetaMask","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fmetamask.png",[12,15,18],{"name":13,"slug":13,"type":14},"wagmi","tag",{"name":16,"slug":17,"type":14},"Web3","web3",{"name":19,"slug":20,"type":14},"Ethereum","ethereum",2,"https:\u002F\u002Fgithub.com\u002FMetaMask\u002Fmetamask-connect-cursor-plugin","2026-07-13T06:12:16.432949",null,[],{"repoUrl":22,"stars":21,"forks":21,"topics":27,"description":28},[],"Cursor plugin for building dApps with the MetaMask Connect SDK — skills, rules, and agents for EVM, Solana, and multichain integrations","https:\u002F\u002Fgithub.com\u002FMetaMask\u002Fmetamask-connect-cursor-plugin\u002Ftree\u002FHEAD\u002Fskills\u002Fsetup-wagmi-metamask-connector","---\nname: setup-wagmi-metamask-connector\ndescription: Set up a wagmi app with the MetaMask Connect EVM connector using @metamask\u002Fconnect-evm\n---\n\n# Set Up Wagmi with MetaMask Connect EVM Connector\n\n## When to use\n- Building a new wagmi-based dApp that needs MetaMask wallet connectivity\n- Adding the MetaMask connector to an existing wagmi config\n- Need a working wagmi + MetaMask setup with connection, chain switching, signing, and transactions\n- Integrating MetaMask via the new `@metamask\u002Fconnect-evm` SDK in a wagmi project\n\n## Workflow\n\n### Step 1: Install Dependencies\n\n```bash\nnpm install wagmi viem @tanstack\u002Freact-query\n\n# Check which @metamask\u002Fconnect-evm range wagmi's connector was built against:\nnpm info @wagmi\u002Fconnectors peerDependencies\n# ... then install a version inside that range (currently ^1.3.0):\nnpm install @metamask\u002Fconnect-evm@\"^1.3.0\"\n```\n\nThe connect-evm-backed `metaMask()` connector ships in **wagmi >= 3.6 \u002F `@wagmi\u002Fconnectors` >= 8**, which declares `@metamask\u002Fconnect-evm` as an **optional peer dependency**. Install a version that satisfies wagmi's declared peer range — do **not** install `@metamask\u002Fconnect-evm@latest` blindly: the current 2.x line does not satisfy `^1.3.0`, and pairing the connector with a major it wasn't built against produces peer warnings and undefined behavior. `@metamask\u002Fconnect-multichain` is installed transitively by `connect-evm`; you do not need to add it.\n\n### Step 2: Create Wagmi Config\n\n```typescript\nimport { createConfig, http } from 'wagmi'\nimport { mainnet, sepolia, optimism, polygon } from 'wagmi\u002Fchains'\nimport { metaMask } from 'wagmi\u002Fconnectors'\n\nexport const config = createConfig({\n  chains: [mainnet, sepolia, optimism, polygon],\n  connectors: [\n    metaMask({\n      dapp: {\n        name: 'My Dapp',\n        url: window.location.href,\n        iconUrl: 'https:\u002F\u002Fmydapp.com\u002Ficon.png',\n      },\n      debug: false,\n    }),\n  ],\n  transports: {\n    [mainnet.id]: http(),\n    [sepolia.id]: http(),\n    [optimism.id]: http(),\n    [polygon.id]: http(),\n  },\n})\n\ndeclare module 'wagmi' {\n  interface Register {\n    config: typeof config\n  }\n}\n```\n\nThe connector automatically builds `supportedNetworks` from the configured chains and their default RPC URLs. You do not need to pass RPC URLs manually.\n\n### Step 3: Set Up Providers in React\n\n```tsx\nimport { WagmiProvider } from 'wagmi'\nimport { QueryClient, QueryClientProvider } from '@tanstack\u002Freact-query'\nimport { config } from '.\u002Fwagmi'\n\nconst queryClient = new QueryClient()\n\nfunction App() {\n  return (\n    \u003CWagmiProvider config={config}>\n      \u003CQueryClientProvider client={queryClient}>\n        \u003CYourApp \u002F>\n      \u003C\u002FQueryClientProvider>\n    \u003C\u002FWagmiProvider>\n  )\n}\n```\n\n### Step 4: Connect Wallet\n\n```tsx\nimport { useConnect, useConnectors, useConnection, useDisconnect } from 'wagmi'\n\nfunction ConnectButton() {\n  const { mutate: connect, status, error } = useConnect()\n  const connectors = useConnectors()\n  const { address, chainId, status: connectionStatus } = useConnection()\n  const { disconnect } = useDisconnect()\n\n  if (connectionStatus === 'connected') {\n    return (\n      \u003Cdiv>\n        \u003Cp>Connected: {address}\u003C\u002Fp>\n        \u003Cp>Chain: {chainId}\u003C\u002Fp>\n        \u003Cbutton onClick={() => disconnect()}>Disconnect\u003C\u002Fbutton>\n      \u003C\u002Fdiv>\n    )\n  }\n\n  return (\n    \u003Cdiv>\n      {connectors.map((connector) => (\n        \u003Cbutton\n          key={connector.uid}\n          onClick={() => connect({ connector })}\n        >\n          {connector.name}\n        \u003C\u002Fbutton>\n      ))}\n      {status === 'pending' && \u003Cp>Connecting...\u003C\u002Fp>}\n      {error && \u003Cp>Error: {error.message}\u003C\u002Fp>}\n    \u003C\u002Fdiv>\n  )\n}\n```\n\n### Step 5: Switch Chains\n\n```tsx\nimport { useSwitchChain, useChains, useChainId } from 'wagmi'\n\nfunction ChainSwitcher() {\n  const chainId = useChainId()\n  const chains = useChains()\n  const { switchChain, error } = useSwitchChain()\n\n  return (\n    \u003Cdiv>\n      {chains.map((chain) => (\n        \u003Cbutton\n          key={chain.id}\n          disabled={chainId === chain.id}\n          onClick={() => switchChain({ chainId: chain.id })}\n        >\n          {chain.name}\n        \u003C\u002Fbutton>\n      ))}\n      {error && \u003Cp>{error.message}\u003C\u002Fp>}\n    \u003C\u002Fdiv>\n  )\n}\n```\n\n### Step 6: Sign Messages\n\n```tsx\nimport { useSignMessage } from 'wagmi'\n\nfunction SignMessage() {\n  const { data, signMessage, error, isPending } = useSignMessage()\n\n  return (\n    \u003Cdiv>\n      \u003Cbutton\n        disabled={isPending}\n        onClick={() => signMessage({ message: 'Hello from my dapp!' })}\n      >\n        Sign Message\n      \u003C\u002Fbutton>\n      {data && \u003Cp>Signature: {data}\u003C\u002Fp>}\n      {error && \u003Cp>Error: {error.message}\u003C\u002Fp>}\n    \u003C\u002Fdiv>\n  )\n}\n```\n\n### Step 7: Send Transactions\n\n```tsx\nimport { useSendTransaction, useWaitForTransactionReceipt } from 'wagmi'\nimport { parseEther } from 'viem'\n\nfunction SendTransaction() {\n  const { data: hash, sendTransaction, isPending, error } = useSendTransaction()\n  const { isLoading: isConfirming, isSuccess } = useWaitForTransactionReceipt({ hash })\n\n  return (\n    \u003Cdiv>\n      \u003Cbutton\n        disabled={isPending}\n        onClick={() =>\n          sendTransaction({\n            to: '0xRecipientAddress',\n            value: parseEther('0.01'),\n          })\n        }\n      >\n        {isPending ? 'Sending...' : 'Send 0.01 ETH'}\n      \u003C\u002Fbutton>\n      {isConfirming && \u003Cp>Confirming...\u003C\u002Fp>}\n      {isSuccess && \u003Cp>Confirmed! Hash: {hash}\u003C\u002Fp>}\n      {error && \u003Cp>Error: {error.message}\u003C\u002Fp>}\n    \u003C\u002Fdiv>\n  )\n}\n```\n\n### Step 8: Connect and Sign (Optional)\n\nUse `connectAndSign` to prompt the user to connect and sign a message in a single flow:\n\n```typescript\nmetaMask({\n  dapp: { name: 'My Dapp' },\n  connectAndSign: 'By signing this message, you agree to our Terms of Service.',\n})\n```\n\nThe signed message is emitted on the provider as a `'connectAndSign'` event:\n\n```typescript\nconst connector = config.connectors[0]\nconst provider = await connector.getProvider()\nprovider.on('connectAndSign', ({ accounts, chainId, signature }) => {\n  console.log('Connected accounts:', accounts)\n  console.log('Chain ID:', chainId)  \u002F\u002F hex string e.g. '0x1'\n  console.log('Signature:', signature)\n})\n```\n\n### Step 9: ConnectWith (Optional)\n\nUse `connectWith` to connect and execute an RPC method in a single flow:\n\n```typescript\nmetaMask({\n  dapp: { name: 'My Dapp' },\n  connectWith: {\n    method: 'eth_signTypedData_v4',\n    params: [address, JSON.stringify(typedData)],\n  },\n})\n```\n\n## MetaMask Connector Parameters Reference\n\n```typescript\ntype MetaMaskParameters = {\n  dapp?: {\n    name: string\n    url?: string\n    iconUrl?: string\n  }\n  debug?: boolean\n  mobile?: {\n    preferredOpenLink?: (deeplink: string, target?: string) => void\n    useDeeplink?: boolean\n  }\n  ui?: {\n    headless?: boolean\n    preferExtension?: boolean\n    showInstallModal?: boolean\n  }\n  \u002F\u002F One of:\n  connectAndSign?: string\n  \u002F\u002F OR\n  connectWith?: { method: string; params: unknown[] }\n\n  \u002F\u002F Deprecated (still functional):\n  dappMetadata?: { name: string; url?: string }  \u002F\u002F use dapp instead\n  logging?: unknown                                \u002F\u002F use debug instead\n}\n```\n\n## React Native Setup\n\nFor React Native apps using wagmi with MetaMask:\n\n```typescript\nimport { Linking } from 'react-native'\nimport { metaMask } from 'wagmi\u002Fconnectors'\n\nmetaMask({\n  dapp: {\n    name: 'My RN App',\n    url: 'https:\u002F\u002Fmyapp.com',\n  },\n  mobile: {\n    preferredOpenLink: (link) => Linking.openURL(link),\n    useDeeplink: true,\n  },\n})\n```\n\nEnsure React Native polyfills are set up per the `react-native-polyfills` rule.\n\n## Important Notes\n- The connector ID is `'metaMaskSDK'` and the display name is `'MetaMask'`\n- The connector RDNS is `['io.metamask', 'io.metamask.mobile']`\n- `@metamask\u002Fconnect-evm` is an optional peer dependency of `@wagmi\u002Fconnectors` — only needed when you use the `metaMask()` connector, and the installed version must satisfy wagmi's declared peer range (currently `^1.3.0`), not \"latest\"\n- The `supportedNetworks` map is auto-built from wagmi chain config — no manual RPC URL configuration needed\n- If no `dapp` config is provided, defaults to `{ name: window.location.hostname, url: window.location.href }` in browsers\n- `useAccount()` is deprecated in favor of `useConnection()` — both work but prefer the new name\n- `useSwitchAccount()` is deprecated in favor of `useSwitchConnection()` — both work but prefer the new name\n- Transport selection is automatic: uses MetaMask extension (postMessage) when available, otherwise MWP (WebSocket relay + QR\u002Fdeeplinks)\n- Error code `4001` = user rejected, `-32002` = request already pending — handle both explicitly\n",{"data":32,"body":33},{"name":4,"description":6},{"type":34,"children":35},"root",[36,45,52,86,92,99,227,309,315,1097,1110,1116,1452,1458,2374,2380,2906,2912,3340,3346,4040,4046,4059,4164,4177,4490,4496,4508,4676,4682,5153,5159,5164,5446,5459,5465,5624],{"type":37,"tag":38,"props":39,"children":41},"element","h1",{"id":40},"set-up-wagmi-with-metamask-connect-evm-connector",[42],{"type":43,"value":44},"text","Set Up Wagmi with MetaMask Connect EVM Connector",{"type":37,"tag":46,"props":47,"children":49},"h2",{"id":48},"when-to-use",[50],{"type":43,"value":51},"When to use",{"type":37,"tag":53,"props":54,"children":55},"ul",{},[56,62,67,72],{"type":37,"tag":57,"props":58,"children":59},"li",{},[60],{"type":43,"value":61},"Building a new wagmi-based dApp that needs MetaMask wallet connectivity",{"type":37,"tag":57,"props":63,"children":64},{},[65],{"type":43,"value":66},"Adding the MetaMask connector to an existing wagmi config",{"type":37,"tag":57,"props":68,"children":69},{},[70],{"type":43,"value":71},"Need a working wagmi + MetaMask setup with connection, chain switching, signing, and transactions",{"type":37,"tag":57,"props":73,"children":74},{},[75,77,84],{"type":43,"value":76},"Integrating MetaMask via the new ",{"type":37,"tag":78,"props":79,"children":81},"code",{"className":80},[],[82],{"type":43,"value":83},"@metamask\u002Fconnect-evm",{"type":43,"value":85}," SDK in a wagmi project",{"type":37,"tag":46,"props":87,"children":89},{"id":88},"workflow",[90],{"type":43,"value":91},"Workflow",{"type":37,"tag":93,"props":94,"children":96},"h3",{"id":95},"step-1-install-dependencies",[97],{"type":43,"value":98},"Step 1: Install Dependencies",{"type":37,"tag":100,"props":101,"children":106},"pre",{"className":102,"code":103,"language":104,"meta":105,"style":105},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","npm install wagmi viem @tanstack\u002Freact-query\n\n# Check which @metamask\u002Fconnect-evm range wagmi's connector was built against:\nnpm info @wagmi\u002Fconnectors peerDependencies\n# ... then install a version inside that range (currently ^1.3.0):\nnpm install @metamask\u002Fconnect-evm@\"^1.3.0\"\n","bash","",[107],{"type":37,"tag":78,"props":108,"children":109},{"__ignoreMap":105},[110,143,152,162,185,194],{"type":37,"tag":111,"props":112,"children":115},"span",{"class":113,"line":114},"line",1,[116,122,128,133,138],{"type":37,"tag":111,"props":117,"children":119},{"style":118},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[120],{"type":43,"value":121},"npm",{"type":37,"tag":111,"props":123,"children":125},{"style":124},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[126],{"type":43,"value":127}," install",{"type":37,"tag":111,"props":129,"children":130},{"style":124},[131],{"type":43,"value":132}," wagmi",{"type":37,"tag":111,"props":134,"children":135},{"style":124},[136],{"type":43,"value":137}," viem",{"type":37,"tag":111,"props":139,"children":140},{"style":124},[141],{"type":43,"value":142}," @tanstack\u002Freact-query\n",{"type":37,"tag":111,"props":144,"children":145},{"class":113,"line":21},[146],{"type":37,"tag":111,"props":147,"children":149},{"emptyLinePlaceholder":148},true,[150],{"type":43,"value":151},"\n",{"type":37,"tag":111,"props":153,"children":155},{"class":113,"line":154},3,[156],{"type":37,"tag":111,"props":157,"children":159},{"style":158},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[160],{"type":43,"value":161},"# Check which @metamask\u002Fconnect-evm range wagmi's connector was built against:\n",{"type":37,"tag":111,"props":163,"children":165},{"class":113,"line":164},4,[166,170,175,180],{"type":37,"tag":111,"props":167,"children":168},{"style":118},[169],{"type":43,"value":121},{"type":37,"tag":111,"props":171,"children":172},{"style":124},[173],{"type":43,"value":174}," info",{"type":37,"tag":111,"props":176,"children":177},{"style":124},[178],{"type":43,"value":179}," @wagmi\u002Fconnectors",{"type":37,"tag":111,"props":181,"children":182},{"style":124},[183],{"type":43,"value":184}," peerDependencies\n",{"type":37,"tag":111,"props":186,"children":188},{"class":113,"line":187},5,[189],{"type":37,"tag":111,"props":190,"children":191},{"style":158},[192],{"type":43,"value":193},"# ... then install a version inside that range (currently ^1.3.0):\n",{"type":37,"tag":111,"props":195,"children":197},{"class":113,"line":196},6,[198,202,206,211,217,222],{"type":37,"tag":111,"props":199,"children":200},{"style":118},[201],{"type":43,"value":121},{"type":37,"tag":111,"props":203,"children":204},{"style":124},[205],{"type":43,"value":127},{"type":37,"tag":111,"props":207,"children":208},{"style":124},[209],{"type":43,"value":210}," @metamask\u002Fconnect-evm@",{"type":37,"tag":111,"props":212,"children":214},{"style":213},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[215],{"type":43,"value":216},"\"",{"type":37,"tag":111,"props":218,"children":219},{"style":124},[220],{"type":43,"value":221},"^1.3.0",{"type":37,"tag":111,"props":223,"children":224},{"style":213},[225],{"type":43,"value":226},"\"\n",{"type":37,"tag":228,"props":229,"children":230},"p",{},[231,233,239,241,255,257,262,264,269,271,276,278,284,286,291,293,299,301,307],{"type":43,"value":232},"The connect-evm-backed ",{"type":37,"tag":78,"props":234,"children":236},{"className":235},[],[237],{"type":43,"value":238},"metaMask()",{"type":43,"value":240}," connector ships in ",{"type":37,"tag":242,"props":243,"children":244},"strong",{},[245,247,253],{"type":43,"value":246},"wagmi >= 3.6 \u002F ",{"type":37,"tag":78,"props":248,"children":250},{"className":249},[],[251],{"type":43,"value":252},"@wagmi\u002Fconnectors",{"type":43,"value":254}," >= 8",{"type":43,"value":256},", which declares ",{"type":37,"tag":78,"props":258,"children":260},{"className":259},[],[261],{"type":43,"value":83},{"type":43,"value":263}," as an ",{"type":37,"tag":242,"props":265,"children":266},{},[267],{"type":43,"value":268},"optional peer dependency",{"type":43,"value":270},". Install a version that satisfies wagmi's declared peer range — do ",{"type":37,"tag":242,"props":272,"children":273},{},[274],{"type":43,"value":275},"not",{"type":43,"value":277}," install ",{"type":37,"tag":78,"props":279,"children":281},{"className":280},[],[282],{"type":43,"value":283},"@metamask\u002Fconnect-evm@latest",{"type":43,"value":285}," blindly: the current 2.x line does not satisfy ",{"type":37,"tag":78,"props":287,"children":289},{"className":288},[],[290],{"type":43,"value":221},{"type":43,"value":292},", and pairing the connector with a major it wasn't built against produces peer warnings and undefined behavior. ",{"type":37,"tag":78,"props":294,"children":296},{"className":295},[],[297],{"type":43,"value":298},"@metamask\u002Fconnect-multichain",{"type":43,"value":300}," is installed transitively by ",{"type":37,"tag":78,"props":302,"children":304},{"className":303},[],[305],{"type":43,"value":306},"connect-evm",{"type":43,"value":308},"; you do not need to add it.",{"type":37,"tag":93,"props":310,"children":312},{"id":311},"step-2-create-wagmi-config",[313],{"type":43,"value":314},"Step 2: Create Wagmi Config",{"type":37,"tag":100,"props":316,"children":320},{"className":317,"code":318,"language":319,"meta":105,"style":105},"language-typescript shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { createConfig, http } from 'wagmi'\nimport { mainnet, sepolia, optimism, polygon } from 'wagmi\u002Fchains'\nimport { metaMask } from 'wagmi\u002Fconnectors'\n\nexport const config = createConfig({\n  chains: [mainnet, sepolia, optimism, polygon],\n  connectors: [\n    metaMask({\n      dapp: {\n        name: 'My Dapp',\n        url: window.location.href,\n        iconUrl: 'https:\u002F\u002Fmydapp.com\u002Ficon.png',\n      },\n      debug: false,\n    }),\n  ],\n  transports: {\n    [mainnet.id]: http(),\n    [sepolia.id]: http(),\n    [optimism.id]: http(),\n    [polygon.id]: http(),\n  },\n})\n\ndeclare module 'wagmi' {\n  interface Register {\n    config: typeof config\n  }\n}\n","typescript",[321],{"type":37,"tag":78,"props":322,"children":323},{"__ignoreMap":105},[324,378,442,479,486,525,574,592,609,627,658,699,729,738,761,779,792,809,854,895,936,977,986,1000,1008,1038,1056,1079,1088],{"type":37,"tag":111,"props":325,"children":326},{"class":113,"line":114},[327,333,338,344,349,354,359,364,369,373],{"type":37,"tag":111,"props":328,"children":330},{"style":329},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[331],{"type":43,"value":332},"import",{"type":37,"tag":111,"props":334,"children":335},{"style":213},[336],{"type":43,"value":337}," {",{"type":37,"tag":111,"props":339,"children":341},{"style":340},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[342],{"type":43,"value":343}," createConfig",{"type":37,"tag":111,"props":345,"children":346},{"style":213},[347],{"type":43,"value":348},",",{"type":37,"tag":111,"props":350,"children":351},{"style":340},[352],{"type":43,"value":353}," http",{"type":37,"tag":111,"props":355,"children":356},{"style":213},[357],{"type":43,"value":358}," }",{"type":37,"tag":111,"props":360,"children":361},{"style":329},[362],{"type":43,"value":363}," from",{"type":37,"tag":111,"props":365,"children":366},{"style":213},[367],{"type":43,"value":368}," '",{"type":37,"tag":111,"props":370,"children":371},{"style":124},[372],{"type":43,"value":13},{"type":37,"tag":111,"props":374,"children":375},{"style":213},[376],{"type":43,"value":377},"'\n",{"type":37,"tag":111,"props":379,"children":380},{"class":113,"line":21},[381,385,389,394,398,403,407,412,416,421,425,429,433,438],{"type":37,"tag":111,"props":382,"children":383},{"style":329},[384],{"type":43,"value":332},{"type":37,"tag":111,"props":386,"children":387},{"style":213},[388],{"type":43,"value":337},{"type":37,"tag":111,"props":390,"children":391},{"style":340},[392],{"type":43,"value":393}," mainnet",{"type":37,"tag":111,"props":395,"children":396},{"style":213},[397],{"type":43,"value":348},{"type":37,"tag":111,"props":399,"children":400},{"style":340},[401],{"type":43,"value":402}," sepolia",{"type":37,"tag":111,"props":404,"children":405},{"style":213},[406],{"type":43,"value":348},{"type":37,"tag":111,"props":408,"children":409},{"style":340},[410],{"type":43,"value":411}," optimism",{"type":37,"tag":111,"props":413,"children":414},{"style":213},[415],{"type":43,"value":348},{"type":37,"tag":111,"props":417,"children":418},{"style":340},[419],{"type":43,"value":420}," polygon",{"type":37,"tag":111,"props":422,"children":423},{"style":213},[424],{"type":43,"value":358},{"type":37,"tag":111,"props":426,"children":427},{"style":329},[428],{"type":43,"value":363},{"type":37,"tag":111,"props":430,"children":431},{"style":213},[432],{"type":43,"value":368},{"type":37,"tag":111,"props":434,"children":435},{"style":124},[436],{"type":43,"value":437},"wagmi\u002Fchains",{"type":37,"tag":111,"props":439,"children":440},{"style":213},[441],{"type":43,"value":377},{"type":37,"tag":111,"props":443,"children":444},{"class":113,"line":154},[445,449,453,458,462,466,470,475],{"type":37,"tag":111,"props":446,"children":447},{"style":329},[448],{"type":43,"value":332},{"type":37,"tag":111,"props":450,"children":451},{"style":213},[452],{"type":43,"value":337},{"type":37,"tag":111,"props":454,"children":455},{"style":340},[456],{"type":43,"value":457}," metaMask",{"type":37,"tag":111,"props":459,"children":460},{"style":213},[461],{"type":43,"value":358},{"type":37,"tag":111,"props":463,"children":464},{"style":329},[465],{"type":43,"value":363},{"type":37,"tag":111,"props":467,"children":468},{"style":213},[469],{"type":43,"value":368},{"type":37,"tag":111,"props":471,"children":472},{"style":124},[473],{"type":43,"value":474},"wagmi\u002Fconnectors",{"type":37,"tag":111,"props":476,"children":477},{"style":213},[478],{"type":43,"value":377},{"type":37,"tag":111,"props":480,"children":481},{"class":113,"line":164},[482],{"type":37,"tag":111,"props":483,"children":484},{"emptyLinePlaceholder":148},[485],{"type":43,"value":151},{"type":37,"tag":111,"props":487,"children":488},{"class":113,"line":187},[489,494,500,505,510,515,520],{"type":37,"tag":111,"props":490,"children":491},{"style":329},[492],{"type":43,"value":493},"export",{"type":37,"tag":111,"props":495,"children":497},{"style":496},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[498],{"type":43,"value":499}," const",{"type":37,"tag":111,"props":501,"children":502},{"style":340},[503],{"type":43,"value":504}," config ",{"type":37,"tag":111,"props":506,"children":507},{"style":213},[508],{"type":43,"value":509},"=",{"type":37,"tag":111,"props":511,"children":513},{"style":512},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[514],{"type":43,"value":343},{"type":37,"tag":111,"props":516,"children":517},{"style":340},[518],{"type":43,"value":519},"(",{"type":37,"tag":111,"props":521,"children":522},{"style":213},[523],{"type":43,"value":524},"{\n",{"type":37,"tag":111,"props":526,"children":527},{"class":113,"line":196},[528,534,539,544,548,552,556,560,564,569],{"type":37,"tag":111,"props":529,"children":531},{"style":530},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[532],{"type":43,"value":533},"  chains",{"type":37,"tag":111,"props":535,"children":536},{"style":213},[537],{"type":43,"value":538},":",{"type":37,"tag":111,"props":540,"children":541},{"style":340},[542],{"type":43,"value":543}," [mainnet",{"type":37,"tag":111,"props":545,"children":546},{"style":213},[547],{"type":43,"value":348},{"type":37,"tag":111,"props":549,"children":550},{"style":340},[551],{"type":43,"value":402},{"type":37,"tag":111,"props":553,"children":554},{"style":213},[555],{"type":43,"value":348},{"type":37,"tag":111,"props":557,"children":558},{"style":340},[559],{"type":43,"value":411},{"type":37,"tag":111,"props":561,"children":562},{"style":213},[563],{"type":43,"value":348},{"type":37,"tag":111,"props":565,"children":566},{"style":340},[567],{"type":43,"value":568}," polygon]",{"type":37,"tag":111,"props":570,"children":571},{"style":213},[572],{"type":43,"value":573},",\n",{"type":37,"tag":111,"props":575,"children":577},{"class":113,"line":576},7,[578,583,587],{"type":37,"tag":111,"props":579,"children":580},{"style":530},[581],{"type":43,"value":582},"  connectors",{"type":37,"tag":111,"props":584,"children":585},{"style":213},[586],{"type":43,"value":538},{"type":37,"tag":111,"props":588,"children":589},{"style":340},[590],{"type":43,"value":591}," [\n",{"type":37,"tag":111,"props":593,"children":595},{"class":113,"line":594},8,[596,601,605],{"type":37,"tag":111,"props":597,"children":598},{"style":512},[599],{"type":43,"value":600},"    metaMask",{"type":37,"tag":111,"props":602,"children":603},{"style":340},[604],{"type":43,"value":519},{"type":37,"tag":111,"props":606,"children":607},{"style":213},[608],{"type":43,"value":524},{"type":37,"tag":111,"props":610,"children":612},{"class":113,"line":611},9,[613,618,622],{"type":37,"tag":111,"props":614,"children":615},{"style":530},[616],{"type":43,"value":617},"      dapp",{"type":37,"tag":111,"props":619,"children":620},{"style":213},[621],{"type":43,"value":538},{"type":37,"tag":111,"props":623,"children":624},{"style":213},[625],{"type":43,"value":626}," {\n",{"type":37,"tag":111,"props":628,"children":630},{"class":113,"line":629},10,[631,636,640,644,649,654],{"type":37,"tag":111,"props":632,"children":633},{"style":530},[634],{"type":43,"value":635},"        name",{"type":37,"tag":111,"props":637,"children":638},{"style":213},[639],{"type":43,"value":538},{"type":37,"tag":111,"props":641,"children":642},{"style":213},[643],{"type":43,"value":368},{"type":37,"tag":111,"props":645,"children":646},{"style":124},[647],{"type":43,"value":648},"My Dapp",{"type":37,"tag":111,"props":650,"children":651},{"style":213},[652],{"type":43,"value":653},"'",{"type":37,"tag":111,"props":655,"children":656},{"style":213},[657],{"type":43,"value":573},{"type":37,"tag":111,"props":659,"children":661},{"class":113,"line":660},11,[662,667,671,676,681,686,690,695],{"type":37,"tag":111,"props":663,"children":664},{"style":530},[665],{"type":43,"value":666},"        url",{"type":37,"tag":111,"props":668,"children":669},{"style":213},[670],{"type":43,"value":538},{"type":37,"tag":111,"props":672,"children":673},{"style":340},[674],{"type":43,"value":675}," window",{"type":37,"tag":111,"props":677,"children":678},{"style":213},[679],{"type":43,"value":680},".",{"type":37,"tag":111,"props":682,"children":683},{"style":340},[684],{"type":43,"value":685},"location",{"type":37,"tag":111,"props":687,"children":688},{"style":213},[689],{"type":43,"value":680},{"type":37,"tag":111,"props":691,"children":692},{"style":340},[693],{"type":43,"value":694},"href",{"type":37,"tag":111,"props":696,"children":697},{"style":213},[698],{"type":43,"value":573},{"type":37,"tag":111,"props":700,"children":702},{"class":113,"line":701},12,[703,708,712,716,721,725],{"type":37,"tag":111,"props":704,"children":705},{"style":530},[706],{"type":43,"value":707},"        iconUrl",{"type":37,"tag":111,"props":709,"children":710},{"style":213},[711],{"type":43,"value":538},{"type":37,"tag":111,"props":713,"children":714},{"style":213},[715],{"type":43,"value":368},{"type":37,"tag":111,"props":717,"children":718},{"style":124},[719],{"type":43,"value":720},"https:\u002F\u002Fmydapp.com\u002Ficon.png",{"type":37,"tag":111,"props":722,"children":723},{"style":213},[724],{"type":43,"value":653},{"type":37,"tag":111,"props":726,"children":727},{"style":213},[728],{"type":43,"value":573},{"type":37,"tag":111,"props":730,"children":732},{"class":113,"line":731},13,[733],{"type":37,"tag":111,"props":734,"children":735},{"style":213},[736],{"type":43,"value":737},"      },\n",{"type":37,"tag":111,"props":739,"children":741},{"class":113,"line":740},14,[742,747,751,757],{"type":37,"tag":111,"props":743,"children":744},{"style":530},[745],{"type":43,"value":746},"      debug",{"type":37,"tag":111,"props":748,"children":749},{"style":213},[750],{"type":43,"value":538},{"type":37,"tag":111,"props":752,"children":754},{"style":753},"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC",[755],{"type":43,"value":756}," false",{"type":37,"tag":111,"props":758,"children":759},{"style":213},[760],{"type":43,"value":573},{"type":37,"tag":111,"props":762,"children":764},{"class":113,"line":763},15,[765,770,775],{"type":37,"tag":111,"props":766,"children":767},{"style":213},[768],{"type":43,"value":769},"    }",{"type":37,"tag":111,"props":771,"children":772},{"style":340},[773],{"type":43,"value":774},")",{"type":37,"tag":111,"props":776,"children":777},{"style":213},[778],{"type":43,"value":573},{"type":37,"tag":111,"props":780,"children":782},{"class":113,"line":781},16,[783,788],{"type":37,"tag":111,"props":784,"children":785},{"style":340},[786],{"type":43,"value":787},"  ]",{"type":37,"tag":111,"props":789,"children":790},{"style":213},[791],{"type":43,"value":573},{"type":37,"tag":111,"props":793,"children":795},{"class":113,"line":794},17,[796,801,805],{"type":37,"tag":111,"props":797,"children":798},{"style":530},[799],{"type":43,"value":800},"  transports",{"type":37,"tag":111,"props":802,"children":803},{"style":213},[804],{"type":43,"value":538},{"type":37,"tag":111,"props":806,"children":807},{"style":213},[808],{"type":43,"value":626},{"type":37,"tag":111,"props":810,"children":812},{"class":113,"line":811},18,[813,818,823,827,832,837,841,845,850],{"type":37,"tag":111,"props":814,"children":815},{"style":530},[816],{"type":43,"value":817},"    [",{"type":37,"tag":111,"props":819,"children":820},{"style":340},[821],{"type":43,"value":822},"mainnet",{"type":37,"tag":111,"props":824,"children":825},{"style":213},[826],{"type":43,"value":680},{"type":37,"tag":111,"props":828,"children":829},{"style":340},[830],{"type":43,"value":831},"id",{"type":37,"tag":111,"props":833,"children":834},{"style":530},[835],{"type":43,"value":836},"]",{"type":37,"tag":111,"props":838,"children":839},{"style":213},[840],{"type":43,"value":538},{"type":37,"tag":111,"props":842,"children":843},{"style":512},[844],{"type":43,"value":353},{"type":37,"tag":111,"props":846,"children":847},{"style":340},[848],{"type":43,"value":849},"()",{"type":37,"tag":111,"props":851,"children":852},{"style":213},[853],{"type":43,"value":573},{"type":37,"tag":111,"props":855,"children":857},{"class":113,"line":856},19,[858,862,867,871,875,879,883,887,891],{"type":37,"tag":111,"props":859,"children":860},{"style":530},[861],{"type":43,"value":817},{"type":37,"tag":111,"props":863,"children":864},{"style":340},[865],{"type":43,"value":866},"sepolia",{"type":37,"tag":111,"props":868,"children":869},{"style":213},[870],{"type":43,"value":680},{"type":37,"tag":111,"props":872,"children":873},{"style":340},[874],{"type":43,"value":831},{"type":37,"tag":111,"props":876,"children":877},{"style":530},[878],{"type":43,"value":836},{"type":37,"tag":111,"props":880,"children":881},{"style":213},[882],{"type":43,"value":538},{"type":37,"tag":111,"props":884,"children":885},{"style":512},[886],{"type":43,"value":353},{"type":37,"tag":111,"props":888,"children":889},{"style":340},[890],{"type":43,"value":849},{"type":37,"tag":111,"props":892,"children":893},{"style":213},[894],{"type":43,"value":573},{"type":37,"tag":111,"props":896,"children":898},{"class":113,"line":897},20,[899,903,908,912,916,920,924,928,932],{"type":37,"tag":111,"props":900,"children":901},{"style":530},[902],{"type":43,"value":817},{"type":37,"tag":111,"props":904,"children":905},{"style":340},[906],{"type":43,"value":907},"optimism",{"type":37,"tag":111,"props":909,"children":910},{"style":213},[911],{"type":43,"value":680},{"type":37,"tag":111,"props":913,"children":914},{"style":340},[915],{"type":43,"value":831},{"type":37,"tag":111,"props":917,"children":918},{"style":530},[919],{"type":43,"value":836},{"type":37,"tag":111,"props":921,"children":922},{"style":213},[923],{"type":43,"value":538},{"type":37,"tag":111,"props":925,"children":926},{"style":512},[927],{"type":43,"value":353},{"type":37,"tag":111,"props":929,"children":930},{"style":340},[931],{"type":43,"value":849},{"type":37,"tag":111,"props":933,"children":934},{"style":213},[935],{"type":43,"value":573},{"type":37,"tag":111,"props":937,"children":939},{"class":113,"line":938},21,[940,944,949,953,957,961,965,969,973],{"type":37,"tag":111,"props":941,"children":942},{"style":530},[943],{"type":43,"value":817},{"type":37,"tag":111,"props":945,"children":946},{"style":340},[947],{"type":43,"value":948},"polygon",{"type":37,"tag":111,"props":950,"children":951},{"style":213},[952],{"type":43,"value":680},{"type":37,"tag":111,"props":954,"children":955},{"style":340},[956],{"type":43,"value":831},{"type":37,"tag":111,"props":958,"children":959},{"style":530},[960],{"type":43,"value":836},{"type":37,"tag":111,"props":962,"children":963},{"style":213},[964],{"type":43,"value":538},{"type":37,"tag":111,"props":966,"children":967},{"style":512},[968],{"type":43,"value":353},{"type":37,"tag":111,"props":970,"children":971},{"style":340},[972],{"type":43,"value":849},{"type":37,"tag":111,"props":974,"children":975},{"style":213},[976],{"type":43,"value":573},{"type":37,"tag":111,"props":978,"children":980},{"class":113,"line":979},22,[981],{"type":37,"tag":111,"props":982,"children":983},{"style":213},[984],{"type":43,"value":985},"  },\n",{"type":37,"tag":111,"props":987,"children":989},{"class":113,"line":988},23,[990,995],{"type":37,"tag":111,"props":991,"children":992},{"style":213},[993],{"type":43,"value":994},"}",{"type":37,"tag":111,"props":996,"children":997},{"style":340},[998],{"type":43,"value":999},")\n",{"type":37,"tag":111,"props":1001,"children":1003},{"class":113,"line":1002},24,[1004],{"type":37,"tag":111,"props":1005,"children":1006},{"emptyLinePlaceholder":148},[1007],{"type":43,"value":151},{"type":37,"tag":111,"props":1009,"children":1011},{"class":113,"line":1010},25,[1012,1017,1022,1026,1030,1034],{"type":37,"tag":111,"props":1013,"children":1014},{"style":496},[1015],{"type":43,"value":1016},"declare",{"type":37,"tag":111,"props":1018,"children":1019},{"style":496},[1020],{"type":43,"value":1021}," module",{"type":37,"tag":111,"props":1023,"children":1024},{"style":213},[1025],{"type":43,"value":368},{"type":37,"tag":111,"props":1027,"children":1028},{"style":124},[1029],{"type":43,"value":13},{"type":37,"tag":111,"props":1031,"children":1032},{"style":213},[1033],{"type":43,"value":653},{"type":37,"tag":111,"props":1035,"children":1036},{"style":213},[1037],{"type":43,"value":626},{"type":37,"tag":111,"props":1039,"children":1041},{"class":113,"line":1040},26,[1042,1047,1052],{"type":37,"tag":111,"props":1043,"children":1044},{"style":496},[1045],{"type":43,"value":1046},"  interface",{"type":37,"tag":111,"props":1048,"children":1049},{"style":118},[1050],{"type":43,"value":1051}," Register",{"type":37,"tag":111,"props":1053,"children":1054},{"style":213},[1055],{"type":43,"value":626},{"type":37,"tag":111,"props":1057,"children":1059},{"class":113,"line":1058},27,[1060,1065,1069,1074],{"type":37,"tag":111,"props":1061,"children":1062},{"style":530},[1063],{"type":43,"value":1064},"    config",{"type":37,"tag":111,"props":1066,"children":1067},{"style":213},[1068],{"type":43,"value":538},{"type":37,"tag":111,"props":1070,"children":1071},{"style":213},[1072],{"type":43,"value":1073}," typeof",{"type":37,"tag":111,"props":1075,"children":1076},{"style":340},[1077],{"type":43,"value":1078}," config\n",{"type":37,"tag":111,"props":1080,"children":1082},{"class":113,"line":1081},28,[1083],{"type":37,"tag":111,"props":1084,"children":1085},{"style":213},[1086],{"type":43,"value":1087},"  }\n",{"type":37,"tag":111,"props":1089,"children":1091},{"class":113,"line":1090},29,[1092],{"type":37,"tag":111,"props":1093,"children":1094},{"style":213},[1095],{"type":43,"value":1096},"}\n",{"type":37,"tag":228,"props":1098,"children":1099},{},[1100,1102,1108],{"type":43,"value":1101},"The connector automatically builds ",{"type":37,"tag":78,"props":1103,"children":1105},{"className":1104},[],[1106],{"type":43,"value":1107},"supportedNetworks",{"type":43,"value":1109}," from the configured chains and their default RPC URLs. You do not need to pass RPC URLs manually.",{"type":37,"tag":93,"props":1111,"children":1113},{"id":1112},"step-3-set-up-providers-in-react",[1114],{"type":43,"value":1115},"Step 3: Set Up Providers in React",{"type":37,"tag":100,"props":1117,"children":1121},{"className":1118,"code":1119,"language":1120,"meta":105,"style":105},"language-tsx shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { WagmiProvider } from 'wagmi'\nimport { QueryClient, QueryClientProvider } from '@tanstack\u002Freact-query'\nimport { config } from '.\u002Fwagmi'\n\nconst queryClient = new QueryClient()\n\nfunction App() {\n  return (\n    \u003CWagmiProvider config={config}>\n      \u003CQueryClientProvider client={queryClient}>\n        \u003CYourApp \u002F>\n      \u003C\u002FQueryClientProvider>\n    \u003C\u002FWagmiProvider>\n  )\n}\n","tsx",[1122],{"type":37,"tag":78,"props":1123,"children":1124},{"__ignoreMap":105},[1125,1161,1207,1244,1251,1282,1289,1310,1323,1355,1386,1404,1421,1437,1445],{"type":37,"tag":111,"props":1126,"children":1127},{"class":113,"line":114},[1128,1132,1136,1141,1145,1149,1153,1157],{"type":37,"tag":111,"props":1129,"children":1130},{"style":329},[1131],{"type":43,"value":332},{"type":37,"tag":111,"props":1133,"children":1134},{"style":213},[1135],{"type":43,"value":337},{"type":37,"tag":111,"props":1137,"children":1138},{"style":340},[1139],{"type":43,"value":1140}," WagmiProvider",{"type":37,"tag":111,"props":1142,"children":1143},{"style":213},[1144],{"type":43,"value":358},{"type":37,"tag":111,"props":1146,"children":1147},{"style":329},[1148],{"type":43,"value":363},{"type":37,"tag":111,"props":1150,"children":1151},{"style":213},[1152],{"type":43,"value":368},{"type":37,"tag":111,"props":1154,"children":1155},{"style":124},[1156],{"type":43,"value":13},{"type":37,"tag":111,"props":1158,"children":1159},{"style":213},[1160],{"type":43,"value":377},{"type":37,"tag":111,"props":1162,"children":1163},{"class":113,"line":21},[1164,1168,1172,1177,1181,1186,1190,1194,1198,1203],{"type":37,"tag":111,"props":1165,"children":1166},{"style":329},[1167],{"type":43,"value":332},{"type":37,"tag":111,"props":1169,"children":1170},{"style":213},[1171],{"type":43,"value":337},{"type":37,"tag":111,"props":1173,"children":1174},{"style":340},[1175],{"type":43,"value":1176}," QueryClient",{"type":37,"tag":111,"props":1178,"children":1179},{"style":213},[1180],{"type":43,"value":348},{"type":37,"tag":111,"props":1182,"children":1183},{"style":340},[1184],{"type":43,"value":1185}," QueryClientProvider",{"type":37,"tag":111,"props":1187,"children":1188},{"style":213},[1189],{"type":43,"value":358},{"type":37,"tag":111,"props":1191,"children":1192},{"style":329},[1193],{"type":43,"value":363},{"type":37,"tag":111,"props":1195,"children":1196},{"style":213},[1197],{"type":43,"value":368},{"type":37,"tag":111,"props":1199,"children":1200},{"style":124},[1201],{"type":43,"value":1202},"@tanstack\u002Freact-query",{"type":37,"tag":111,"props":1204,"children":1205},{"style":213},[1206],{"type":43,"value":377},{"type":37,"tag":111,"props":1208,"children":1209},{"class":113,"line":154},[1210,1214,1218,1223,1227,1231,1235,1240],{"type":37,"tag":111,"props":1211,"children":1212},{"style":329},[1213],{"type":43,"value":332},{"type":37,"tag":111,"props":1215,"children":1216},{"style":213},[1217],{"type":43,"value":337},{"type":37,"tag":111,"props":1219,"children":1220},{"style":340},[1221],{"type":43,"value":1222}," config",{"type":37,"tag":111,"props":1224,"children":1225},{"style":213},[1226],{"type":43,"value":358},{"type":37,"tag":111,"props":1228,"children":1229},{"style":329},[1230],{"type":43,"value":363},{"type":37,"tag":111,"props":1232,"children":1233},{"style":213},[1234],{"type":43,"value":368},{"type":37,"tag":111,"props":1236,"children":1237},{"style":124},[1238],{"type":43,"value":1239},".\u002Fwagmi",{"type":37,"tag":111,"props":1241,"children":1242},{"style":213},[1243],{"type":43,"value":377},{"type":37,"tag":111,"props":1245,"children":1246},{"class":113,"line":164},[1247],{"type":37,"tag":111,"props":1248,"children":1249},{"emptyLinePlaceholder":148},[1250],{"type":43,"value":151},{"type":37,"tag":111,"props":1252,"children":1253},{"class":113,"line":187},[1254,1259,1264,1268,1273,1277],{"type":37,"tag":111,"props":1255,"children":1256},{"style":496},[1257],{"type":43,"value":1258},"const",{"type":37,"tag":111,"props":1260,"children":1261},{"style":340},[1262],{"type":43,"value":1263}," queryClient ",{"type":37,"tag":111,"props":1265,"children":1266},{"style":213},[1267],{"type":43,"value":509},{"type":37,"tag":111,"props":1269,"children":1270},{"style":213},[1271],{"type":43,"value":1272}," new",{"type":37,"tag":111,"props":1274,"children":1275},{"style":512},[1276],{"type":43,"value":1176},{"type":37,"tag":111,"props":1278,"children":1279},{"style":340},[1280],{"type":43,"value":1281},"()\n",{"type":37,"tag":111,"props":1283,"children":1284},{"class":113,"line":196},[1285],{"type":37,"tag":111,"props":1286,"children":1287},{"emptyLinePlaceholder":148},[1288],{"type":43,"value":151},{"type":37,"tag":111,"props":1290,"children":1291},{"class":113,"line":576},[1292,1297,1302,1306],{"type":37,"tag":111,"props":1293,"children":1294},{"style":496},[1295],{"type":43,"value":1296},"function",{"type":37,"tag":111,"props":1298,"children":1299},{"style":512},[1300],{"type":43,"value":1301}," App",{"type":37,"tag":111,"props":1303,"children":1304},{"style":213},[1305],{"type":43,"value":849},{"type":37,"tag":111,"props":1307,"children":1308},{"style":213},[1309],{"type":43,"value":626},{"type":37,"tag":111,"props":1311,"children":1312},{"class":113,"line":594},[1313,1318],{"type":37,"tag":111,"props":1314,"children":1315},{"style":329},[1316],{"type":43,"value":1317},"  return",{"type":37,"tag":111,"props":1319,"children":1320},{"style":530},[1321],{"type":43,"value":1322}," (\n",{"type":37,"tag":111,"props":1324,"children":1325},{"class":113,"line":611},[1326,1331,1336,1340,1345,1350],{"type":37,"tag":111,"props":1327,"children":1328},{"style":213},[1329],{"type":43,"value":1330},"    \u003C",{"type":37,"tag":111,"props":1332,"children":1333},{"style":118},[1334],{"type":43,"value":1335},"WagmiProvider",{"type":37,"tag":111,"props":1337,"children":1338},{"style":496},[1339],{"type":43,"value":1222},{"type":37,"tag":111,"props":1341,"children":1342},{"style":213},[1343],{"type":43,"value":1344},"={",{"type":37,"tag":111,"props":1346,"children":1347},{"style":340},[1348],{"type":43,"value":1349},"config",{"type":37,"tag":111,"props":1351,"children":1352},{"style":213},[1353],{"type":43,"value":1354},"}>\n",{"type":37,"tag":111,"props":1356,"children":1357},{"class":113,"line":629},[1358,1363,1368,1373,1377,1382],{"type":37,"tag":111,"props":1359,"children":1360},{"style":213},[1361],{"type":43,"value":1362},"      \u003C",{"type":37,"tag":111,"props":1364,"children":1365},{"style":118},[1366],{"type":43,"value":1367},"QueryClientProvider",{"type":37,"tag":111,"props":1369,"children":1370},{"style":496},[1371],{"type":43,"value":1372}," client",{"type":37,"tag":111,"props":1374,"children":1375},{"style":213},[1376],{"type":43,"value":1344},{"type":37,"tag":111,"props":1378,"children":1379},{"style":340},[1380],{"type":43,"value":1381},"queryClient",{"type":37,"tag":111,"props":1383,"children":1384},{"style":213},[1385],{"type":43,"value":1354},{"type":37,"tag":111,"props":1387,"children":1388},{"class":113,"line":660},[1389,1394,1399],{"type":37,"tag":111,"props":1390,"children":1391},{"style":213},[1392],{"type":43,"value":1393},"        \u003C",{"type":37,"tag":111,"props":1395,"children":1396},{"style":118},[1397],{"type":43,"value":1398},"YourApp",{"type":37,"tag":111,"props":1400,"children":1401},{"style":213},[1402],{"type":43,"value":1403}," \u002F>\n",{"type":37,"tag":111,"props":1405,"children":1406},{"class":113,"line":701},[1407,1412,1416],{"type":37,"tag":111,"props":1408,"children":1409},{"style":213},[1410],{"type":43,"value":1411},"      \u003C\u002F",{"type":37,"tag":111,"props":1413,"children":1414},{"style":118},[1415],{"type":43,"value":1367},{"type":37,"tag":111,"props":1417,"children":1418},{"style":213},[1419],{"type":43,"value":1420},">\n",{"type":37,"tag":111,"props":1422,"children":1423},{"class":113,"line":731},[1424,1429,1433],{"type":37,"tag":111,"props":1425,"children":1426},{"style":213},[1427],{"type":43,"value":1428},"    \u003C\u002F",{"type":37,"tag":111,"props":1430,"children":1431},{"style":118},[1432],{"type":43,"value":1335},{"type":37,"tag":111,"props":1434,"children":1435},{"style":213},[1436],{"type":43,"value":1420},{"type":37,"tag":111,"props":1438,"children":1439},{"class":113,"line":740},[1440],{"type":37,"tag":111,"props":1441,"children":1442},{"style":530},[1443],{"type":43,"value":1444},"  )\n",{"type":37,"tag":111,"props":1446,"children":1447},{"class":113,"line":763},[1448],{"type":37,"tag":111,"props":1449,"children":1450},{"style":213},[1451],{"type":43,"value":1096},{"type":37,"tag":93,"props":1453,"children":1455},{"id":1454},"step-4-connect-wallet",[1456],{"type":43,"value":1457},"Step 4: Connect Wallet",{"type":37,"tag":100,"props":1459,"children":1461},{"className":1118,"code":1460,"language":1120,"meta":105,"style":105},"import { useConnect, useConnectors, useConnection, useDisconnect } from 'wagmi'\n\nfunction ConnectButton() {\n  const { mutate: connect, status, error } = useConnect()\n  const connectors = useConnectors()\n  const { address, chainId, status: connectionStatus } = useConnection()\n  const { disconnect } = useDisconnect()\n\n  if (connectionStatus === 'connected') {\n    return (\n      \u003Cdiv>\n        \u003Cp>Connected: {address}\u003C\u002Fp>\n        \u003Cp>Chain: {chainId}\u003C\u002Fp>\n        \u003Cbutton onClick={() => disconnect()}>Disconnect\u003C\u002Fbutton>\n      \u003C\u002Fdiv>\n    )\n  }\n\n  return (\n    \u003Cdiv>\n      {connectors.map((connector) => (\n        \u003Cbutton\n          key={connector.uid}\n          onClick={() => connect({ connector })}\n        >\n          {connector.name}\n        \u003C\u002Fbutton>\n      ))}\n      {status === 'pending' && \u003Cp>Connecting...\u003C\u002Fp>}\n      {error && \u003Cp>Error: {error.message}\u003C\u002Fp>}\n    \u003C\u002Fdiv>\n  )\n}\n",[1462],{"type":37,"tag":78,"props":1463,"children":1464},{"__ignoreMap":105},[1465,1528,1535,1555,1616,1640,1698,1730,1737,1782,1794,1810,1854,1895,1953,1968,1976,1983,1990,2001,2016,2064,2076,2105,2150,2158,2183,2199,2211,2277,2342,2358,2366],{"type":37,"tag":111,"props":1466,"children":1467},{"class":113,"line":114},[1468,1472,1476,1481,1485,1490,1494,1499,1503,1508,1512,1516,1520,1524],{"type":37,"tag":111,"props":1469,"children":1470},{"style":329},[1471],{"type":43,"value":332},{"type":37,"tag":111,"props":1473,"children":1474},{"style":213},[1475],{"type":43,"value":337},{"type":37,"tag":111,"props":1477,"children":1478},{"style":340},[1479],{"type":43,"value":1480}," useConnect",{"type":37,"tag":111,"props":1482,"children":1483},{"style":213},[1484],{"type":43,"value":348},{"type":37,"tag":111,"props":1486,"children":1487},{"style":340},[1488],{"type":43,"value":1489}," useConnectors",{"type":37,"tag":111,"props":1491,"children":1492},{"style":213},[1493],{"type":43,"value":348},{"type":37,"tag":111,"props":1495,"children":1496},{"style":340},[1497],{"type":43,"value":1498}," useConnection",{"type":37,"tag":111,"props":1500,"children":1501},{"style":213},[1502],{"type":43,"value":348},{"type":37,"tag":111,"props":1504,"children":1505},{"style":340},[1506],{"type":43,"value":1507}," useDisconnect",{"type":37,"tag":111,"props":1509,"children":1510},{"style":213},[1511],{"type":43,"value":358},{"type":37,"tag":111,"props":1513,"children":1514},{"style":329},[1515],{"type":43,"value":363},{"type":37,"tag":111,"props":1517,"children":1518},{"style":213},[1519],{"type":43,"value":368},{"type":37,"tag":111,"props":1521,"children":1522},{"style":124},[1523],{"type":43,"value":13},{"type":37,"tag":111,"props":1525,"children":1526},{"style":213},[1527],{"type":43,"value":377},{"type":37,"tag":111,"props":1529,"children":1530},{"class":113,"line":21},[1531],{"type":37,"tag":111,"props":1532,"children":1533},{"emptyLinePlaceholder":148},[1534],{"type":43,"value":151},{"type":37,"tag":111,"props":1536,"children":1537},{"class":113,"line":154},[1538,1542,1547,1551],{"type":37,"tag":111,"props":1539,"children":1540},{"style":496},[1541],{"type":43,"value":1296},{"type":37,"tag":111,"props":1543,"children":1544},{"style":512},[1545],{"type":43,"value":1546}," ConnectButton",{"type":37,"tag":111,"props":1548,"children":1549},{"style":213},[1550],{"type":43,"value":849},{"type":37,"tag":111,"props":1552,"children":1553},{"style":213},[1554],{"type":43,"value":626},{"type":37,"tag":111,"props":1556,"children":1557},{"class":113,"line":164},[1558,1563,1567,1572,1576,1581,1585,1590,1594,1599,1603,1608,1612],{"type":37,"tag":111,"props":1559,"children":1560},{"style":496},[1561],{"type":43,"value":1562},"  const",{"type":37,"tag":111,"props":1564,"children":1565},{"style":213},[1566],{"type":43,"value":337},{"type":37,"tag":111,"props":1568,"children":1569},{"style":530},[1570],{"type":43,"value":1571}," mutate",{"type":37,"tag":111,"props":1573,"children":1574},{"style":213},[1575],{"type":43,"value":538},{"type":37,"tag":111,"props":1577,"children":1578},{"style":340},[1579],{"type":43,"value":1580}," connect",{"type":37,"tag":111,"props":1582,"children":1583},{"style":213},[1584],{"type":43,"value":348},{"type":37,"tag":111,"props":1586,"children":1587},{"style":340},[1588],{"type":43,"value":1589}," status",{"type":37,"tag":111,"props":1591,"children":1592},{"style":213},[1593],{"type":43,"value":348},{"type":37,"tag":111,"props":1595,"children":1596},{"style":340},[1597],{"type":43,"value":1598}," error",{"type":37,"tag":111,"props":1600,"children":1601},{"style":213},[1602],{"type":43,"value":358},{"type":37,"tag":111,"props":1604,"children":1605},{"style":213},[1606],{"type":43,"value":1607}," =",{"type":37,"tag":111,"props":1609,"children":1610},{"style":512},[1611],{"type":43,"value":1480},{"type":37,"tag":111,"props":1613,"children":1614},{"style":530},[1615],{"type":43,"value":1281},{"type":37,"tag":111,"props":1617,"children":1618},{"class":113,"line":187},[1619,1623,1628,1632,1636],{"type":37,"tag":111,"props":1620,"children":1621},{"style":496},[1622],{"type":43,"value":1562},{"type":37,"tag":111,"props":1624,"children":1625},{"style":340},[1626],{"type":43,"value":1627}," connectors",{"type":37,"tag":111,"props":1629,"children":1630},{"style":213},[1631],{"type":43,"value":1607},{"type":37,"tag":111,"props":1633,"children":1634},{"style":512},[1635],{"type":43,"value":1489},{"type":37,"tag":111,"props":1637,"children":1638},{"style":530},[1639],{"type":43,"value":1281},{"type":37,"tag":111,"props":1641,"children":1642},{"class":113,"line":196},[1643,1647,1651,1656,1660,1665,1669,1673,1677,1682,1686,1690,1694],{"type":37,"tag":111,"props":1644,"children":1645},{"style":496},[1646],{"type":43,"value":1562},{"type":37,"tag":111,"props":1648,"children":1649},{"style":213},[1650],{"type":43,"value":337},{"type":37,"tag":111,"props":1652,"children":1653},{"style":340},[1654],{"type":43,"value":1655}," address",{"type":37,"tag":111,"props":1657,"children":1658},{"style":213},[1659],{"type":43,"value":348},{"type":37,"tag":111,"props":1661,"children":1662},{"style":340},[1663],{"type":43,"value":1664}," chainId",{"type":37,"tag":111,"props":1666,"children":1667},{"style":213},[1668],{"type":43,"value":348},{"type":37,"tag":111,"props":1670,"children":1671},{"style":530},[1672],{"type":43,"value":1589},{"type":37,"tag":111,"props":1674,"children":1675},{"style":213},[1676],{"type":43,"value":538},{"type":37,"tag":111,"props":1678,"children":1679},{"style":340},[1680],{"type":43,"value":1681}," connectionStatus",{"type":37,"tag":111,"props":1683,"children":1684},{"style":213},[1685],{"type":43,"value":358},{"type":37,"tag":111,"props":1687,"children":1688},{"style":213},[1689],{"type":43,"value":1607},{"type":37,"tag":111,"props":1691,"children":1692},{"style":512},[1693],{"type":43,"value":1498},{"type":37,"tag":111,"props":1695,"children":1696},{"style":530},[1697],{"type":43,"value":1281},{"type":37,"tag":111,"props":1699,"children":1700},{"class":113,"line":576},[1701,1705,1709,1714,1718,1722,1726],{"type":37,"tag":111,"props":1702,"children":1703},{"style":496},[1704],{"type":43,"value":1562},{"type":37,"tag":111,"props":1706,"children":1707},{"style":213},[1708],{"type":43,"value":337},{"type":37,"tag":111,"props":1710,"children":1711},{"style":340},[1712],{"type":43,"value":1713}," disconnect",{"type":37,"tag":111,"props":1715,"children":1716},{"style":213},[1717],{"type":43,"value":358},{"type":37,"tag":111,"props":1719,"children":1720},{"style":213},[1721],{"type":43,"value":1607},{"type":37,"tag":111,"props":1723,"children":1724},{"style":512},[1725],{"type":43,"value":1507},{"type":37,"tag":111,"props":1727,"children":1728},{"style":530},[1729],{"type":43,"value":1281},{"type":37,"tag":111,"props":1731,"children":1732},{"class":113,"line":594},[1733],{"type":37,"tag":111,"props":1734,"children":1735},{"emptyLinePlaceholder":148},[1736],{"type":43,"value":151},{"type":37,"tag":111,"props":1738,"children":1739},{"class":113,"line":611},[1740,1745,1750,1755,1760,1764,1769,1773,1778],{"type":37,"tag":111,"props":1741,"children":1742},{"style":329},[1743],{"type":43,"value":1744},"  if",{"type":37,"tag":111,"props":1746,"children":1747},{"style":530},[1748],{"type":43,"value":1749}," (",{"type":37,"tag":111,"props":1751,"children":1752},{"style":340},[1753],{"type":43,"value":1754},"connectionStatus",{"type":37,"tag":111,"props":1756,"children":1757},{"style":213},[1758],{"type":43,"value":1759}," ===",{"type":37,"tag":111,"props":1761,"children":1762},{"style":213},[1763],{"type":43,"value":368},{"type":37,"tag":111,"props":1765,"children":1766},{"style":124},[1767],{"type":43,"value":1768},"connected",{"type":37,"tag":111,"props":1770,"children":1771},{"style":213},[1772],{"type":43,"value":653},{"type":37,"tag":111,"props":1774,"children":1775},{"style":530},[1776],{"type":43,"value":1777},") ",{"type":37,"tag":111,"props":1779,"children":1780},{"style":213},[1781],{"type":43,"value":524},{"type":37,"tag":111,"props":1783,"children":1784},{"class":113,"line":629},[1785,1790],{"type":37,"tag":111,"props":1786,"children":1787},{"style":329},[1788],{"type":43,"value":1789},"    return",{"type":37,"tag":111,"props":1791,"children":1792},{"style":530},[1793],{"type":43,"value":1322},{"type":37,"tag":111,"props":1795,"children":1796},{"class":113,"line":660},[1797,1801,1806],{"type":37,"tag":111,"props":1798,"children":1799},{"style":213},[1800],{"type":43,"value":1362},{"type":37,"tag":111,"props":1802,"children":1803},{"style":530},[1804],{"type":43,"value":1805},"div",{"type":37,"tag":111,"props":1807,"children":1808},{"style":213},[1809],{"type":43,"value":1420},{"type":37,"tag":111,"props":1811,"children":1812},{"class":113,"line":701},[1813,1817,1821,1826,1831,1836,1841,1846,1850],{"type":37,"tag":111,"props":1814,"children":1815},{"style":213},[1816],{"type":43,"value":1393},{"type":37,"tag":111,"props":1818,"children":1819},{"style":530},[1820],{"type":43,"value":228},{"type":37,"tag":111,"props":1822,"children":1823},{"style":213},[1824],{"type":43,"value":1825},">",{"type":37,"tag":111,"props":1827,"children":1828},{"style":340},[1829],{"type":43,"value":1830},"Connected: ",{"type":37,"tag":111,"props":1832,"children":1833},{"style":213},[1834],{"type":43,"value":1835},"{",{"type":37,"tag":111,"props":1837,"children":1838},{"style":340},[1839],{"type":43,"value":1840},"address",{"type":37,"tag":111,"props":1842,"children":1843},{"style":213},[1844],{"type":43,"value":1845},"}\u003C\u002F",{"type":37,"tag":111,"props":1847,"children":1848},{"style":530},[1849],{"type":43,"value":228},{"type":37,"tag":111,"props":1851,"children":1852},{"style":213},[1853],{"type":43,"value":1420},{"type":37,"tag":111,"props":1855,"children":1856},{"class":113,"line":731},[1857,1861,1865,1869,1874,1878,1883,1887,1891],{"type":37,"tag":111,"props":1858,"children":1859},{"style":213},[1860],{"type":43,"value":1393},{"type":37,"tag":111,"props":1862,"children":1863},{"style":530},[1864],{"type":43,"value":228},{"type":37,"tag":111,"props":1866,"children":1867},{"style":213},[1868],{"type":43,"value":1825},{"type":37,"tag":111,"props":1870,"children":1871},{"style":340},[1872],{"type":43,"value":1873},"Chain: ",{"type":37,"tag":111,"props":1875,"children":1876},{"style":213},[1877],{"type":43,"value":1835},{"type":37,"tag":111,"props":1879,"children":1880},{"style":340},[1881],{"type":43,"value":1882},"chainId",{"type":37,"tag":111,"props":1884,"children":1885},{"style":213},[1886],{"type":43,"value":1845},{"type":37,"tag":111,"props":1888,"children":1889},{"style":530},[1890],{"type":43,"value":228},{"type":37,"tag":111,"props":1892,"children":1893},{"style":213},[1894],{"type":43,"value":1420},{"type":37,"tag":111,"props":1896,"children":1897},{"class":113,"line":740},[1898,1902,1907,1912,1917,1922,1926,1930,1935,1940,1945,1949],{"type":37,"tag":111,"props":1899,"children":1900},{"style":213},[1901],{"type":43,"value":1393},{"type":37,"tag":111,"props":1903,"children":1904},{"style":530},[1905],{"type":43,"value":1906},"button",{"type":37,"tag":111,"props":1908,"children":1909},{"style":496},[1910],{"type":43,"value":1911}," onClick",{"type":37,"tag":111,"props":1913,"children":1914},{"style":213},[1915],{"type":43,"value":1916},"={()",{"type":37,"tag":111,"props":1918,"children":1919},{"style":496},[1920],{"type":43,"value":1921}," =>",{"type":37,"tag":111,"props":1923,"children":1924},{"style":512},[1925],{"type":43,"value":1713},{"type":37,"tag":111,"props":1927,"children":1928},{"style":340},[1929],{"type":43,"value":849},{"type":37,"tag":111,"props":1931,"children":1932},{"style":213},[1933],{"type":43,"value":1934},"}>",{"type":37,"tag":111,"props":1936,"children":1937},{"style":340},[1938],{"type":43,"value":1939},"Disconnect",{"type":37,"tag":111,"props":1941,"children":1942},{"style":213},[1943],{"type":43,"value":1944},"\u003C\u002F",{"type":37,"tag":111,"props":1946,"children":1947},{"style":530},[1948],{"type":43,"value":1906},{"type":37,"tag":111,"props":1950,"children":1951},{"style":213},[1952],{"type":43,"value":1420},{"type":37,"tag":111,"props":1954,"children":1955},{"class":113,"line":763},[1956,1960,1964],{"type":37,"tag":111,"props":1957,"children":1958},{"style":213},[1959],{"type":43,"value":1411},{"type":37,"tag":111,"props":1961,"children":1962},{"style":530},[1963],{"type":43,"value":1805},{"type":37,"tag":111,"props":1965,"children":1966},{"style":213},[1967],{"type":43,"value":1420},{"type":37,"tag":111,"props":1969,"children":1970},{"class":113,"line":781},[1971],{"type":37,"tag":111,"props":1972,"children":1973},{"style":530},[1974],{"type":43,"value":1975},"    )\n",{"type":37,"tag":111,"props":1977,"children":1978},{"class":113,"line":794},[1979],{"type":37,"tag":111,"props":1980,"children":1981},{"style":213},[1982],{"type":43,"value":1087},{"type":37,"tag":111,"props":1984,"children":1985},{"class":113,"line":811},[1986],{"type":37,"tag":111,"props":1987,"children":1988},{"emptyLinePlaceholder":148},[1989],{"type":43,"value":151},{"type":37,"tag":111,"props":1991,"children":1992},{"class":113,"line":856},[1993,1997],{"type":37,"tag":111,"props":1994,"children":1995},{"style":329},[1996],{"type":43,"value":1317},{"type":37,"tag":111,"props":1998,"children":1999},{"style":530},[2000],{"type":43,"value":1322},{"type":37,"tag":111,"props":2002,"children":2003},{"class":113,"line":897},[2004,2008,2012],{"type":37,"tag":111,"props":2005,"children":2006},{"style":213},[2007],{"type":43,"value":1330},{"type":37,"tag":111,"props":2009,"children":2010},{"style":530},[2011],{"type":43,"value":1805},{"type":37,"tag":111,"props":2013,"children":2014},{"style":213},[2015],{"type":43,"value":1420},{"type":37,"tag":111,"props":2017,"children":2018},{"class":113,"line":938},[2019,2024,2029,2033,2038,2042,2046,2052,2056,2060],{"type":37,"tag":111,"props":2020,"children":2021},{"style":213},[2022],{"type":43,"value":2023},"      {",{"type":37,"tag":111,"props":2025,"children":2026},{"style":340},[2027],{"type":43,"value":2028},"connectors",{"type":37,"tag":111,"props":2030,"children":2031},{"style":213},[2032],{"type":43,"value":680},{"type":37,"tag":111,"props":2034,"children":2035},{"style":512},[2036],{"type":43,"value":2037},"map",{"type":37,"tag":111,"props":2039,"children":2040},{"style":340},[2041],{"type":43,"value":519},{"type":37,"tag":111,"props":2043,"children":2044},{"style":213},[2045],{"type":43,"value":519},{"type":37,"tag":111,"props":2047,"children":2049},{"style":2048},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic",[2050],{"type":43,"value":2051},"connector",{"type":37,"tag":111,"props":2053,"children":2054},{"style":213},[2055],{"type":43,"value":774},{"type":37,"tag":111,"props":2057,"children":2058},{"style":496},[2059],{"type":43,"value":1921},{"type":37,"tag":111,"props":2061,"children":2062},{"style":340},[2063],{"type":43,"value":1322},{"type":37,"tag":111,"props":2065,"children":2066},{"class":113,"line":979},[2067,2071],{"type":37,"tag":111,"props":2068,"children":2069},{"style":213},[2070],{"type":43,"value":1393},{"type":37,"tag":111,"props":2072,"children":2073},{"style":530},[2074],{"type":43,"value":2075},"button\n",{"type":37,"tag":111,"props":2077,"children":2078},{"class":113,"line":988},[2079,2084,2088,2092,2096,2101],{"type":37,"tag":111,"props":2080,"children":2081},{"style":496},[2082],{"type":43,"value":2083},"          key",{"type":37,"tag":111,"props":2085,"children":2086},{"style":213},[2087],{"type":43,"value":1344},{"type":37,"tag":111,"props":2089,"children":2090},{"style":340},[2091],{"type":43,"value":2051},{"type":37,"tag":111,"props":2093,"children":2094},{"style":213},[2095],{"type":43,"value":680},{"type":37,"tag":111,"props":2097,"children":2098},{"style":340},[2099],{"type":43,"value":2100},"uid",{"type":37,"tag":111,"props":2102,"children":2103},{"style":213},[2104],{"type":43,"value":1096},{"type":37,"tag":111,"props":2106,"children":2107},{"class":113,"line":1002},[2108,2113,2117,2121,2125,2129,2133,2138,2142,2146],{"type":37,"tag":111,"props":2109,"children":2110},{"style":496},[2111],{"type":43,"value":2112},"          onClick",{"type":37,"tag":111,"props":2114,"children":2115},{"style":213},[2116],{"type":43,"value":1916},{"type":37,"tag":111,"props":2118,"children":2119},{"style":496},[2120],{"type":43,"value":1921},{"type":37,"tag":111,"props":2122,"children":2123},{"style":512},[2124],{"type":43,"value":1580},{"type":37,"tag":111,"props":2126,"children":2127},{"style":340},[2128],{"type":43,"value":519},{"type":37,"tag":111,"props":2130,"children":2131},{"style":213},[2132],{"type":43,"value":1835},{"type":37,"tag":111,"props":2134,"children":2135},{"style":340},[2136],{"type":43,"value":2137}," connector ",{"type":37,"tag":111,"props":2139,"children":2140},{"style":213},[2141],{"type":43,"value":994},{"type":37,"tag":111,"props":2143,"children":2144},{"style":340},[2145],{"type":43,"value":774},{"type":37,"tag":111,"props":2147,"children":2148},{"style":213},[2149],{"type":43,"value":1096},{"type":37,"tag":111,"props":2151,"children":2152},{"class":113,"line":1010},[2153],{"type":37,"tag":111,"props":2154,"children":2155},{"style":213},[2156],{"type":43,"value":2157},"        >\n",{"type":37,"tag":111,"props":2159,"children":2160},{"class":113,"line":1040},[2161,2166,2170,2174,2179],{"type":37,"tag":111,"props":2162,"children":2163},{"style":213},[2164],{"type":43,"value":2165},"          {",{"type":37,"tag":111,"props":2167,"children":2168},{"style":340},[2169],{"type":43,"value":2051},{"type":37,"tag":111,"props":2171,"children":2172},{"style":213},[2173],{"type":43,"value":680},{"type":37,"tag":111,"props":2175,"children":2176},{"style":340},[2177],{"type":43,"value":2178},"name",{"type":37,"tag":111,"props":2180,"children":2181},{"style":213},[2182],{"type":43,"value":1096},{"type":37,"tag":111,"props":2184,"children":2185},{"class":113,"line":1058},[2186,2191,2195],{"type":37,"tag":111,"props":2187,"children":2188},{"style":213},[2189],{"type":43,"value":2190},"        \u003C\u002F",{"type":37,"tag":111,"props":2192,"children":2193},{"style":530},[2194],{"type":43,"value":1906},{"type":37,"tag":111,"props":2196,"children":2197},{"style":213},[2198],{"type":43,"value":1420},{"type":37,"tag":111,"props":2200,"children":2201},{"class":113,"line":1081},[2202,2207],{"type":37,"tag":111,"props":2203,"children":2204},{"style":340},[2205],{"type":43,"value":2206},"      ))",{"type":37,"tag":111,"props":2208,"children":2209},{"style":213},[2210],{"type":43,"value":1096},{"type":37,"tag":111,"props":2212,"children":2213},{"class":113,"line":1090},[2214,2218,2223,2228,2232,2237,2241,2246,2251,2255,2259,2264,2268,2272],{"type":37,"tag":111,"props":2215,"children":2216},{"style":213},[2217],{"type":43,"value":2023},{"type":37,"tag":111,"props":2219,"children":2220},{"style":340},[2221],{"type":43,"value":2222},"status ",{"type":37,"tag":111,"props":2224,"children":2225},{"style":213},[2226],{"type":43,"value":2227},"===",{"type":37,"tag":111,"props":2229,"children":2230},{"style":213},[2231],{"type":43,"value":368},{"type":37,"tag":111,"props":2233,"children":2234},{"style":124},[2235],{"type":43,"value":2236},"pending",{"type":37,"tag":111,"props":2238,"children":2239},{"style":213},[2240],{"type":43,"value":653},{"type":37,"tag":111,"props":2242,"children":2243},{"style":213},[2244],{"type":43,"value":2245}," &&",{"type":37,"tag":111,"props":2247,"children":2248},{"style":213},[2249],{"type":43,"value":2250}," \u003C",{"type":37,"tag":111,"props":2252,"children":2253},{"style":530},[2254],{"type":43,"value":228},{"type":37,"tag":111,"props":2256,"children":2257},{"style":213},[2258],{"type":43,"value":1825},{"type":37,"tag":111,"props":2260,"children":2261},{"style":340},[2262],{"type":43,"value":2263},"Connecting...",{"type":37,"tag":111,"props":2265,"children":2266},{"style":213},[2267],{"type":43,"value":1944},{"type":37,"tag":111,"props":2269,"children":2270},{"style":530},[2271],{"type":43,"value":228},{"type":37,"tag":111,"props":2273,"children":2274},{"style":213},[2275],{"type":43,"value":2276},">}\n",{"type":37,"tag":111,"props":2278,"children":2280},{"class":113,"line":2279},30,[2281,2285,2290,2295,2299,2303,2307,2312,2316,2321,2325,2330,2334,2338],{"type":37,"tag":111,"props":2282,"children":2283},{"style":213},[2284],{"type":43,"value":2023},{"type":37,"tag":111,"props":2286,"children":2287},{"style":340},[2288],{"type":43,"value":2289},"error ",{"type":37,"tag":111,"props":2291,"children":2292},{"style":213},[2293],{"type":43,"value":2294},"&&",{"type":37,"tag":111,"props":2296,"children":2297},{"style":213},[2298],{"type":43,"value":2250},{"type":37,"tag":111,"props":2300,"children":2301},{"style":530},[2302],{"type":43,"value":228},{"type":37,"tag":111,"props":2304,"children":2305},{"style":213},[2306],{"type":43,"value":1825},{"type":37,"tag":111,"props":2308,"children":2309},{"style":340},[2310],{"type":43,"value":2311},"Error: ",{"type":37,"tag":111,"props":2313,"children":2314},{"style":213},[2315],{"type":43,"value":1835},{"type":37,"tag":111,"props":2317,"children":2318},{"style":340},[2319],{"type":43,"value":2320},"error",{"type":37,"tag":111,"props":2322,"children":2323},{"style":213},[2324],{"type":43,"value":680},{"type":37,"tag":111,"props":2326,"children":2327},{"style":340},[2328],{"type":43,"value":2329},"message",{"type":37,"tag":111,"props":2331,"children":2332},{"style":213},[2333],{"type":43,"value":1845},{"type":37,"tag":111,"props":2335,"children":2336},{"style":530},[2337],{"type":43,"value":228},{"type":37,"tag":111,"props":2339,"children":2340},{"style":213},[2341],{"type":43,"value":2276},{"type":37,"tag":111,"props":2343,"children":2345},{"class":113,"line":2344},31,[2346,2350,2354],{"type":37,"tag":111,"props":2347,"children":2348},{"style":213},[2349],{"type":43,"value":1428},{"type":37,"tag":111,"props":2351,"children":2352},{"style":530},[2353],{"type":43,"value":1805},{"type":37,"tag":111,"props":2355,"children":2356},{"style":213},[2357],{"type":43,"value":1420},{"type":37,"tag":111,"props":2359,"children":2361},{"class":113,"line":2360},32,[2362],{"type":37,"tag":111,"props":2363,"children":2364},{"style":530},[2365],{"type":43,"value":1444},{"type":37,"tag":111,"props":2367,"children":2369},{"class":113,"line":2368},33,[2370],{"type":37,"tag":111,"props":2371,"children":2372},{"style":213},[2373],{"type":43,"value":1096},{"type":37,"tag":93,"props":2375,"children":2377},{"id":2376},"step-5-switch-chains",[2378],{"type":43,"value":2379},"Step 5: Switch Chains",{"type":37,"tag":100,"props":2381,"children":2383},{"className":1118,"code":2382,"language":1120,"meta":105,"style":105},"import { useSwitchChain, useChains, useChainId } from 'wagmi'\n\nfunction ChainSwitcher() {\n  const chainId = useChainId()\n  const chains = useChains()\n  const { switchChain, error } = useSwitchChain()\n\n  return (\n    \u003Cdiv>\n      {chains.map((chain) => (\n        \u003Cbutton\n          key={chain.id}\n          disabled={chainId === chain.id}\n          onClick={() => switchChain({ chainId: chain.id })}\n        >\n          {chain.name}\n        \u003C\u002Fbutton>\n      ))}\n      {error && \u003Cp>{error.message}\u003C\u002Fp>}\n    \u003C\u002Fdiv>\n  )\n}\n",[2384],{"type":37,"tag":78,"props":2385,"children":2386},{"__ignoreMap":105},[2387,2441,2448,2468,2491,2515,2555,2562,2573,2588,2633,2644,2671,2709,2769,2776,2799,2814,2825,2877,2892,2899],{"type":37,"tag":111,"props":2388,"children":2389},{"class":113,"line":114},[2390,2394,2398,2403,2407,2412,2416,2421,2425,2429,2433,2437],{"type":37,"tag":111,"props":2391,"children":2392},{"style":329},[2393],{"type":43,"value":332},{"type":37,"tag":111,"props":2395,"children":2396},{"style":213},[2397],{"type":43,"value":337},{"type":37,"tag":111,"props":2399,"children":2400},{"style":340},[2401],{"type":43,"value":2402}," useSwitchChain",{"type":37,"tag":111,"props":2404,"children":2405},{"style":213},[2406],{"type":43,"value":348},{"type":37,"tag":111,"props":2408,"children":2409},{"style":340},[2410],{"type":43,"value":2411}," useChains",{"type":37,"tag":111,"props":2413,"children":2414},{"style":213},[2415],{"type":43,"value":348},{"type":37,"tag":111,"props":2417,"children":2418},{"style":340},[2419],{"type":43,"value":2420}," useChainId",{"type":37,"tag":111,"props":2422,"children":2423},{"style":213},[2424],{"type":43,"value":358},{"type":37,"tag":111,"props":2426,"children":2427},{"style":329},[2428],{"type":43,"value":363},{"type":37,"tag":111,"props":2430,"children":2431},{"style":213},[2432],{"type":43,"value":368},{"type":37,"tag":111,"props":2434,"children":2435},{"style":124},[2436],{"type":43,"value":13},{"type":37,"tag":111,"props":2438,"children":2439},{"style":213},[2440],{"type":43,"value":377},{"type":37,"tag":111,"props":2442,"children":2443},{"class":113,"line":21},[2444],{"type":37,"tag":111,"props":2445,"children":2446},{"emptyLinePlaceholder":148},[2447],{"type":43,"value":151},{"type":37,"tag":111,"props":2449,"children":2450},{"class":113,"line":154},[2451,2455,2460,2464],{"type":37,"tag":111,"props":2452,"children":2453},{"style":496},[2454],{"type":43,"value":1296},{"type":37,"tag":111,"props":2456,"children":2457},{"style":512},[2458],{"type":43,"value":2459}," ChainSwitcher",{"type":37,"tag":111,"props":2461,"children":2462},{"style":213},[2463],{"type":43,"value":849},{"type":37,"tag":111,"props":2465,"children":2466},{"style":213},[2467],{"type":43,"value":626},{"type":37,"tag":111,"props":2469,"children":2470},{"class":113,"line":164},[2471,2475,2479,2483,2487],{"type":37,"tag":111,"props":2472,"children":2473},{"style":496},[2474],{"type":43,"value":1562},{"type":37,"tag":111,"props":2476,"children":2477},{"style":340},[2478],{"type":43,"value":1664},{"type":37,"tag":111,"props":2480,"children":2481},{"style":213},[2482],{"type":43,"value":1607},{"type":37,"tag":111,"props":2484,"children":2485},{"style":512},[2486],{"type":43,"value":2420},{"type":37,"tag":111,"props":2488,"children":2489},{"style":530},[2490],{"type":43,"value":1281},{"type":37,"tag":111,"props":2492,"children":2493},{"class":113,"line":187},[2494,2498,2503,2507,2511],{"type":37,"tag":111,"props":2495,"children":2496},{"style":496},[2497],{"type":43,"value":1562},{"type":37,"tag":111,"props":2499,"children":2500},{"style":340},[2501],{"type":43,"value":2502}," chains",{"type":37,"tag":111,"props":2504,"children":2505},{"style":213},[2506],{"type":43,"value":1607},{"type":37,"tag":111,"props":2508,"children":2509},{"style":512},[2510],{"type":43,"value":2411},{"type":37,"tag":111,"props":2512,"children":2513},{"style":530},[2514],{"type":43,"value":1281},{"type":37,"tag":111,"props":2516,"children":2517},{"class":113,"line":196},[2518,2522,2526,2531,2535,2539,2543,2547,2551],{"type":37,"tag":111,"props":2519,"children":2520},{"style":496},[2521],{"type":43,"value":1562},{"type":37,"tag":111,"props":2523,"children":2524},{"style":213},[2525],{"type":43,"value":337},{"type":37,"tag":111,"props":2527,"children":2528},{"style":340},[2529],{"type":43,"value":2530}," switchChain",{"type":37,"tag":111,"props":2532,"children":2533},{"style":213},[2534],{"type":43,"value":348},{"type":37,"tag":111,"props":2536,"children":2537},{"style":340},[2538],{"type":43,"value":1598},{"type":37,"tag":111,"props":2540,"children":2541},{"style":213},[2542],{"type":43,"value":358},{"type":37,"tag":111,"props":2544,"children":2545},{"style":213},[2546],{"type":43,"value":1607},{"type":37,"tag":111,"props":2548,"children":2549},{"style":512},[2550],{"type":43,"value":2402},{"type":37,"tag":111,"props":2552,"children":2553},{"style":530},[2554],{"type":43,"value":1281},{"type":37,"tag":111,"props":2556,"children":2557},{"class":113,"line":576},[2558],{"type":37,"tag":111,"props":2559,"children":2560},{"emptyLinePlaceholder":148},[2561],{"type":43,"value":151},{"type":37,"tag":111,"props":2563,"children":2564},{"class":113,"line":594},[2565,2569],{"type":37,"tag":111,"props":2566,"children":2567},{"style":329},[2568],{"type":43,"value":1317},{"type":37,"tag":111,"props":2570,"children":2571},{"style":530},[2572],{"type":43,"value":1322},{"type":37,"tag":111,"props":2574,"children":2575},{"class":113,"line":611},[2576,2580,2584],{"type":37,"tag":111,"props":2577,"children":2578},{"style":213},[2579],{"type":43,"value":1330},{"type":37,"tag":111,"props":2581,"children":2582},{"style":530},[2583],{"type":43,"value":1805},{"type":37,"tag":111,"props":2585,"children":2586},{"style":213},[2587],{"type":43,"value":1420},{"type":37,"tag":111,"props":2589,"children":2590},{"class":113,"line":629},[2591,2595,2600,2604,2608,2612,2616,2621,2625,2629],{"type":37,"tag":111,"props":2592,"children":2593},{"style":213},[2594],{"type":43,"value":2023},{"type":37,"tag":111,"props":2596,"children":2597},{"style":340},[2598],{"type":43,"value":2599},"chains",{"type":37,"tag":111,"props":2601,"children":2602},{"style":213},[2603],{"type":43,"value":680},{"type":37,"tag":111,"props":2605,"children":2606},{"style":512},[2607],{"type":43,"value":2037},{"type":37,"tag":111,"props":2609,"children":2610},{"style":340},[2611],{"type":43,"value":519},{"type":37,"tag":111,"props":2613,"children":2614},{"style":213},[2615],{"type":43,"value":519},{"type":37,"tag":111,"props":2617,"children":2618},{"style":2048},[2619],{"type":43,"value":2620},"chain",{"type":37,"tag":111,"props":2622,"children":2623},{"style":213},[2624],{"type":43,"value":774},{"type":37,"tag":111,"props":2626,"children":2627},{"style":496},[2628],{"type":43,"value":1921},{"type":37,"tag":111,"props":2630,"children":2631},{"style":340},[2632],{"type":43,"value":1322},{"type":37,"tag":111,"props":2634,"children":2635},{"class":113,"line":660},[2636,2640],{"type":37,"tag":111,"props":2637,"children":2638},{"style":213},[2639],{"type":43,"value":1393},{"type":37,"tag":111,"props":2641,"children":2642},{"style":530},[2643],{"type":43,"value":2075},{"type":37,"tag":111,"props":2645,"children":2646},{"class":113,"line":701},[2647,2651,2655,2659,2663,2667],{"type":37,"tag":111,"props":2648,"children":2649},{"style":496},[2650],{"type":43,"value":2083},{"type":37,"tag":111,"props":2652,"children":2653},{"style":213},[2654],{"type":43,"value":1344},{"type":37,"tag":111,"props":2656,"children":2657},{"style":340},[2658],{"type":43,"value":2620},{"type":37,"tag":111,"props":2660,"children":2661},{"style":213},[2662],{"type":43,"value":680},{"type":37,"tag":111,"props":2664,"children":2665},{"style":340},[2666],{"type":43,"value":831},{"type":37,"tag":111,"props":2668,"children":2669},{"style":213},[2670],{"type":43,"value":1096},{"type":37,"tag":111,"props":2672,"children":2673},{"class":113,"line":731},[2674,2679,2683,2688,2692,2697,2701,2705],{"type":37,"tag":111,"props":2675,"children":2676},{"style":496},[2677],{"type":43,"value":2678},"          disabled",{"type":37,"tag":111,"props":2680,"children":2681},{"style":213},[2682],{"type":43,"value":1344},{"type":37,"tag":111,"props":2684,"children":2685},{"style":340},[2686],{"type":43,"value":2687},"chainId ",{"type":37,"tag":111,"props":2689,"children":2690},{"style":213},[2691],{"type":43,"value":2227},{"type":37,"tag":111,"props":2693,"children":2694},{"style":340},[2695],{"type":43,"value":2696}," chain",{"type":37,"tag":111,"props":2698,"children":2699},{"style":213},[2700],{"type":43,"value":680},{"type":37,"tag":111,"props":2702,"children":2703},{"style":340},[2704],{"type":43,"value":831},{"type":37,"tag":111,"props":2706,"children":2707},{"style":213},[2708],{"type":43,"value":1096},{"type":37,"tag":111,"props":2710,"children":2711},{"class":113,"line":740},[2712,2716,2720,2724,2728,2732,2736,2740,2744,2748,2752,2757,2761,2765],{"type":37,"tag":111,"props":2713,"children":2714},{"style":496},[2715],{"type":43,"value":2112},{"type":37,"tag":111,"props":2717,"children":2718},{"style":213},[2719],{"type":43,"value":1916},{"type":37,"tag":111,"props":2721,"children":2722},{"style":496},[2723],{"type":43,"value":1921},{"type":37,"tag":111,"props":2725,"children":2726},{"style":512},[2727],{"type":43,"value":2530},{"type":37,"tag":111,"props":2729,"children":2730},{"style":340},[2731],{"type":43,"value":519},{"type":37,"tag":111,"props":2733,"children":2734},{"style":213},[2735],{"type":43,"value":1835},{"type":37,"tag":111,"props":2737,"children":2738},{"style":530},[2739],{"type":43,"value":1664},{"type":37,"tag":111,"props":2741,"children":2742},{"style":213},[2743],{"type":43,"value":538},{"type":37,"tag":111,"props":2745,"children":2746},{"style":340},[2747],{"type":43,"value":2696},{"type":37,"tag":111,"props":2749,"children":2750},{"style":213},[2751],{"type":43,"value":680},{"type":37,"tag":111,"props":2753,"children":2754},{"style":340},[2755],{"type":43,"value":2756},"id ",{"type":37,"tag":111,"props":2758,"children":2759},{"style":213},[2760],{"type":43,"value":994},{"type":37,"tag":111,"props":2762,"children":2763},{"style":340},[2764],{"type":43,"value":774},{"type":37,"tag":111,"props":2766,"children":2767},{"style":213},[2768],{"type":43,"value":1096},{"type":37,"tag":111,"props":2770,"children":2771},{"class":113,"line":763},[2772],{"type":37,"tag":111,"props":2773,"children":2774},{"style":213},[2775],{"type":43,"value":2157},{"type":37,"tag":111,"props":2777,"children":2778},{"class":113,"line":781},[2779,2783,2787,2791,2795],{"type":37,"tag":111,"props":2780,"children":2781},{"style":213},[2782],{"type":43,"value":2165},{"type":37,"tag":111,"props":2784,"children":2785},{"style":340},[2786],{"type":43,"value":2620},{"type":37,"tag":111,"props":2788,"children":2789},{"style":213},[2790],{"type":43,"value":680},{"type":37,"tag":111,"props":2792,"children":2793},{"style":340},[2794],{"type":43,"value":2178},{"type":37,"tag":111,"props":2796,"children":2797},{"style":213},[2798],{"type":43,"value":1096},{"type":37,"tag":111,"props":2800,"children":2801},{"class":113,"line":794},[2802,2806,2810],{"type":37,"tag":111,"props":2803,"children":2804},{"style":213},[2805],{"type":43,"value":2190},{"type":37,"tag":111,"props":2807,"children":2808},{"style":530},[2809],{"type":43,"value":1906},{"type":37,"tag":111,"props":2811,"children":2812},{"style":213},[2813],{"type":43,"value":1420},{"type":37,"tag":111,"props":2815,"children":2816},{"class":113,"line":811},[2817,2821],{"type":37,"tag":111,"props":2818,"children":2819},{"style":340},[2820],{"type":43,"value":2206},{"type":37,"tag":111,"props":2822,"children":2823},{"style":213},[2824],{"type":43,"value":1096},{"type":37,"tag":111,"props":2826,"children":2827},{"class":113,"line":856},[2828,2832,2836,2840,2844,2848,2853,2857,2861,2865,2869,2873],{"type":37,"tag":111,"props":2829,"children":2830},{"style":213},[2831],{"type":43,"value":2023},{"type":37,"tag":111,"props":2833,"children":2834},{"style":340},[2835],{"type":43,"value":2289},{"type":37,"tag":111,"props":2837,"children":2838},{"style":213},[2839],{"type":43,"value":2294},{"type":37,"tag":111,"props":2841,"children":2842},{"style":213},[2843],{"type":43,"value":2250},{"type":37,"tag":111,"props":2845,"children":2846},{"style":530},[2847],{"type":43,"value":228},{"type":37,"tag":111,"props":2849,"children":2850},{"style":213},[2851],{"type":43,"value":2852},">{",{"type":37,"tag":111,"props":2854,"children":2855},{"style":340},[2856],{"type":43,"value":2320},{"type":37,"tag":111,"props":2858,"children":2859},{"style":213},[2860],{"type":43,"value":680},{"type":37,"tag":111,"props":2862,"children":2863},{"style":340},[2864],{"type":43,"value":2329},{"type":37,"tag":111,"props":2866,"children":2867},{"style":213},[2868],{"type":43,"value":1845},{"type":37,"tag":111,"props":2870,"children":2871},{"style":530},[2872],{"type":43,"value":228},{"type":37,"tag":111,"props":2874,"children":2875},{"style":213},[2876],{"type":43,"value":2276},{"type":37,"tag":111,"props":2878,"children":2879},{"class":113,"line":897},[2880,2884,2888],{"type":37,"tag":111,"props":2881,"children":2882},{"style":213},[2883],{"type":43,"value":1428},{"type":37,"tag":111,"props":2885,"children":2886},{"style":530},[2887],{"type":43,"value":1805},{"type":37,"tag":111,"props":2889,"children":2890},{"style":213},[2891],{"type":43,"value":1420},{"type":37,"tag":111,"props":2893,"children":2894},{"class":113,"line":938},[2895],{"type":37,"tag":111,"props":2896,"children":2897},{"style":530},[2898],{"type":43,"value":1444},{"type":37,"tag":111,"props":2900,"children":2901},{"class":113,"line":979},[2902],{"type":37,"tag":111,"props":2903,"children":2904},{"style":213},[2905],{"type":43,"value":1096},{"type":37,"tag":93,"props":2907,"children":2909},{"id":2908},"step-6-sign-messages",[2910],{"type":43,"value":2911},"Step 6: Sign Messages",{"type":37,"tag":100,"props":2913,"children":2915},{"className":1118,"code":2914,"language":1120,"meta":105,"style":105},"import { useSignMessage } from 'wagmi'\n\nfunction SignMessage() {\n  const { data, signMessage, error, isPending } = useSignMessage()\n\n  return (\n    \u003Cdiv>\n      \u003Cbutton\n        disabled={isPending}\n        onClick={() => signMessage({ message: 'Hello from my dapp!' })}\n      >\n        Sign Message\n      \u003C\u002Fbutton>\n      {data && \u003Cp>Signature: {data}\u003C\u002Fp>}\n      {error && \u003Cp>Error: {error.message}\u003C\u002Fp>}\n    \u003C\u002Fdiv>\n  )\n}\n",[2916],{"type":37,"tag":78,"props":2917,"children":2918},{"__ignoreMap":105},[2919,2955,2962,2982,3040,3047,3058,3073,3084,3105,3167,3175,3183,3198,3252,3311,3326,3333],{"type":37,"tag":111,"props":2920,"children":2921},{"class":113,"line":114},[2922,2926,2930,2935,2939,2943,2947,2951],{"type":37,"tag":111,"props":2923,"children":2924},{"style":329},[2925],{"type":43,"value":332},{"type":37,"tag":111,"props":2927,"children":2928},{"style":213},[2929],{"type":43,"value":337},{"type":37,"tag":111,"props":2931,"children":2932},{"style":340},[2933],{"type":43,"value":2934}," useSignMessage",{"type":37,"tag":111,"props":2936,"children":2937},{"style":213},[2938],{"type":43,"value":358},{"type":37,"tag":111,"props":2940,"children":2941},{"style":329},[2942],{"type":43,"value":363},{"type":37,"tag":111,"props":2944,"children":2945},{"style":213},[2946],{"type":43,"value":368},{"type":37,"tag":111,"props":2948,"children":2949},{"style":124},[2950],{"type":43,"value":13},{"type":37,"tag":111,"props":2952,"children":2953},{"style":213},[2954],{"type":43,"value":377},{"type":37,"tag":111,"props":2956,"children":2957},{"class":113,"line":21},[2958],{"type":37,"tag":111,"props":2959,"children":2960},{"emptyLinePlaceholder":148},[2961],{"type":43,"value":151},{"type":37,"tag":111,"props":2963,"children":2964},{"class":113,"line":154},[2965,2969,2974,2978],{"type":37,"tag":111,"props":2966,"children":2967},{"style":496},[2968],{"type":43,"value":1296},{"type":37,"tag":111,"props":2970,"children":2971},{"style":512},[2972],{"type":43,"value":2973}," SignMessage",{"type":37,"tag":111,"props":2975,"children":2976},{"style":213},[2977],{"type":43,"value":849},{"type":37,"tag":111,"props":2979,"children":2980},{"style":213},[2981],{"type":43,"value":626},{"type":37,"tag":111,"props":2983,"children":2984},{"class":113,"line":164},[2985,2989,2993,2998,3002,3007,3011,3015,3019,3024,3028,3032,3036],{"type":37,"tag":111,"props":2986,"children":2987},{"style":496},[2988],{"type":43,"value":1562},{"type":37,"tag":111,"props":2990,"children":2991},{"style":213},[2992],{"type":43,"value":337},{"type":37,"tag":111,"props":2994,"children":2995},{"style":340},[2996],{"type":43,"value":2997}," data",{"type":37,"tag":111,"props":2999,"children":3000},{"style":213},[3001],{"type":43,"value":348},{"type":37,"tag":111,"props":3003,"children":3004},{"style":340},[3005],{"type":43,"value":3006}," signMessage",{"type":37,"tag":111,"props":3008,"children":3009},{"style":213},[3010],{"type":43,"value":348},{"type":37,"tag":111,"props":3012,"children":3013},{"style":340},[3014],{"type":43,"value":1598},{"type":37,"tag":111,"props":3016,"children":3017},{"style":213},[3018],{"type":43,"value":348},{"type":37,"tag":111,"props":3020,"children":3021},{"style":340},[3022],{"type":43,"value":3023}," isPending",{"type":37,"tag":111,"props":3025,"children":3026},{"style":213},[3027],{"type":43,"value":358},{"type":37,"tag":111,"props":3029,"children":3030},{"style":213},[3031],{"type":43,"value":1607},{"type":37,"tag":111,"props":3033,"children":3034},{"style":512},[3035],{"type":43,"value":2934},{"type":37,"tag":111,"props":3037,"children":3038},{"style":530},[3039],{"type":43,"value":1281},{"type":37,"tag":111,"props":3041,"children":3042},{"class":113,"line":187},[3043],{"type":37,"tag":111,"props":3044,"children":3045},{"emptyLinePlaceholder":148},[3046],{"type":43,"value":151},{"type":37,"tag":111,"props":3048,"children":3049},{"class":113,"line":196},[3050,3054],{"type":37,"tag":111,"props":3051,"children":3052},{"style":329},[3053],{"type":43,"value":1317},{"type":37,"tag":111,"props":3055,"children":3056},{"style":530},[3057],{"type":43,"value":1322},{"type":37,"tag":111,"props":3059,"children":3060},{"class":113,"line":576},[3061,3065,3069],{"type":37,"tag":111,"props":3062,"children":3063},{"style":213},[3064],{"type":43,"value":1330},{"type":37,"tag":111,"props":3066,"children":3067},{"style":530},[3068],{"type":43,"value":1805},{"type":37,"tag":111,"props":3070,"children":3071},{"style":213},[3072],{"type":43,"value":1420},{"type":37,"tag":111,"props":3074,"children":3075},{"class":113,"line":594},[3076,3080],{"type":37,"tag":111,"props":3077,"children":3078},{"style":213},[3079],{"type":43,"value":1362},{"type":37,"tag":111,"props":3081,"children":3082},{"style":530},[3083],{"type":43,"value":2075},{"type":37,"tag":111,"props":3085,"children":3086},{"class":113,"line":611},[3087,3092,3096,3101],{"type":37,"tag":111,"props":3088,"children":3089},{"style":496},[3090],{"type":43,"value":3091},"        disabled",{"type":37,"tag":111,"props":3093,"children":3094},{"style":213},[3095],{"type":43,"value":1344},{"type":37,"tag":111,"props":3097,"children":3098},{"style":340},[3099],{"type":43,"value":3100},"isPending",{"type":37,"tag":111,"props":3102,"children":3103},{"style":213},[3104],{"type":43,"value":1096},{"type":37,"tag":111,"props":3106,"children":3107},{"class":113,"line":629},[3108,3113,3117,3121,3125,3129,3133,3138,3142,3146,3151,3155,3159,3163],{"type":37,"tag":111,"props":3109,"children":3110},{"style":496},[3111],{"type":43,"value":3112},"        onClick",{"type":37,"tag":111,"props":3114,"children":3115},{"style":213},[3116],{"type":43,"value":1916},{"type":37,"tag":111,"props":3118,"children":3119},{"style":496},[3120],{"type":43,"value":1921},{"type":37,"tag":111,"props":3122,"children":3123},{"style":512},[3124],{"type":43,"value":3006},{"type":37,"tag":111,"props":3126,"children":3127},{"style":340},[3128],{"type":43,"value":519},{"type":37,"tag":111,"props":3130,"children":3131},{"style":213},[3132],{"type":43,"value":1835},{"type":37,"tag":111,"props":3134,"children":3135},{"style":530},[3136],{"type":43,"value":3137}," message",{"type":37,"tag":111,"props":3139,"children":3140},{"style":213},[3141],{"type":43,"value":538},{"type":37,"tag":111,"props":3143,"children":3144},{"style":213},[3145],{"type":43,"value":368},{"type":37,"tag":111,"props":3147,"children":3148},{"style":124},[3149],{"type":43,"value":3150},"Hello from my dapp!",{"type":37,"tag":111,"props":3152,"children":3153},{"style":213},[3154],{"type":43,"value":653},{"type":37,"tag":111,"props":3156,"children":3157},{"style":213},[3158],{"type":43,"value":358},{"type":37,"tag":111,"props":3160,"children":3161},{"style":340},[3162],{"type":43,"value":774},{"type":37,"tag":111,"props":3164,"children":3165},{"style":213},[3166],{"type":43,"value":1096},{"type":37,"tag":111,"props":3168,"children":3169},{"class":113,"line":660},[3170],{"type":37,"tag":111,"props":3171,"children":3172},{"style":213},[3173],{"type":43,"value":3174},"      >\n",{"type":37,"tag":111,"props":3176,"children":3177},{"class":113,"line":701},[3178],{"type":37,"tag":111,"props":3179,"children":3180},{"style":340},[3181],{"type":43,"value":3182},"        Sign Message\n",{"type":37,"tag":111,"props":3184,"children":3185},{"class":113,"line":731},[3186,3190,3194],{"type":37,"tag":111,"props":3187,"children":3188},{"style":213},[3189],{"type":43,"value":1411},{"type":37,"tag":111,"props":3191,"children":3192},{"style":530},[3193],{"type":43,"value":1906},{"type":37,"tag":111,"props":3195,"children":3196},{"style":213},[3197],{"type":43,"value":1420},{"type":37,"tag":111,"props":3199,"children":3200},{"class":113,"line":740},[3201,3205,3210,3214,3218,3222,3226,3231,3235,3240,3244,3248],{"type":37,"tag":111,"props":3202,"children":3203},{"style":213},[3204],{"type":43,"value":2023},{"type":37,"tag":111,"props":3206,"children":3207},{"style":340},[3208],{"type":43,"value":3209},"data ",{"type":37,"tag":111,"props":3211,"children":3212},{"style":213},[3213],{"type":43,"value":2294},{"type":37,"tag":111,"props":3215,"children":3216},{"style":213},[3217],{"type":43,"value":2250},{"type":37,"tag":111,"props":3219,"children":3220},{"style":530},[3221],{"type":43,"value":228},{"type":37,"tag":111,"props":3223,"children":3224},{"style":213},[3225],{"type":43,"value":1825},{"type":37,"tag":111,"props":3227,"children":3228},{"style":340},[3229],{"type":43,"value":3230},"Signature: ",{"type":37,"tag":111,"props":3232,"children":3233},{"style":213},[3234],{"type":43,"value":1835},{"type":37,"tag":111,"props":3236,"children":3237},{"style":340},[3238],{"type":43,"value":3239},"data",{"type":37,"tag":111,"props":3241,"children":3242},{"style":213},[3243],{"type":43,"value":1845},{"type":37,"tag":111,"props":3245,"children":3246},{"style":530},[3247],{"type":43,"value":228},{"type":37,"tag":111,"props":3249,"children":3250},{"style":213},[3251],{"type":43,"value":2276},{"type":37,"tag":111,"props":3253,"children":3254},{"class":113,"line":763},[3255,3259,3263,3267,3271,3275,3279,3283,3287,3291,3295,3299,3303,3307],{"type":37,"tag":111,"props":3256,"children":3257},{"style":213},[3258],{"type":43,"value":2023},{"type":37,"tag":111,"props":3260,"children":3261},{"style":340},[3262],{"type":43,"value":2289},{"type":37,"tag":111,"props":3264,"children":3265},{"style":213},[3266],{"type":43,"value":2294},{"type":37,"tag":111,"props":3268,"children":3269},{"style":213},[3270],{"type":43,"value":2250},{"type":37,"tag":111,"props":3272,"children":3273},{"style":530},[3274],{"type":43,"value":228},{"type":37,"tag":111,"props":3276,"children":3277},{"style":213},[3278],{"type":43,"value":1825},{"type":37,"tag":111,"props":3280,"children":3281},{"style":340},[3282],{"type":43,"value":2311},{"type":37,"tag":111,"props":3284,"children":3285},{"style":213},[3286],{"type":43,"value":1835},{"type":37,"tag":111,"props":3288,"children":3289},{"style":340},[3290],{"type":43,"value":2320},{"type":37,"tag":111,"props":3292,"children":3293},{"style":213},[3294],{"type":43,"value":680},{"type":37,"tag":111,"props":3296,"children":3297},{"style":340},[3298],{"type":43,"value":2329},{"type":37,"tag":111,"props":3300,"children":3301},{"style":213},[3302],{"type":43,"value":1845},{"type":37,"tag":111,"props":3304,"children":3305},{"style":530},[3306],{"type":43,"value":228},{"type":37,"tag":111,"props":3308,"children":3309},{"style":213},[3310],{"type":43,"value":2276},{"type":37,"tag":111,"props":3312,"children":3313},{"class":113,"line":781},[3314,3318,3322],{"type":37,"tag":111,"props":3315,"children":3316},{"style":213},[3317],{"type":43,"value":1428},{"type":37,"tag":111,"props":3319,"children":3320},{"style":530},[3321],{"type":43,"value":1805},{"type":37,"tag":111,"props":3323,"children":3324},{"style":213},[3325],{"type":43,"value":1420},{"type":37,"tag":111,"props":3327,"children":3328},{"class":113,"line":794},[3329],{"type":37,"tag":111,"props":3330,"children":3331},{"style":530},[3332],{"type":43,"value":1444},{"type":37,"tag":111,"props":3334,"children":3335},{"class":113,"line":811},[3336],{"type":37,"tag":111,"props":3337,"children":3338},{"style":213},[3339],{"type":43,"value":1096},{"type":37,"tag":93,"props":3341,"children":3343},{"id":3342},"step-7-send-transactions",[3344],{"type":43,"value":3345},"Step 7: Send Transactions",{"type":37,"tag":100,"props":3347,"children":3349},{"className":1118,"code":3348,"language":1120,"meta":105,"style":105},"import { useSendTransaction, useWaitForTransactionReceipt } from 'wagmi'\nimport { parseEther } from 'viem'\n\nfunction SendTransaction() {\n  const { data: hash, sendTransaction, isPending, error } = useSendTransaction()\n  const { isLoading: isConfirming, isSuccess } = useWaitForTransactionReceipt({ hash })\n\n  return (\n    \u003Cdiv>\n      \u003Cbutton\n        disabled={isPending}\n        onClick={() =>\n          sendTransaction({\n            to: '0xRecipientAddress',\n            value: parseEther('0.01'),\n          })\n        }\n      >\n        {isPending ? 'Sending...' : 'Send 0.01 ETH'}\n      \u003C\u002Fbutton>\n      {isConfirming && \u003Cp>Confirming...\u003C\u002Fp>}\n      {isSuccess && \u003Cp>Confirmed! Hash: {hash}\u003C\u002Fp>}\n      {error && \u003Cp>Error: {error.message}\u003C\u002Fp>}\n    \u003C\u002Fdiv>\n  )\n}\n",[3350],{"type":37,"tag":78,"props":3351,"children":3352},{"__ignoreMap":105},[3353,3398,3435,3442,3462,3527,3593,3600,3611,3626,3637,3656,3672,3688,3717,3758,3770,3778,3785,3838,3853,3898,3952,4011,4026,4033],{"type":37,"tag":111,"props":3354,"children":3355},{"class":113,"line":114},[3356,3360,3364,3369,3373,3378,3382,3386,3390,3394],{"type":37,"tag":111,"props":3357,"children":3358},{"style":329},[3359],{"type":43,"value":332},{"type":37,"tag":111,"props":3361,"children":3362},{"style":213},[3363],{"type":43,"value":337},{"type":37,"tag":111,"props":3365,"children":3366},{"style":340},[3367],{"type":43,"value":3368}," useSendTransaction",{"type":37,"tag":111,"props":3370,"children":3371},{"style":213},[3372],{"type":43,"value":348},{"type":37,"tag":111,"props":3374,"children":3375},{"style":340},[3376],{"type":43,"value":3377}," useWaitForTransactionReceipt",{"type":37,"tag":111,"props":3379,"children":3380},{"style":213},[3381],{"type":43,"value":358},{"type":37,"tag":111,"props":3383,"children":3384},{"style":329},[3385],{"type":43,"value":363},{"type":37,"tag":111,"props":3387,"children":3388},{"style":213},[3389],{"type":43,"value":368},{"type":37,"tag":111,"props":3391,"children":3392},{"style":124},[3393],{"type":43,"value":13},{"type":37,"tag":111,"props":3395,"children":3396},{"style":213},[3397],{"type":43,"value":377},{"type":37,"tag":111,"props":3399,"children":3400},{"class":113,"line":21},[3401,3405,3409,3414,3418,3422,3426,3431],{"type":37,"tag":111,"props":3402,"children":3403},{"style":329},[3404],{"type":43,"value":332},{"type":37,"tag":111,"props":3406,"children":3407},{"style":213},[3408],{"type":43,"value":337},{"type":37,"tag":111,"props":3410,"children":3411},{"style":340},[3412],{"type":43,"value":3413}," parseEther",{"type":37,"tag":111,"props":3415,"children":3416},{"style":213},[3417],{"type":43,"value":358},{"type":37,"tag":111,"props":3419,"children":3420},{"style":329},[3421],{"type":43,"value":363},{"type":37,"tag":111,"props":3423,"children":3424},{"style":213},[3425],{"type":43,"value":368},{"type":37,"tag":111,"props":3427,"children":3428},{"style":124},[3429],{"type":43,"value":3430},"viem",{"type":37,"tag":111,"props":3432,"children":3433},{"style":213},[3434],{"type":43,"value":377},{"type":37,"tag":111,"props":3436,"children":3437},{"class":113,"line":154},[3438],{"type":37,"tag":111,"props":3439,"children":3440},{"emptyLinePlaceholder":148},[3441],{"type":43,"value":151},{"type":37,"tag":111,"props":3443,"children":3444},{"class":113,"line":164},[3445,3449,3454,3458],{"type":37,"tag":111,"props":3446,"children":3447},{"style":496},[3448],{"type":43,"value":1296},{"type":37,"tag":111,"props":3450,"children":3451},{"style":512},[3452],{"type":43,"value":3453}," SendTransaction",{"type":37,"tag":111,"props":3455,"children":3456},{"style":213},[3457],{"type":43,"value":849},{"type":37,"tag":111,"props":3459,"children":3460},{"style":213},[3461],{"type":43,"value":626},{"type":37,"tag":111,"props":3463,"children":3464},{"class":113,"line":187},[3465,3469,3473,3477,3481,3486,3490,3495,3499,3503,3507,3511,3515,3519,3523],{"type":37,"tag":111,"props":3466,"children":3467},{"style":496},[3468],{"type":43,"value":1562},{"type":37,"tag":111,"props":3470,"children":3471},{"style":213},[3472],{"type":43,"value":337},{"type":37,"tag":111,"props":3474,"children":3475},{"style":530},[3476],{"type":43,"value":2997},{"type":37,"tag":111,"props":3478,"children":3479},{"style":213},[3480],{"type":43,"value":538},{"type":37,"tag":111,"props":3482,"children":3483},{"style":340},[3484],{"type":43,"value":3485}," hash",{"type":37,"tag":111,"props":3487,"children":3488},{"style":213},[3489],{"type":43,"value":348},{"type":37,"tag":111,"props":3491,"children":3492},{"style":340},[3493],{"type":43,"value":3494}," sendTransaction",{"type":37,"tag":111,"props":3496,"children":3497},{"style":213},[3498],{"type":43,"value":348},{"type":37,"tag":111,"props":3500,"children":3501},{"style":340},[3502],{"type":43,"value":3023},{"type":37,"tag":111,"props":3504,"children":3505},{"style":213},[3506],{"type":43,"value":348},{"type":37,"tag":111,"props":3508,"children":3509},{"style":340},[3510],{"type":43,"value":1598},{"type":37,"tag":111,"props":3512,"children":3513},{"style":213},[3514],{"type":43,"value":358},{"type":37,"tag":111,"props":3516,"children":3517},{"style":213},[3518],{"type":43,"value":1607},{"type":37,"tag":111,"props":3520,"children":3521},{"style":512},[3522],{"type":43,"value":3368},{"type":37,"tag":111,"props":3524,"children":3525},{"style":530},[3526],{"type":43,"value":1281},{"type":37,"tag":111,"props":3528,"children":3529},{"class":113,"line":196},[3530,3534,3538,3543,3547,3552,3556,3561,3565,3569,3573,3577,3581,3585,3589],{"type":37,"tag":111,"props":3531,"children":3532},{"style":496},[3533],{"type":43,"value":1562},{"type":37,"tag":111,"props":3535,"children":3536},{"style":213},[3537],{"type":43,"value":337},{"type":37,"tag":111,"props":3539,"children":3540},{"style":530},[3541],{"type":43,"value":3542}," isLoading",{"type":37,"tag":111,"props":3544,"children":3545},{"style":213},[3546],{"type":43,"value":538},{"type":37,"tag":111,"props":3548,"children":3549},{"style":340},[3550],{"type":43,"value":3551}," isConfirming",{"type":37,"tag":111,"props":3553,"children":3554},{"style":213},[3555],{"type":43,"value":348},{"type":37,"tag":111,"props":3557,"children":3558},{"style":340},[3559],{"type":43,"value":3560}," isSuccess",{"type":37,"tag":111,"props":3562,"children":3563},{"style":213},[3564],{"type":43,"value":358},{"type":37,"tag":111,"props":3566,"children":3567},{"style":213},[3568],{"type":43,"value":1607},{"type":37,"tag":111,"props":3570,"children":3571},{"style":512},[3572],{"type":43,"value":3377},{"type":37,"tag":111,"props":3574,"children":3575},{"style":530},[3576],{"type":43,"value":519},{"type":37,"tag":111,"props":3578,"children":3579},{"style":213},[3580],{"type":43,"value":1835},{"type":37,"tag":111,"props":3582,"children":3583},{"style":340},[3584],{"type":43,"value":3485},{"type":37,"tag":111,"props":3586,"children":3587},{"style":213},[3588],{"type":43,"value":358},{"type":37,"tag":111,"props":3590,"children":3591},{"style":530},[3592],{"type":43,"value":999},{"type":37,"tag":111,"props":3594,"children":3595},{"class":113,"line":576},[3596],{"type":37,"tag":111,"props":3597,"children":3598},{"emptyLinePlaceholder":148},[3599],{"type":43,"value":151},{"type":37,"tag":111,"props":3601,"children":3602},{"class":113,"line":594},[3603,3607],{"type":37,"tag":111,"props":3604,"children":3605},{"style":329},[3606],{"type":43,"value":1317},{"type":37,"tag":111,"props":3608,"children":3609},{"style":530},[3610],{"type":43,"value":1322},{"type":37,"tag":111,"props":3612,"children":3613},{"class":113,"line":611},[3614,3618,3622],{"type":37,"tag":111,"props":3615,"children":3616},{"style":213},[3617],{"type":43,"value":1330},{"type":37,"tag":111,"props":3619,"children":3620},{"style":530},[3621],{"type":43,"value":1805},{"type":37,"tag":111,"props":3623,"children":3624},{"style":213},[3625],{"type":43,"value":1420},{"type":37,"tag":111,"props":3627,"children":3628},{"class":113,"line":629},[3629,3633],{"type":37,"tag":111,"props":3630,"children":3631},{"style":213},[3632],{"type":43,"value":1362},{"type":37,"tag":111,"props":3634,"children":3635},{"style":530},[3636],{"type":43,"value":2075},{"type":37,"tag":111,"props":3638,"children":3639},{"class":113,"line":660},[3640,3644,3648,3652],{"type":37,"tag":111,"props":3641,"children":3642},{"style":496},[3643],{"type":43,"value":3091},{"type":37,"tag":111,"props":3645,"children":3646},{"style":213},[3647],{"type":43,"value":1344},{"type":37,"tag":111,"props":3649,"children":3650},{"style":340},[3651],{"type":43,"value":3100},{"type":37,"tag":111,"props":3653,"children":3654},{"style":213},[3655],{"type":43,"value":1096},{"type":37,"tag":111,"props":3657,"children":3658},{"class":113,"line":701},[3659,3663,3667],{"type":37,"tag":111,"props":3660,"children":3661},{"style":496},[3662],{"type":43,"value":3112},{"type":37,"tag":111,"props":3664,"children":3665},{"style":213},[3666],{"type":43,"value":1916},{"type":37,"tag":111,"props":3668,"children":3669},{"style":496},[3670],{"type":43,"value":3671}," =>\n",{"type":37,"tag":111,"props":3673,"children":3674},{"class":113,"line":731},[3675,3680,3684],{"type":37,"tag":111,"props":3676,"children":3677},{"style":512},[3678],{"type":43,"value":3679},"          sendTransaction",{"type":37,"tag":111,"props":3681,"children":3682},{"style":340},[3683],{"type":43,"value":519},{"type":37,"tag":111,"props":3685,"children":3686},{"style":213},[3687],{"type":43,"value":524},{"type":37,"tag":111,"props":3689,"children":3690},{"class":113,"line":740},[3691,3696,3700,3704,3709,3713],{"type":37,"tag":111,"props":3692,"children":3693},{"style":530},[3694],{"type":43,"value":3695},"            to",{"type":37,"tag":111,"props":3697,"children":3698},{"style":213},[3699],{"type":43,"value":538},{"type":37,"tag":111,"props":3701,"children":3702},{"style":213},[3703],{"type":43,"value":368},{"type":37,"tag":111,"props":3705,"children":3706},{"style":124},[3707],{"type":43,"value":3708},"0xRecipientAddress",{"type":37,"tag":111,"props":3710,"children":3711},{"style":213},[3712],{"type":43,"value":653},{"type":37,"tag":111,"props":3714,"children":3715},{"style":213},[3716],{"type":43,"value":573},{"type":37,"tag":111,"props":3718,"children":3719},{"class":113,"line":763},[3720,3725,3729,3733,3737,3741,3746,3750,3754],{"type":37,"tag":111,"props":3721,"children":3722},{"style":530},[3723],{"type":43,"value":3724},"            value",{"type":37,"tag":111,"props":3726,"children":3727},{"style":213},[3728],{"type":43,"value":538},{"type":37,"tag":111,"props":3730,"children":3731},{"style":512},[3732],{"type":43,"value":3413},{"type":37,"tag":111,"props":3734,"children":3735},{"style":340},[3736],{"type":43,"value":519},{"type":37,"tag":111,"props":3738,"children":3739},{"style":213},[3740],{"type":43,"value":653},{"type":37,"tag":111,"props":3742,"children":3743},{"style":124},[3744],{"type":43,"value":3745},"0.01",{"type":37,"tag":111,"props":3747,"children":3748},{"style":213},[3749],{"type":43,"value":653},{"type":37,"tag":111,"props":3751,"children":3752},{"style":340},[3753],{"type":43,"value":774},{"type":37,"tag":111,"props":3755,"children":3756},{"style":213},[3757],{"type":43,"value":573},{"type":37,"tag":111,"props":3759,"children":3760},{"class":113,"line":781},[3761,3766],{"type":37,"tag":111,"props":3762,"children":3763},{"style":213},[3764],{"type":43,"value":3765},"          }",{"type":37,"tag":111,"props":3767,"children":3768},{"style":340},[3769],{"type":43,"value":999},{"type":37,"tag":111,"props":3771,"children":3772},{"class":113,"line":794},[3773],{"type":37,"tag":111,"props":3774,"children":3775},{"style":213},[3776],{"type":43,"value":3777},"        }\n",{"type":37,"tag":111,"props":3779,"children":3780},{"class":113,"line":811},[3781],{"type":37,"tag":111,"props":3782,"children":3783},{"style":213},[3784],{"type":43,"value":3174},{"type":37,"tag":111,"props":3786,"children":3787},{"class":113,"line":856},[3788,3793,3798,3803,3807,3812,3816,3821,3825,3830,3834],{"type":37,"tag":111,"props":3789,"children":3790},{"style":213},[3791],{"type":43,"value":3792},"        {",{"type":37,"tag":111,"props":3794,"children":3795},{"style":340},[3796],{"type":43,"value":3797},"isPending ",{"type":37,"tag":111,"props":3799,"children":3800},{"style":213},[3801],{"type":43,"value":3802},"?",{"type":37,"tag":111,"props":3804,"children":3805},{"style":213},[3806],{"type":43,"value":368},{"type":37,"tag":111,"props":3808,"children":3809},{"style":124},[3810],{"type":43,"value":3811},"Sending...",{"type":37,"tag":111,"props":3813,"children":3814},{"style":213},[3815],{"type":43,"value":653},{"type":37,"tag":111,"props":3817,"children":3818},{"style":213},[3819],{"type":43,"value":3820}," :",{"type":37,"tag":111,"props":3822,"children":3823},{"style":213},[3824],{"type":43,"value":368},{"type":37,"tag":111,"props":3826,"children":3827},{"style":124},[3828],{"type":43,"value":3829},"Send 0.01 ETH",{"type":37,"tag":111,"props":3831,"children":3832},{"style":213},[3833],{"type":43,"value":653},{"type":37,"tag":111,"props":3835,"children":3836},{"style":213},[3837],{"type":43,"value":1096},{"type":37,"tag":111,"props":3839,"children":3840},{"class":113,"line":897},[3841,3845,3849],{"type":37,"tag":111,"props":3842,"children":3843},{"style":213},[3844],{"type":43,"value":1411},{"type":37,"tag":111,"props":3846,"children":3847},{"style":530},[3848],{"type":43,"value":1906},{"type":37,"tag":111,"props":3850,"children":3851},{"style":213},[3852],{"type":43,"value":1420},{"type":37,"tag":111,"props":3854,"children":3855},{"class":113,"line":938},[3856,3860,3865,3869,3873,3877,3881,3886,3890,3894],{"type":37,"tag":111,"props":3857,"children":3858},{"style":213},[3859],{"type":43,"value":2023},{"type":37,"tag":111,"props":3861,"children":3862},{"style":340},[3863],{"type":43,"value":3864},"isConfirming ",{"type":37,"tag":111,"props":3866,"children":3867},{"style":213},[3868],{"type":43,"value":2294},{"type":37,"tag":111,"props":3870,"children":3871},{"style":213},[3872],{"type":43,"value":2250},{"type":37,"tag":111,"props":3874,"children":3875},{"style":530},[3876],{"type":43,"value":228},{"type":37,"tag":111,"props":3878,"children":3879},{"style":213},[3880],{"type":43,"value":1825},{"type":37,"tag":111,"props":3882,"children":3883},{"style":340},[3884],{"type":43,"value":3885},"Confirming...",{"type":37,"tag":111,"props":3887,"children":3888},{"style":213},[3889],{"type":43,"value":1944},{"type":37,"tag":111,"props":3891,"children":3892},{"style":530},[3893],{"type":43,"value":228},{"type":37,"tag":111,"props":3895,"children":3896},{"style":213},[3897],{"type":43,"value":2276},{"type":37,"tag":111,"props":3899,"children":3900},{"class":113,"line":979},[3901,3905,3910,3914,3918,3922,3926,3931,3935,3940,3944,3948],{"type":37,"tag":111,"props":3902,"children":3903},{"style":213},[3904],{"type":43,"value":2023},{"type":37,"tag":111,"props":3906,"children":3907},{"style":340},[3908],{"type":43,"value":3909},"isSuccess ",{"type":37,"tag":111,"props":3911,"children":3912},{"style":213},[3913],{"type":43,"value":2294},{"type":37,"tag":111,"props":3915,"children":3916},{"style":213},[3917],{"type":43,"value":2250},{"type":37,"tag":111,"props":3919,"children":3920},{"style":530},[3921],{"type":43,"value":228},{"type":37,"tag":111,"props":3923,"children":3924},{"style":213},[3925],{"type":43,"value":1825},{"type":37,"tag":111,"props":3927,"children":3928},{"style":340},[3929],{"type":43,"value":3930},"Confirmed! Hash: ",{"type":37,"tag":111,"props":3932,"children":3933},{"style":213},[3934],{"type":43,"value":1835},{"type":37,"tag":111,"props":3936,"children":3937},{"style":340},[3938],{"type":43,"value":3939},"hash",{"type":37,"tag":111,"props":3941,"children":3942},{"style":213},[3943],{"type":43,"value":1845},{"type":37,"tag":111,"props":3945,"children":3946},{"style":530},[3947],{"type":43,"value":228},{"type":37,"tag":111,"props":3949,"children":3950},{"style":213},[3951],{"type":43,"value":2276},{"type":37,"tag":111,"props":3953,"children":3954},{"class":113,"line":988},[3955,3959,3963,3967,3971,3975,3979,3983,3987,3991,3995,3999,4003,4007],{"type":37,"tag":111,"props":3956,"children":3957},{"style":213},[3958],{"type":43,"value":2023},{"type":37,"tag":111,"props":3960,"children":3961},{"style":340},[3962],{"type":43,"value":2289},{"type":37,"tag":111,"props":3964,"children":3965},{"style":213},[3966],{"type":43,"value":2294},{"type":37,"tag":111,"props":3968,"children":3969},{"style":213},[3970],{"type":43,"value":2250},{"type":37,"tag":111,"props":3972,"children":3973},{"style":530},[3974],{"type":43,"value":228},{"type":37,"tag":111,"props":3976,"children":3977},{"style":213},[3978],{"type":43,"value":1825},{"type":37,"tag":111,"props":3980,"children":3981},{"style":340},[3982],{"type":43,"value":2311},{"type":37,"tag":111,"props":3984,"children":3985},{"style":213},[3986],{"type":43,"value":1835},{"type":37,"tag":111,"props":3988,"children":3989},{"style":340},[3990],{"type":43,"value":2320},{"type":37,"tag":111,"props":3992,"children":3993},{"style":213},[3994],{"type":43,"value":680},{"type":37,"tag":111,"props":3996,"children":3997},{"style":340},[3998],{"type":43,"value":2329},{"type":37,"tag":111,"props":4000,"children":4001},{"style":213},[4002],{"type":43,"value":1845},{"type":37,"tag":111,"props":4004,"children":4005},{"style":530},[4006],{"type":43,"value":228},{"type":37,"tag":111,"props":4008,"children":4009},{"style":213},[4010],{"type":43,"value":2276},{"type":37,"tag":111,"props":4012,"children":4013},{"class":113,"line":1002},[4014,4018,4022],{"type":37,"tag":111,"props":4015,"children":4016},{"style":213},[4017],{"type":43,"value":1428},{"type":37,"tag":111,"props":4019,"children":4020},{"style":530},[4021],{"type":43,"value":1805},{"type":37,"tag":111,"props":4023,"children":4024},{"style":213},[4025],{"type":43,"value":1420},{"type":37,"tag":111,"props":4027,"children":4028},{"class":113,"line":1010},[4029],{"type":37,"tag":111,"props":4030,"children":4031},{"style":530},[4032],{"type":43,"value":1444},{"type":37,"tag":111,"props":4034,"children":4035},{"class":113,"line":1040},[4036],{"type":37,"tag":111,"props":4037,"children":4038},{"style":213},[4039],{"type":43,"value":1096},{"type":37,"tag":93,"props":4041,"children":4043},{"id":4042},"step-8-connect-and-sign-optional",[4044],{"type":43,"value":4045},"Step 8: Connect and Sign (Optional)",{"type":37,"tag":228,"props":4047,"children":4048},{},[4049,4051,4057],{"type":43,"value":4050},"Use ",{"type":37,"tag":78,"props":4052,"children":4054},{"className":4053},[],[4055],{"type":43,"value":4056},"connectAndSign",{"type":43,"value":4058}," to prompt the user to connect and sign a message in a single flow:",{"type":37,"tag":100,"props":4060,"children":4062},{"className":317,"code":4061,"language":319,"meta":105,"style":105},"metaMask({\n  dapp: { name: 'My Dapp' },\n  connectAndSign: 'By signing this message, you agree to our Terms of Service.',\n})\n",[4063],{"type":37,"tag":78,"props":4064,"children":4065},{"__ignoreMap":105},[4066,4082,4124,4153],{"type":37,"tag":111,"props":4067,"children":4068},{"class":113,"line":114},[4069,4074,4078],{"type":37,"tag":111,"props":4070,"children":4071},{"style":512},[4072],{"type":43,"value":4073},"metaMask",{"type":37,"tag":111,"props":4075,"children":4076},{"style":340},[4077],{"type":43,"value":519},{"type":37,"tag":111,"props":4079,"children":4080},{"style":213},[4081],{"type":43,"value":524},{"type":37,"tag":111,"props":4083,"children":4084},{"class":113,"line":21},[4085,4090,4094,4098,4103,4107,4111,4115,4119],{"type":37,"tag":111,"props":4086,"children":4087},{"style":530},[4088],{"type":43,"value":4089},"  dapp",{"type":37,"tag":111,"props":4091,"children":4092},{"style":213},[4093],{"type":43,"value":538},{"type":37,"tag":111,"props":4095,"children":4096},{"style":213},[4097],{"type":43,"value":337},{"type":37,"tag":111,"props":4099,"children":4100},{"style":530},[4101],{"type":43,"value":4102}," name",{"type":37,"tag":111,"props":4104,"children":4105},{"style":213},[4106],{"type":43,"value":538},{"type":37,"tag":111,"props":4108,"children":4109},{"style":213},[4110],{"type":43,"value":368},{"type":37,"tag":111,"props":4112,"children":4113},{"style":124},[4114],{"type":43,"value":648},{"type":37,"tag":111,"props":4116,"children":4117},{"style":213},[4118],{"type":43,"value":653},{"type":37,"tag":111,"props":4120,"children":4121},{"style":213},[4122],{"type":43,"value":4123}," },\n",{"type":37,"tag":111,"props":4125,"children":4126},{"class":113,"line":154},[4127,4132,4136,4140,4145,4149],{"type":37,"tag":111,"props":4128,"children":4129},{"style":530},[4130],{"type":43,"value":4131},"  connectAndSign",{"type":37,"tag":111,"props":4133,"children":4134},{"style":213},[4135],{"type":43,"value":538},{"type":37,"tag":111,"props":4137,"children":4138},{"style":213},[4139],{"type":43,"value":368},{"type":37,"tag":111,"props":4141,"children":4142},{"style":124},[4143],{"type":43,"value":4144},"By signing this message, you agree to our Terms of Service.",{"type":37,"tag":111,"props":4146,"children":4147},{"style":213},[4148],{"type":43,"value":653},{"type":37,"tag":111,"props":4150,"children":4151},{"style":213},[4152],{"type":43,"value":573},{"type":37,"tag":111,"props":4154,"children":4155},{"class":113,"line":164},[4156,4160],{"type":37,"tag":111,"props":4157,"children":4158},{"style":213},[4159],{"type":43,"value":994},{"type":37,"tag":111,"props":4161,"children":4162},{"style":340},[4163],{"type":43,"value":999},{"type":37,"tag":228,"props":4165,"children":4166},{},[4167,4169,4175],{"type":43,"value":4168},"The signed message is emitted on the provider as a ",{"type":37,"tag":78,"props":4170,"children":4172},{"className":4171},[],[4173],{"type":43,"value":4174},"'connectAndSign'",{"type":43,"value":4176}," event:",{"type":37,"tag":100,"props":4178,"children":4180},{"className":317,"code":4179,"language":319,"meta":105,"style":105},"const connector = config.connectors[0]\nconst provider = await connector.getProvider()\nprovider.on('connectAndSign', ({ accounts, chainId, signature }) => {\n  console.log('Connected accounts:', accounts)\n  console.log('Chain ID:', chainId)  \u002F\u002F hex string e.g. '0x1'\n  console.log('Signature:', signature)\n})\n",[4181],{"type":37,"tag":78,"props":4182,"children":4183},{"__ignoreMap":105},[4184,4223,4262,4339,4385,4435,4479],{"type":37,"tag":111,"props":4185,"children":4186},{"class":113,"line":114},[4187,4191,4195,4199,4203,4207,4212,4218],{"type":37,"tag":111,"props":4188,"children":4189},{"style":496},[4190],{"type":43,"value":1258},{"type":37,"tag":111,"props":4192,"children":4193},{"style":340},[4194],{"type":43,"value":2137},{"type":37,"tag":111,"props":4196,"children":4197},{"style":213},[4198],{"type":43,"value":509},{"type":37,"tag":111,"props":4200,"children":4201},{"style":340},[4202],{"type":43,"value":1222},{"type":37,"tag":111,"props":4204,"children":4205},{"style":213},[4206],{"type":43,"value":680},{"type":37,"tag":111,"props":4208,"children":4209},{"style":340},[4210],{"type":43,"value":4211},"connectors[",{"type":37,"tag":111,"props":4213,"children":4215},{"style":4214},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[4216],{"type":43,"value":4217},"0",{"type":37,"tag":111,"props":4219,"children":4220},{"style":340},[4221],{"type":43,"value":4222},"]\n",{"type":37,"tag":111,"props":4224,"children":4225},{"class":113,"line":21},[4226,4230,4235,4239,4244,4249,4253,4258],{"type":37,"tag":111,"props":4227,"children":4228},{"style":496},[4229],{"type":43,"value":1258},{"type":37,"tag":111,"props":4231,"children":4232},{"style":340},[4233],{"type":43,"value":4234}," provider ",{"type":37,"tag":111,"props":4236,"children":4237},{"style":213},[4238],{"type":43,"value":509},{"type":37,"tag":111,"props":4240,"children":4241},{"style":329},[4242],{"type":43,"value":4243}," await",{"type":37,"tag":111,"props":4245,"children":4246},{"style":340},[4247],{"type":43,"value":4248}," connector",{"type":37,"tag":111,"props":4250,"children":4251},{"style":213},[4252],{"type":43,"value":680},{"type":37,"tag":111,"props":4254,"children":4255},{"style":512},[4256],{"type":43,"value":4257},"getProvider",{"type":37,"tag":111,"props":4259,"children":4260},{"style":340},[4261],{"type":43,"value":1281},{"type":37,"tag":111,"props":4263,"children":4264},{"class":113,"line":154},[4265,4270,4274,4279,4283,4287,4291,4295,4299,4304,4309,4313,4317,4321,4326,4331,4335],{"type":37,"tag":111,"props":4266,"children":4267},{"style":340},[4268],{"type":43,"value":4269},"provider",{"type":37,"tag":111,"props":4271,"children":4272},{"style":213},[4273],{"type":43,"value":680},{"type":37,"tag":111,"props":4275,"children":4276},{"style":512},[4277],{"type":43,"value":4278},"on",{"type":37,"tag":111,"props":4280,"children":4281},{"style":340},[4282],{"type":43,"value":519},{"type":37,"tag":111,"props":4284,"children":4285},{"style":213},[4286],{"type":43,"value":653},{"type":37,"tag":111,"props":4288,"children":4289},{"style":124},[4290],{"type":43,"value":4056},{"type":37,"tag":111,"props":4292,"children":4293},{"style":213},[4294],{"type":43,"value":653},{"type":37,"tag":111,"props":4296,"children":4297},{"style":213},[4298],{"type":43,"value":348},{"type":37,"tag":111,"props":4300,"children":4301},{"style":213},[4302],{"type":43,"value":4303}," ({",{"type":37,"tag":111,"props":4305,"children":4306},{"style":2048},[4307],{"type":43,"value":4308}," accounts",{"type":37,"tag":111,"props":4310,"children":4311},{"style":213},[4312],{"type":43,"value":348},{"type":37,"tag":111,"props":4314,"children":4315},{"style":2048},[4316],{"type":43,"value":1664},{"type":37,"tag":111,"props":4318,"children":4319},{"style":213},[4320],{"type":43,"value":348},{"type":37,"tag":111,"props":4322,"children":4323},{"style":2048},[4324],{"type":43,"value":4325}," signature",{"type":37,"tag":111,"props":4327,"children":4328},{"style":213},[4329],{"type":43,"value":4330}," })",{"type":37,"tag":111,"props":4332,"children":4333},{"style":496},[4334],{"type":43,"value":1921},{"type":37,"tag":111,"props":4336,"children":4337},{"style":213},[4338],{"type":43,"value":626},{"type":37,"tag":111,"props":4340,"children":4341},{"class":113,"line":164},[4342,4347,4351,4356,4360,4364,4369,4373,4377,4381],{"type":37,"tag":111,"props":4343,"children":4344},{"style":340},[4345],{"type":43,"value":4346},"  console",{"type":37,"tag":111,"props":4348,"children":4349},{"style":213},[4350],{"type":43,"value":680},{"type":37,"tag":111,"props":4352,"children":4353},{"style":512},[4354],{"type":43,"value":4355},"log",{"type":37,"tag":111,"props":4357,"children":4358},{"style":530},[4359],{"type":43,"value":519},{"type":37,"tag":111,"props":4361,"children":4362},{"style":213},[4363],{"type":43,"value":653},{"type":37,"tag":111,"props":4365,"children":4366},{"style":124},[4367],{"type":43,"value":4368},"Connected accounts:",{"type":37,"tag":111,"props":4370,"children":4371},{"style":213},[4372],{"type":43,"value":653},{"type":37,"tag":111,"props":4374,"children":4375},{"style":213},[4376],{"type":43,"value":348},{"type":37,"tag":111,"props":4378,"children":4379},{"style":340},[4380],{"type":43,"value":4308},{"type":37,"tag":111,"props":4382,"children":4383},{"style":530},[4384],{"type":43,"value":999},{"type":37,"tag":111,"props":4386,"children":4387},{"class":113,"line":187},[4388,4392,4396,4400,4404,4408,4413,4417,4421,4425,4430],{"type":37,"tag":111,"props":4389,"children":4390},{"style":340},[4391],{"type":43,"value":4346},{"type":37,"tag":111,"props":4393,"children":4394},{"style":213},[4395],{"type":43,"value":680},{"type":37,"tag":111,"props":4397,"children":4398},{"style":512},[4399],{"type":43,"value":4355},{"type":37,"tag":111,"props":4401,"children":4402},{"style":530},[4403],{"type":43,"value":519},{"type":37,"tag":111,"props":4405,"children":4406},{"style":213},[4407],{"type":43,"value":653},{"type":37,"tag":111,"props":4409,"children":4410},{"style":124},[4411],{"type":43,"value":4412},"Chain ID:",{"type":37,"tag":111,"props":4414,"children":4415},{"style":213},[4416],{"type":43,"value":653},{"type":37,"tag":111,"props":4418,"children":4419},{"style":213},[4420],{"type":43,"value":348},{"type":37,"tag":111,"props":4422,"children":4423},{"style":340},[4424],{"type":43,"value":1664},{"type":37,"tag":111,"props":4426,"children":4427},{"style":530},[4428],{"type":43,"value":4429},")  ",{"type":37,"tag":111,"props":4431,"children":4432},{"style":158},[4433],{"type":43,"value":4434},"\u002F\u002F hex string e.g. '0x1'\n",{"type":37,"tag":111,"props":4436,"children":4437},{"class":113,"line":196},[4438,4442,4446,4450,4454,4458,4463,4467,4471,4475],{"type":37,"tag":111,"props":4439,"children":4440},{"style":340},[4441],{"type":43,"value":4346},{"type":37,"tag":111,"props":4443,"children":4444},{"style":213},[4445],{"type":43,"value":680},{"type":37,"tag":111,"props":4447,"children":4448},{"style":512},[4449],{"type":43,"value":4355},{"type":37,"tag":111,"props":4451,"children":4452},{"style":530},[4453],{"type":43,"value":519},{"type":37,"tag":111,"props":4455,"children":4456},{"style":213},[4457],{"type":43,"value":653},{"type":37,"tag":111,"props":4459,"children":4460},{"style":124},[4461],{"type":43,"value":4462},"Signature:",{"type":37,"tag":111,"props":4464,"children":4465},{"style":213},[4466],{"type":43,"value":653},{"type":37,"tag":111,"props":4468,"children":4469},{"style":213},[4470],{"type":43,"value":348},{"type":37,"tag":111,"props":4472,"children":4473},{"style":340},[4474],{"type":43,"value":4325},{"type":37,"tag":111,"props":4476,"children":4477},{"style":530},[4478],{"type":43,"value":999},{"type":37,"tag":111,"props":4480,"children":4481},{"class":113,"line":576},[4482,4486],{"type":37,"tag":111,"props":4483,"children":4484},{"style":213},[4485],{"type":43,"value":994},{"type":37,"tag":111,"props":4487,"children":4488},{"style":340},[4489],{"type":43,"value":999},{"type":37,"tag":93,"props":4491,"children":4493},{"id":4492},"step-9-connectwith-optional",[4494],{"type":43,"value":4495},"Step 9: ConnectWith (Optional)",{"type":37,"tag":228,"props":4497,"children":4498},{},[4499,4500,4506],{"type":43,"value":4050},{"type":37,"tag":78,"props":4501,"children":4503},{"className":4502},[],[4504],{"type":43,"value":4505},"connectWith",{"type":43,"value":4507}," to connect and execute an RPC method in a single flow:",{"type":37,"tag":100,"props":4509,"children":4511},{"className":317,"code":4510,"language":319,"meta":105,"style":105},"metaMask({\n  dapp: { name: 'My Dapp' },\n  connectWith: {\n    method: 'eth_signTypedData_v4',\n    params: [address, JSON.stringify(typedData)],\n  },\n})\n",[4512],{"type":37,"tag":78,"props":4513,"children":4514},{"__ignoreMap":105},[4515,4530,4569,4585,4614,4658,4665],{"type":37,"tag":111,"props":4516,"children":4517},{"class":113,"line":114},[4518,4522,4526],{"type":37,"tag":111,"props":4519,"children":4520},{"style":512},[4521],{"type":43,"value":4073},{"type":37,"tag":111,"props":4523,"children":4524},{"style":340},[4525],{"type":43,"value":519},{"type":37,"tag":111,"props":4527,"children":4528},{"style":213},[4529],{"type":43,"value":524},{"type":37,"tag":111,"props":4531,"children":4532},{"class":113,"line":21},[4533,4537,4541,4545,4549,4553,4557,4561,4565],{"type":37,"tag":111,"props":4534,"children":4535},{"style":530},[4536],{"type":43,"value":4089},{"type":37,"tag":111,"props":4538,"children":4539},{"style":213},[4540],{"type":43,"value":538},{"type":37,"tag":111,"props":4542,"children":4543},{"style":213},[4544],{"type":43,"value":337},{"type":37,"tag":111,"props":4546,"children":4547},{"style":530},[4548],{"type":43,"value":4102},{"type":37,"tag":111,"props":4550,"children":4551},{"style":213},[4552],{"type":43,"value":538},{"type":37,"tag":111,"props":4554,"children":4555},{"style":213},[4556],{"type":43,"value":368},{"type":37,"tag":111,"props":4558,"children":4559},{"style":124},[4560],{"type":43,"value":648},{"type":37,"tag":111,"props":4562,"children":4563},{"style":213},[4564],{"type":43,"value":653},{"type":37,"tag":111,"props":4566,"children":4567},{"style":213},[4568],{"type":43,"value":4123},{"type":37,"tag":111,"props":4570,"children":4571},{"class":113,"line":154},[4572,4577,4581],{"type":37,"tag":111,"props":4573,"children":4574},{"style":530},[4575],{"type":43,"value":4576},"  connectWith",{"type":37,"tag":111,"props":4578,"children":4579},{"style":213},[4580],{"type":43,"value":538},{"type":37,"tag":111,"props":4582,"children":4583},{"style":213},[4584],{"type":43,"value":626},{"type":37,"tag":111,"props":4586,"children":4587},{"class":113,"line":164},[4588,4593,4597,4601,4606,4610],{"type":37,"tag":111,"props":4589,"children":4590},{"style":530},[4591],{"type":43,"value":4592},"    method",{"type":37,"tag":111,"props":4594,"children":4595},{"style":213},[4596],{"type":43,"value":538},{"type":37,"tag":111,"props":4598,"children":4599},{"style":213},[4600],{"type":43,"value":368},{"type":37,"tag":111,"props":4602,"children":4603},{"style":124},[4604],{"type":43,"value":4605},"eth_signTypedData_v4",{"type":37,"tag":111,"props":4607,"children":4608},{"style":213},[4609],{"type":43,"value":653},{"type":37,"tag":111,"props":4611,"children":4612},{"style":213},[4613],{"type":43,"value":573},{"type":37,"tag":111,"props":4615,"children":4616},{"class":113,"line":187},[4617,4622,4626,4631,4635,4640,4644,4649,4654],{"type":37,"tag":111,"props":4618,"children":4619},{"style":530},[4620],{"type":43,"value":4621},"    params",{"type":37,"tag":111,"props":4623,"children":4624},{"style":213},[4625],{"type":43,"value":538},{"type":37,"tag":111,"props":4627,"children":4628},{"style":340},[4629],{"type":43,"value":4630}," [address",{"type":37,"tag":111,"props":4632,"children":4633},{"style":213},[4634],{"type":43,"value":348},{"type":37,"tag":111,"props":4636,"children":4637},{"style":340},[4638],{"type":43,"value":4639}," JSON",{"type":37,"tag":111,"props":4641,"children":4642},{"style":213},[4643],{"type":43,"value":680},{"type":37,"tag":111,"props":4645,"children":4646},{"style":512},[4647],{"type":43,"value":4648},"stringify",{"type":37,"tag":111,"props":4650,"children":4651},{"style":340},[4652],{"type":43,"value":4653},"(typedData)]",{"type":37,"tag":111,"props":4655,"children":4656},{"style":213},[4657],{"type":43,"value":573},{"type":37,"tag":111,"props":4659,"children":4660},{"class":113,"line":196},[4661],{"type":37,"tag":111,"props":4662,"children":4663},{"style":213},[4664],{"type":43,"value":985},{"type":37,"tag":111,"props":4666,"children":4667},{"class":113,"line":576},[4668,4672],{"type":37,"tag":111,"props":4669,"children":4670},{"style":213},[4671],{"type":43,"value":994},{"type":37,"tag":111,"props":4673,"children":4674},{"style":340},[4675],{"type":43,"value":999},{"type":37,"tag":46,"props":4677,"children":4679},{"id":4678},"metamask-connector-parameters-reference",[4680],{"type":43,"value":4681},"MetaMask Connector Parameters Reference",{"type":37,"tag":100,"props":4683,"children":4685},{"className":317,"code":4684,"language":319,"meta":105,"style":105},"type MetaMaskParameters = {\n  dapp?: {\n    name: string\n    url?: string\n    iconUrl?: string\n  }\n  debug?: boolean\n  mobile?: {\n    preferredOpenLink?: (deeplink: string, target?: string) => void\n    useDeeplink?: boolean\n  }\n  ui?: {\n    headless?: boolean\n    preferExtension?: boolean\n    showInstallModal?: boolean\n  }\n  \u002F\u002F One of:\n  connectAndSign?: string\n  \u002F\u002F OR\n  connectWith?: { method: string; params: unknown[] }\n\n  \u002F\u002F Deprecated (still functional):\n  dappMetadata?: { name: string; url?: string }  \u002F\u002F use dapp instead\n  logging?: unknown                                \u002F\u002F use debug instead\n}\n",[4686],{"type":37,"tag":78,"props":4687,"children":4688},{"__ignoreMap":105},[4689,4710,4726,4743,4759,4775,4782,4799,4815,4875,4891,4898,4914,4930,4946,4962,4969,4977,4992,5000,5056,5063,5071,5125,5146],{"type":37,"tag":111,"props":4690,"children":4691},{"class":113,"line":114},[4692,4697,4702,4706],{"type":37,"tag":111,"props":4693,"children":4694},{"style":496},[4695],{"type":43,"value":4696},"type",{"type":37,"tag":111,"props":4698,"children":4699},{"style":118},[4700],{"type":43,"value":4701}," MetaMaskParameters",{"type":37,"tag":111,"props":4703,"children":4704},{"style":213},[4705],{"type":43,"value":1607},{"type":37,"tag":111,"props":4707,"children":4708},{"style":213},[4709],{"type":43,"value":626},{"type":37,"tag":111,"props":4711,"children":4712},{"class":113,"line":21},[4713,4717,4722],{"type":37,"tag":111,"props":4714,"children":4715},{"style":530},[4716],{"type":43,"value":4089},{"type":37,"tag":111,"props":4718,"children":4719},{"style":213},[4720],{"type":43,"value":4721},"?:",{"type":37,"tag":111,"props":4723,"children":4724},{"style":213},[4725],{"type":43,"value":626},{"type":37,"tag":111,"props":4727,"children":4728},{"class":113,"line":154},[4729,4734,4738],{"type":37,"tag":111,"props":4730,"children":4731},{"style":530},[4732],{"type":43,"value":4733},"    name",{"type":37,"tag":111,"props":4735,"children":4736},{"style":213},[4737],{"type":43,"value":538},{"type":37,"tag":111,"props":4739,"children":4740},{"style":118},[4741],{"type":43,"value":4742}," string\n",{"type":37,"tag":111,"props":4744,"children":4745},{"class":113,"line":164},[4746,4751,4755],{"type":37,"tag":111,"props":4747,"children":4748},{"style":530},[4749],{"type":43,"value":4750},"    url",{"type":37,"tag":111,"props":4752,"children":4753},{"style":213},[4754],{"type":43,"value":4721},{"type":37,"tag":111,"props":4756,"children":4757},{"style":118},[4758],{"type":43,"value":4742},{"type":37,"tag":111,"props":4760,"children":4761},{"class":113,"line":187},[4762,4767,4771],{"type":37,"tag":111,"props":4763,"children":4764},{"style":530},[4765],{"type":43,"value":4766},"    iconUrl",{"type":37,"tag":111,"props":4768,"children":4769},{"style":213},[4770],{"type":43,"value":4721},{"type":37,"tag":111,"props":4772,"children":4773},{"style":118},[4774],{"type":43,"value":4742},{"type":37,"tag":111,"props":4776,"children":4777},{"class":113,"line":196},[4778],{"type":37,"tag":111,"props":4779,"children":4780},{"style":213},[4781],{"type":43,"value":1087},{"type":37,"tag":111,"props":4783,"children":4784},{"class":113,"line":576},[4785,4790,4794],{"type":37,"tag":111,"props":4786,"children":4787},{"style":530},[4788],{"type":43,"value":4789},"  debug",{"type":37,"tag":111,"props":4791,"children":4792},{"style":213},[4793],{"type":43,"value":4721},{"type":37,"tag":111,"props":4795,"children":4796},{"style":118},[4797],{"type":43,"value":4798}," boolean\n",{"type":37,"tag":111,"props":4800,"children":4801},{"class":113,"line":594},[4802,4807,4811],{"type":37,"tag":111,"props":4803,"children":4804},{"style":530},[4805],{"type":43,"value":4806},"  mobile",{"type":37,"tag":111,"props":4808,"children":4809},{"style":213},[4810],{"type":43,"value":4721},{"type":37,"tag":111,"props":4812,"children":4813},{"style":213},[4814],{"type":43,"value":626},{"type":37,"tag":111,"props":4816,"children":4817},{"class":113,"line":611},[4818,4823,4827,4831,4836,4840,4845,4849,4854,4858,4862,4866,4870],{"type":37,"tag":111,"props":4819,"children":4820},{"style":530},[4821],{"type":43,"value":4822},"    preferredOpenLink",{"type":37,"tag":111,"props":4824,"children":4825},{"style":213},[4826],{"type":43,"value":4721},{"type":37,"tag":111,"props":4828,"children":4829},{"style":213},[4830],{"type":43,"value":1749},{"type":37,"tag":111,"props":4832,"children":4833},{"style":2048},[4834],{"type":43,"value":4835},"deeplink",{"type":37,"tag":111,"props":4837,"children":4838},{"style":213},[4839],{"type":43,"value":538},{"type":37,"tag":111,"props":4841,"children":4842},{"style":118},[4843],{"type":43,"value":4844}," string",{"type":37,"tag":111,"props":4846,"children":4847},{"style":213},[4848],{"type":43,"value":348},{"type":37,"tag":111,"props":4850,"children":4851},{"style":2048},[4852],{"type":43,"value":4853}," target",{"type":37,"tag":111,"props":4855,"children":4856},{"style":213},[4857],{"type":43,"value":4721},{"type":37,"tag":111,"props":4859,"children":4860},{"style":118},[4861],{"type":43,"value":4844},{"type":37,"tag":111,"props":4863,"children":4864},{"style":213},[4865],{"type":43,"value":774},{"type":37,"tag":111,"props":4867,"children":4868},{"style":496},[4869],{"type":43,"value":1921},{"type":37,"tag":111,"props":4871,"children":4872},{"style":118},[4873],{"type":43,"value":4874}," void\n",{"type":37,"tag":111,"props":4876,"children":4877},{"class":113,"line":629},[4878,4883,4887],{"type":37,"tag":111,"props":4879,"children":4880},{"style":530},[4881],{"type":43,"value":4882},"    useDeeplink",{"type":37,"tag":111,"props":4884,"children":4885},{"style":213},[4886],{"type":43,"value":4721},{"type":37,"tag":111,"props":4888,"children":4889},{"style":118},[4890],{"type":43,"value":4798},{"type":37,"tag":111,"props":4892,"children":4893},{"class":113,"line":660},[4894],{"type":37,"tag":111,"props":4895,"children":4896},{"style":213},[4897],{"type":43,"value":1087},{"type":37,"tag":111,"props":4899,"children":4900},{"class":113,"line":701},[4901,4906,4910],{"type":37,"tag":111,"props":4902,"children":4903},{"style":530},[4904],{"type":43,"value":4905},"  ui",{"type":37,"tag":111,"props":4907,"children":4908},{"style":213},[4909],{"type":43,"value":4721},{"type":37,"tag":111,"props":4911,"children":4912},{"style":213},[4913],{"type":43,"value":626},{"type":37,"tag":111,"props":4915,"children":4916},{"class":113,"line":731},[4917,4922,4926],{"type":37,"tag":111,"props":4918,"children":4919},{"style":530},[4920],{"type":43,"value":4921},"    headless",{"type":37,"tag":111,"props":4923,"children":4924},{"style":213},[4925],{"type":43,"value":4721},{"type":37,"tag":111,"props":4927,"children":4928},{"style":118},[4929],{"type":43,"value":4798},{"type":37,"tag":111,"props":4931,"children":4932},{"class":113,"line":740},[4933,4938,4942],{"type":37,"tag":111,"props":4934,"children":4935},{"style":530},[4936],{"type":43,"value":4937},"    preferExtension",{"type":37,"tag":111,"props":4939,"children":4940},{"style":213},[4941],{"type":43,"value":4721},{"type":37,"tag":111,"props":4943,"children":4944},{"style":118},[4945],{"type":43,"value":4798},{"type":37,"tag":111,"props":4947,"children":4948},{"class":113,"line":763},[4949,4954,4958],{"type":37,"tag":111,"props":4950,"children":4951},{"style":530},[4952],{"type":43,"value":4953},"    showInstallModal",{"type":37,"tag":111,"props":4955,"children":4956},{"style":213},[4957],{"type":43,"value":4721},{"type":37,"tag":111,"props":4959,"children":4960},{"style":118},[4961],{"type":43,"value":4798},{"type":37,"tag":111,"props":4963,"children":4964},{"class":113,"line":781},[4965],{"type":37,"tag":111,"props":4966,"children":4967},{"style":213},[4968],{"type":43,"value":1087},{"type":37,"tag":111,"props":4970,"children":4971},{"class":113,"line":794},[4972],{"type":37,"tag":111,"props":4973,"children":4974},{"style":158},[4975],{"type":43,"value":4976},"  \u002F\u002F One of:\n",{"type":37,"tag":111,"props":4978,"children":4979},{"class":113,"line":811},[4980,4984,4988],{"type":37,"tag":111,"props":4981,"children":4982},{"style":530},[4983],{"type":43,"value":4131},{"type":37,"tag":111,"props":4985,"children":4986},{"style":213},[4987],{"type":43,"value":4721},{"type":37,"tag":111,"props":4989,"children":4990},{"style":118},[4991],{"type":43,"value":4742},{"type":37,"tag":111,"props":4993,"children":4994},{"class":113,"line":856},[4995],{"type":37,"tag":111,"props":4996,"children":4997},{"style":158},[4998],{"type":43,"value":4999},"  \u002F\u002F OR\n",{"type":37,"tag":111,"props":5001,"children":5002},{"class":113,"line":897},[5003,5007,5011,5015,5020,5024,5028,5033,5038,5042,5047,5052],{"type":37,"tag":111,"props":5004,"children":5005},{"style":530},[5006],{"type":43,"value":4576},{"type":37,"tag":111,"props":5008,"children":5009},{"style":213},[5010],{"type":43,"value":4721},{"type":37,"tag":111,"props":5012,"children":5013},{"style":213},[5014],{"type":43,"value":337},{"type":37,"tag":111,"props":5016,"children":5017},{"style":530},[5018],{"type":43,"value":5019}," method",{"type":37,"tag":111,"props":5021,"children":5022},{"style":213},[5023],{"type":43,"value":538},{"type":37,"tag":111,"props":5025,"children":5026},{"style":118},[5027],{"type":43,"value":4844},{"type":37,"tag":111,"props":5029,"children":5030},{"style":213},[5031],{"type":43,"value":5032},";",{"type":37,"tag":111,"props":5034,"children":5035},{"style":530},[5036],{"type":43,"value":5037}," params",{"type":37,"tag":111,"props":5039,"children":5040},{"style":213},[5041],{"type":43,"value":538},{"type":37,"tag":111,"props":5043,"children":5044},{"style":118},[5045],{"type":43,"value":5046}," unknown",{"type":37,"tag":111,"props":5048,"children":5049},{"style":340},[5050],{"type":43,"value":5051},"[] ",{"type":37,"tag":111,"props":5053,"children":5054},{"style":213},[5055],{"type":43,"value":1096},{"type":37,"tag":111,"props":5057,"children":5058},{"class":113,"line":938},[5059],{"type":37,"tag":111,"props":5060,"children":5061},{"emptyLinePlaceholder":148},[5062],{"type":43,"value":151},{"type":37,"tag":111,"props":5064,"children":5065},{"class":113,"line":979},[5066],{"type":37,"tag":111,"props":5067,"children":5068},{"style":158},[5069],{"type":43,"value":5070},"  \u002F\u002F Deprecated (still functional):\n",{"type":37,"tag":111,"props":5072,"children":5073},{"class":113,"line":988},[5074,5079,5083,5087,5091,5095,5099,5103,5108,5112,5116,5120],{"type":37,"tag":111,"props":5075,"children":5076},{"style":530},[5077],{"type":43,"value":5078},"  dappMetadata",{"type":37,"tag":111,"props":5080,"children":5081},{"style":213},[5082],{"type":43,"value":4721},{"type":37,"tag":111,"props":5084,"children":5085},{"style":213},[5086],{"type":43,"value":337},{"type":37,"tag":111,"props":5088,"children":5089},{"style":530},[5090],{"type":43,"value":4102},{"type":37,"tag":111,"props":5092,"children":5093},{"style":213},[5094],{"type":43,"value":538},{"type":37,"tag":111,"props":5096,"children":5097},{"style":118},[5098],{"type":43,"value":4844},{"type":37,"tag":111,"props":5100,"children":5101},{"style":213},[5102],{"type":43,"value":5032},{"type":37,"tag":111,"props":5104,"children":5105},{"style":530},[5106],{"type":43,"value":5107}," url",{"type":37,"tag":111,"props":5109,"children":5110},{"style":213},[5111],{"type":43,"value":4721},{"type":37,"tag":111,"props":5113,"children":5114},{"style":118},[5115],{"type":43,"value":4844},{"type":37,"tag":111,"props":5117,"children":5118},{"style":213},[5119],{"type":43,"value":358},{"type":37,"tag":111,"props":5121,"children":5122},{"style":158},[5123],{"type":43,"value":5124},"  \u002F\u002F use dapp instead\n",{"type":37,"tag":111,"props":5126,"children":5127},{"class":113,"line":1002},[5128,5133,5137,5141],{"type":37,"tag":111,"props":5129,"children":5130},{"style":530},[5131],{"type":43,"value":5132},"  logging",{"type":37,"tag":111,"props":5134,"children":5135},{"style":213},[5136],{"type":43,"value":4721},{"type":37,"tag":111,"props":5138,"children":5139},{"style":118},[5140],{"type":43,"value":5046},{"type":37,"tag":111,"props":5142,"children":5143},{"style":158},[5144],{"type":43,"value":5145},"                                \u002F\u002F use debug instead\n",{"type":37,"tag":111,"props":5147,"children":5148},{"class":113,"line":1010},[5149],{"type":37,"tag":111,"props":5150,"children":5151},{"style":213},[5152],{"type":43,"value":1096},{"type":37,"tag":46,"props":5154,"children":5156},{"id":5155},"react-native-setup",[5157],{"type":43,"value":5158},"React Native Setup",{"type":37,"tag":228,"props":5160,"children":5161},{},[5162],{"type":43,"value":5163},"For React Native apps using wagmi with MetaMask:",{"type":37,"tag":100,"props":5165,"children":5167},{"className":317,"code":5166,"language":319,"meta":105,"style":105},"import { Linking } from 'react-native'\nimport { metaMask } from 'wagmi\u002Fconnectors'\n\nmetaMask({\n  dapp: {\n    name: 'My RN App',\n    url: 'https:\u002F\u002Fmyapp.com',\n  },\n  mobile: {\n    preferredOpenLink: (link) => Linking.openURL(link),\n    useDeeplink: true,\n  },\n})\n",[5168],{"type":37,"tag":78,"props":5169,"children":5170},{"__ignoreMap":105},[5171,5208,5243,5250,5265,5280,5308,5336,5343,5358,5408,5428,5435],{"type":37,"tag":111,"props":5172,"children":5173},{"class":113,"line":114},[5174,5178,5182,5187,5191,5195,5199,5204],{"type":37,"tag":111,"props":5175,"children":5176},{"style":329},[5177],{"type":43,"value":332},{"type":37,"tag":111,"props":5179,"children":5180},{"style":213},[5181],{"type":43,"value":337},{"type":37,"tag":111,"props":5183,"children":5184},{"style":340},[5185],{"type":43,"value":5186}," Linking",{"type":37,"tag":111,"props":5188,"children":5189},{"style":213},[5190],{"type":43,"value":358},{"type":37,"tag":111,"props":5192,"children":5193},{"style":329},[5194],{"type":43,"value":363},{"type":37,"tag":111,"props":5196,"children":5197},{"style":213},[5198],{"type":43,"value":368},{"type":37,"tag":111,"props":5200,"children":5201},{"style":124},[5202],{"type":43,"value":5203},"react-native",{"type":37,"tag":111,"props":5205,"children":5206},{"style":213},[5207],{"type":43,"value":377},{"type":37,"tag":111,"props":5209,"children":5210},{"class":113,"line":21},[5211,5215,5219,5223,5227,5231,5235,5239],{"type":37,"tag":111,"props":5212,"children":5213},{"style":329},[5214],{"type":43,"value":332},{"type":37,"tag":111,"props":5216,"children":5217},{"style":213},[5218],{"type":43,"value":337},{"type":37,"tag":111,"props":5220,"children":5221},{"style":340},[5222],{"type":43,"value":457},{"type":37,"tag":111,"props":5224,"children":5225},{"style":213},[5226],{"type":43,"value":358},{"type":37,"tag":111,"props":5228,"children":5229},{"style":329},[5230],{"type":43,"value":363},{"type":37,"tag":111,"props":5232,"children":5233},{"style":213},[5234],{"type":43,"value":368},{"type":37,"tag":111,"props":5236,"children":5237},{"style":124},[5238],{"type":43,"value":474},{"type":37,"tag":111,"props":5240,"children":5241},{"style":213},[5242],{"type":43,"value":377},{"type":37,"tag":111,"props":5244,"children":5245},{"class":113,"line":154},[5246],{"type":37,"tag":111,"props":5247,"children":5248},{"emptyLinePlaceholder":148},[5249],{"type":43,"value":151},{"type":37,"tag":111,"props":5251,"children":5252},{"class":113,"line":164},[5253,5257,5261],{"type":37,"tag":111,"props":5254,"children":5255},{"style":512},[5256],{"type":43,"value":4073},{"type":37,"tag":111,"props":5258,"children":5259},{"style":340},[5260],{"type":43,"value":519},{"type":37,"tag":111,"props":5262,"children":5263},{"style":213},[5264],{"type":43,"value":524},{"type":37,"tag":111,"props":5266,"children":5267},{"class":113,"line":187},[5268,5272,5276],{"type":37,"tag":111,"props":5269,"children":5270},{"style":530},[5271],{"type":43,"value":4089},{"type":37,"tag":111,"props":5273,"children":5274},{"style":213},[5275],{"type":43,"value":538},{"type":37,"tag":111,"props":5277,"children":5278},{"style":213},[5279],{"type":43,"value":626},{"type":37,"tag":111,"props":5281,"children":5282},{"class":113,"line":196},[5283,5287,5291,5295,5300,5304],{"type":37,"tag":111,"props":5284,"children":5285},{"style":530},[5286],{"type":43,"value":4733},{"type":37,"tag":111,"props":5288,"children":5289},{"style":213},[5290],{"type":43,"value":538},{"type":37,"tag":111,"props":5292,"children":5293},{"style":213},[5294],{"type":43,"value":368},{"type":37,"tag":111,"props":5296,"children":5297},{"style":124},[5298],{"type":43,"value":5299},"My RN App",{"type":37,"tag":111,"props":5301,"children":5302},{"style":213},[5303],{"type":43,"value":653},{"type":37,"tag":111,"props":5305,"children":5306},{"style":213},[5307],{"type":43,"value":573},{"type":37,"tag":111,"props":5309,"children":5310},{"class":113,"line":576},[5311,5315,5319,5323,5328,5332],{"type":37,"tag":111,"props":5312,"children":5313},{"style":530},[5314],{"type":43,"value":4750},{"type":37,"tag":111,"props":5316,"children":5317},{"style":213},[5318],{"type":43,"value":538},{"type":37,"tag":111,"props":5320,"children":5321},{"style":213},[5322],{"type":43,"value":368},{"type":37,"tag":111,"props":5324,"children":5325},{"style":124},[5326],{"type":43,"value":5327},"https:\u002F\u002Fmyapp.com",{"type":37,"tag":111,"props":5329,"children":5330},{"style":213},[5331],{"type":43,"value":653},{"type":37,"tag":111,"props":5333,"children":5334},{"style":213},[5335],{"type":43,"value":573},{"type":37,"tag":111,"props":5337,"children":5338},{"class":113,"line":594},[5339],{"type":37,"tag":111,"props":5340,"children":5341},{"style":213},[5342],{"type":43,"value":985},{"type":37,"tag":111,"props":5344,"children":5345},{"class":113,"line":611},[5346,5350,5354],{"type":37,"tag":111,"props":5347,"children":5348},{"style":530},[5349],{"type":43,"value":4806},{"type":37,"tag":111,"props":5351,"children":5352},{"style":213},[5353],{"type":43,"value":538},{"type":37,"tag":111,"props":5355,"children":5356},{"style":213},[5357],{"type":43,"value":626},{"type":37,"tag":111,"props":5359,"children":5360},{"class":113,"line":629},[5361,5365,5369,5373,5378,5382,5386,5390,5394,5399,5404],{"type":37,"tag":111,"props":5362,"children":5363},{"style":512},[5364],{"type":43,"value":4822},{"type":37,"tag":111,"props":5366,"children":5367},{"style":213},[5368],{"type":43,"value":538},{"type":37,"tag":111,"props":5370,"children":5371},{"style":213},[5372],{"type":43,"value":1749},{"type":37,"tag":111,"props":5374,"children":5375},{"style":2048},[5376],{"type":43,"value":5377},"link",{"type":37,"tag":111,"props":5379,"children":5380},{"style":213},[5381],{"type":43,"value":774},{"type":37,"tag":111,"props":5383,"children":5384},{"style":496},[5385],{"type":43,"value":1921},{"type":37,"tag":111,"props":5387,"children":5388},{"style":340},[5389],{"type":43,"value":5186},{"type":37,"tag":111,"props":5391,"children":5392},{"style":213},[5393],{"type":43,"value":680},{"type":37,"tag":111,"props":5395,"children":5396},{"style":512},[5397],{"type":43,"value":5398},"openURL",{"type":37,"tag":111,"props":5400,"children":5401},{"style":340},[5402],{"type":43,"value":5403},"(link)",{"type":37,"tag":111,"props":5405,"children":5406},{"style":213},[5407],{"type":43,"value":573},{"type":37,"tag":111,"props":5409,"children":5410},{"class":113,"line":660},[5411,5415,5419,5424],{"type":37,"tag":111,"props":5412,"children":5413},{"style":530},[5414],{"type":43,"value":4882},{"type":37,"tag":111,"props":5416,"children":5417},{"style":213},[5418],{"type":43,"value":538},{"type":37,"tag":111,"props":5420,"children":5421},{"style":753},[5422],{"type":43,"value":5423}," true",{"type":37,"tag":111,"props":5425,"children":5426},{"style":213},[5427],{"type":43,"value":573},{"type":37,"tag":111,"props":5429,"children":5430},{"class":113,"line":701},[5431],{"type":37,"tag":111,"props":5432,"children":5433},{"style":213},[5434],{"type":43,"value":985},{"type":37,"tag":111,"props":5436,"children":5437},{"class":113,"line":731},[5438,5442],{"type":37,"tag":111,"props":5439,"children":5440},{"style":213},[5441],{"type":43,"value":994},{"type":37,"tag":111,"props":5443,"children":5444},{"style":340},[5445],{"type":43,"value":999},{"type":37,"tag":228,"props":5447,"children":5448},{},[5449,5451,5457],{"type":43,"value":5450},"Ensure React Native polyfills are set up per the ",{"type":37,"tag":78,"props":5452,"children":5454},{"className":5453},[],[5455],{"type":43,"value":5456},"react-native-polyfills",{"type":43,"value":5458}," rule.",{"type":37,"tag":46,"props":5460,"children":5462},{"id":5461},"important-notes",[5463],{"type":43,"value":5464},"Important Notes",{"type":37,"tag":53,"props":5466,"children":5467},{},[5468,5487,5498,5529,5541,5562,5581,5598,5603],{"type":37,"tag":57,"props":5469,"children":5470},{},[5471,5473,5479,5481],{"type":43,"value":5472},"The connector ID is ",{"type":37,"tag":78,"props":5474,"children":5476},{"className":5475},[],[5477],{"type":43,"value":5478},"'metaMaskSDK'",{"type":43,"value":5480}," and the display name is ",{"type":37,"tag":78,"props":5482,"children":5484},{"className":5483},[],[5485],{"type":43,"value":5486},"'MetaMask'",{"type":37,"tag":57,"props":5488,"children":5489},{},[5490,5492],{"type":43,"value":5491},"The connector RDNS is ",{"type":37,"tag":78,"props":5493,"children":5495},{"className":5494},[],[5496],{"type":43,"value":5497},"['io.metamask', 'io.metamask.mobile']",{"type":37,"tag":57,"props":5499,"children":5500},{},[5501,5506,5508,5513,5515,5520,5522,5527],{"type":37,"tag":78,"props":5502,"children":5504},{"className":5503},[],[5505],{"type":43,"value":83},{"type":43,"value":5507}," is an optional peer dependency of ",{"type":37,"tag":78,"props":5509,"children":5511},{"className":5510},[],[5512],{"type":43,"value":252},{"type":43,"value":5514}," — only needed when you use the ",{"type":37,"tag":78,"props":5516,"children":5518},{"className":5517},[],[5519],{"type":43,"value":238},{"type":43,"value":5521}," connector, and the installed version must satisfy wagmi's declared peer range (currently ",{"type":37,"tag":78,"props":5523,"children":5525},{"className":5524},[],[5526],{"type":43,"value":221},{"type":43,"value":5528},"), not \"latest\"",{"type":37,"tag":57,"props":5530,"children":5531},{},[5532,5534,5539],{"type":43,"value":5533},"The ",{"type":37,"tag":78,"props":5535,"children":5537},{"className":5536},[],[5538],{"type":43,"value":1107},{"type":43,"value":5540}," map is auto-built from wagmi chain config — no manual RPC URL configuration needed",{"type":37,"tag":57,"props":5542,"children":5543},{},[5544,5546,5552,5554,5560],{"type":43,"value":5545},"If no ",{"type":37,"tag":78,"props":5547,"children":5549},{"className":5548},[],[5550],{"type":43,"value":5551},"dapp",{"type":43,"value":5553}," config is provided, defaults to ",{"type":37,"tag":78,"props":5555,"children":5557},{"className":5556},[],[5558],{"type":43,"value":5559},"{ name: window.location.hostname, url: window.location.href }",{"type":43,"value":5561}," in browsers",{"type":37,"tag":57,"props":5563,"children":5564},{},[5565,5571,5573,5579],{"type":37,"tag":78,"props":5566,"children":5568},{"className":5567},[],[5569],{"type":43,"value":5570},"useAccount()",{"type":43,"value":5572}," is deprecated in favor of ",{"type":37,"tag":78,"props":5574,"children":5576},{"className":5575},[],[5577],{"type":43,"value":5578},"useConnection()",{"type":43,"value":5580}," — both work but prefer the new name",{"type":37,"tag":57,"props":5582,"children":5583},{},[5584,5590,5591,5597],{"type":37,"tag":78,"props":5585,"children":5587},{"className":5586},[],[5588],{"type":43,"value":5589},"useSwitchAccount()",{"type":43,"value":5572},{"type":37,"tag":78,"props":5592,"children":5594},{"className":5593},[],[5595],{"type":43,"value":5596},"useSwitchConnection()",{"type":43,"value":5580},{"type":37,"tag":57,"props":5599,"children":5600},{},[5601],{"type":43,"value":5602},"Transport selection is automatic: uses MetaMask extension (postMessage) when available, otherwise MWP (WebSocket relay + QR\u002Fdeeplinks)",{"type":37,"tag":57,"props":5604,"children":5605},{},[5606,5608,5614,5616,5622],{"type":43,"value":5607},"Error code ",{"type":37,"tag":78,"props":5609,"children":5611},{"className":5610},[],[5612],{"type":43,"value":5613},"4001",{"type":43,"value":5615}," = user rejected, ",{"type":37,"tag":78,"props":5617,"children":5619},{"className":5618},[],[5620],{"type":43,"value":5621},"-32002",{"type":43,"value":5623}," = request already pending — handle both explicitly",{"type":37,"tag":5625,"props":5626,"children":5627},"style",{},[5628],{"type":43,"value":5629},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":5631,"total":1040},[5632,5652,5666,5678,5687,5697,5712,5728,5743,5754,5764,5774],{"slug":5633,"name":5633,"fn":5634,"description":5635,"org":5636,"tags":5637,"stars":5649,"repoUrl":5650,"updatedAt":5651},"smart-accounts-kit","build dApps with MetaMask Smart Accounts","Build dApps with MetaMask Smart Accounts Kit — ERC-4337 smart accounts, delegations, and Advanced Permissions (ERC-7715)",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[5638,5641,5644,5645,5648],{"name":5639,"slug":5640,"type":14},"API Development","api-development",{"name":5642,"slug":5643,"type":14},"Auth","auth",{"name":19,"slug":20,"type":14},{"name":5646,"slug":5647,"type":14},"Permissions","permissions",{"name":16,"slug":17,"type":14},54,"https:\u002F\u002Fgithub.com\u002FMetaMask\u002Fsmart-accounts-kit","2026-07-13T06:11:32.8327",{"slug":5653,"name":5653,"fn":5654,"description":5655,"org":5656,"tags":5657,"stars":5649,"repoUrl":5650,"updatedAt":5665},"x402-payments","build x402 payment flows","Build x402 payment flows using MetaMask Smart Accounts Kit, machine to machine payments over HTTP with ERC-7710 delegations and ERC-7715 Advanced Permissions",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[5658,5659,5662,5663],{"name":5639,"slug":5640,"type":14},{"name":5660,"slug":5661,"type":14},"Payments","payments",{"name":16,"slug":17,"type":14},{"name":5664,"slug":5664,"type":14},"x402","2026-07-13T06:11:30.877136",{"slug":5667,"name":5667,"fn":5668,"description":5669,"org":5670,"tags":5671,"stars":611,"repoUrl":5676,"updatedAt":5677},"discovery","discover and use services","Use the discovery tools to find and use services through a service matcher. Do not rely on prior knowledge of services, providers, or APIs.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[5672,5673],{"name":5639,"slug":5640,"type":14},{"name":5674,"slug":5675,"type":14},"Search","search","https:\u002F\u002Fgithub.com\u002FMetaMask\u002Focap-kernel","2026-07-13T06:12:37.024095",{"slug":8,"name":8,"fn":5679,"description":5680,"org":5681,"tags":5682,"stars":611,"repoUrl":5676,"updatedAt":5686},"interact with MetaMask wallet capabilities","Use the MetaMask tools to request and interact with wallet capabilities from the MetaMask capability vendor.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[5683,5684,5685],{"name":5639,"slug":5640,"type":14},{"name":19,"slug":20,"type":14},{"name":16,"slug":17,"type":14},"2026-07-13T06:12:33.955806",{"slug":5688,"name":5688,"fn":5689,"description":5690,"org":5691,"tags":5692,"stars":611,"repoUrl":5676,"updatedAt":5696},"wallet","manage wallet balances and transactions","Use the wallet tools for all balance, send, and sign operations. Supports both ETH and ERC-20 tokens. The away wallet operates autonomously after setup — the home device does not need to be online.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[5693,5694,5695],{"name":19,"slug":20,"type":14},{"name":5660,"slug":5661,"type":14},{"name":16,"slug":17,"type":14},"2026-07-13T06:12:35.380244",{"slug":5698,"name":5698,"fn":5699,"description":5700,"org":5701,"tags":5702,"stars":576,"repoUrl":5710,"updatedAt":5711},"metamask-connect","integrate MetaMask into dApps","Build dApps that integrate MetaMask via the MetaMask Connect SDK — EVM (@metamask\u002Fconnect-evm), Solana (@metamask\u002Fconnect-solana), and multichain (@metamask\u002Fconnect-multichain), plus the wagmi metaMask() connector. Covers client setup across browser\u002FReact\u002FReact Native, connecting, signing messages, sending transactions, multichain invokeMethod across CAIP-2 scopes, migrating from @metamask\u002Fsdk, and troubleshooting connection\u002Fpolyfill issues.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[5703,5704,5705,5708,5709],{"name":5639,"slug":5640,"type":14},{"name":19,"slug":20,"type":14},{"name":5706,"slug":5707,"type":14},"Solana","solana",{"name":13,"slug":13,"type":14},{"name":16,"slug":17,"type":14},"https:\u002F\u002Fgithub.com\u002FMetaMask\u002Fconnect-monorepo","2026-07-13T06:11:34.445665",{"slug":5713,"name":5713,"fn":5714,"description":5715,"org":5716,"tags":5717,"stars":187,"repoUrl":5726,"updatedAt":5727},"metamask-agent-wallet","manage blockchain wallets and transactions","Use when the user asks anything about blockchain wallets, transactions, signing, token transfers, supported chains, wallet balances, perpetual futures trading, prediction markets, token swaps, cross-chain bridges, market data, token discovery, decoding EVM calldata, DeFi earn\u002Fyield vaults, or authentication via the MetaMask Agentic CLI; also when an HTTP request returns 402 Payment Required (x402) or the agent needs to pay for a paywalled API, endpoint, file, or resource over HTTP. Single entry point for all mm CLI operations.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[5718,5721,5724,5725],{"name":5719,"slug":5720,"type":14},"Blockchain","blockchain",{"name":5722,"slug":5723,"type":14},"DeFi","defi",{"name":19,"slug":20,"type":14},{"name":16,"slug":17,"type":14},"https:\u002F\u002Fgithub.com\u002FMetaMask\u002Fagent-skills","2026-08-01T05:45:07.976522",{"slug":5729,"name":5729,"fn":5730,"description":5731,"org":5732,"tags":5733,"stars":21,"repoUrl":22,"updatedAt":5742},"migrate-from-sdk","migrate MetaMask SDK to connect-evm and connect-solana","Migrate from @metamask\u002Fsdk to @metamask\u002Fconnect-evm, @metamask\u002Fconnect-multichain, and @metamask\u002Fconnect-solana with step-by-step package, API, and configuration changes",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[5734,5735,5738,5741],{"name":19,"slug":20,"type":14},{"name":5736,"slug":5737,"type":14},"Migration","migration",{"name":5739,"slug":5740,"type":14},"SDK","sdk",{"name":16,"slug":17,"type":14},"2026-07-13T06:11:46.427441",{"slug":5744,"name":5744,"fn":5745,"description":5746,"org":5747,"tags":5748,"stars":21,"repoUrl":22,"updatedAt":5753},"migrate-wagmi-metamask-connector","migrate wagmi apps to MetaMask connector","Migrate a wagmi app from @metamask\u002Fsdk to the new @metamask\u002Fconnect-evm connector (wagmi PR",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[5749,5750,5751,5752],{"name":19,"slug":20,"type":14},{"name":5736,"slug":5737,"type":14},{"name":13,"slug":13,"type":14},{"name":16,"slug":17,"type":14},"2026-07-13T06:12:23.110706",{"slug":5755,"name":5755,"fn":5756,"description":5757,"org":5758,"tags":5759,"stars":21,"repoUrl":22,"updatedAt":5763},"send-evm-transaction","send EVM transactions with MetaMask","Send ETH and contract transactions with MetaMask using eth_sendTransaction via the EIP-1193 provider, gas estimation, receipt polling, and the connectWith shortcut",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[5760,5761,5762],{"name":5639,"slug":5640,"type":14},{"name":19,"slug":20,"type":14},{"name":16,"slug":17,"type":14},"2026-07-13T06:11:56.866623",{"slug":5765,"name":5765,"fn":5766,"description":5767,"org":5768,"tags":5769,"stars":21,"repoUrl":22,"updatedAt":5773},"send-solana-transaction","send Solana transactions via MetaMask","Build and send a Solana transaction using MetaMask Connect. Covers both the React wallet-adapter approach (sendTransaction) and the vanilla browser approach (signAndSendTransaction wallet-standard feature).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[5770,5771,5772],{"name":5660,"slug":5661,"type":14},{"name":5706,"slug":5707,"type":14},{"name":16,"slug":17,"type":14},"2026-07-13T06:12:03.942378",{"slug":5775,"name":5775,"fn":5776,"description":5777,"org":5778,"tags":5779,"stars":21,"repoUrl":22,"updatedAt":5790},"setup-evm-browser-app","scaffold EVM browser applications with MetaMask","Scaffold a vanilla JS\u002FTS browser app with MetaMask EVM integration using createEVMClient, EIP-1193 provider event listeners, RPC methods, and chain switching with chainConfiguration fallback",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[5780,5781,5784,5787,5789],{"name":19,"slug":20,"type":14},{"name":5782,"slug":5783,"type":14},"Frontend","frontend",{"name":5785,"slug":5786,"type":14},"JavaScript","javascript",{"name":5788,"slug":319,"type":14},"TypeScript",{"name":16,"slug":17,"type":14},"2026-07-13T06:12:01.334051",{"items":5792,"total":811},[5793,5800,5807,5813,5819,5827,5841],{"slug":5729,"name":5729,"fn":5730,"description":5731,"org":5794,"tags":5795,"stars":21,"repoUrl":22,"updatedAt":5742},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[5796,5797,5798,5799],{"name":19,"slug":20,"type":14},{"name":5736,"slug":5737,"type":14},{"name":5739,"slug":5740,"type":14},{"name":16,"slug":17,"type":14},{"slug":5744,"name":5744,"fn":5745,"description":5746,"org":5801,"tags":5802,"stars":21,"repoUrl":22,"updatedAt":5753},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[5803,5804,5805,5806],{"name":19,"slug":20,"type":14},{"name":5736,"slug":5737,"type":14},{"name":13,"slug":13,"type":14},{"name":16,"slug":17,"type":14},{"slug":5755,"name":5755,"fn":5756,"description":5757,"org":5808,"tags":5809,"stars":21,"repoUrl":22,"updatedAt":5763},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[5810,5811,5812],{"name":5639,"slug":5640,"type":14},{"name":19,"slug":20,"type":14},{"name":16,"slug":17,"type":14},{"slug":5765,"name":5765,"fn":5766,"description":5767,"org":5814,"tags":5815,"stars":21,"repoUrl":22,"updatedAt":5773},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[5816,5817,5818],{"name":5660,"slug":5661,"type":14},{"name":5706,"slug":5707,"type":14},{"name":16,"slug":17,"type":14},{"slug":5775,"name":5775,"fn":5776,"description":5777,"org":5820,"tags":5821,"stars":21,"repoUrl":22,"updatedAt":5790},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[5822,5823,5824,5825,5826],{"name":19,"slug":20,"type":14},{"name":5782,"slug":5783,"type":14},{"name":5785,"slug":5786,"type":14},{"name":5788,"slug":319,"type":14},{"name":16,"slug":17,"type":14},{"slug":5828,"name":5828,"fn":5829,"description":5830,"org":5831,"tags":5832,"stars":21,"repoUrl":22,"updatedAt":5840},"setup-evm-react-app","scaffold React apps with MetaMask integration","Scaffold a React app with MetaMask EVM integration using createEVMClient, useState\u002FuseEffect\u002FuseRef patterns, provider.request calls, chain switching, and error handling",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[5833,5834,5835,5836,5839],{"name":5639,"slug":5640,"type":14},{"name":19,"slug":20,"type":14},{"name":5782,"slug":5783,"type":14},{"name":5837,"slug":5838,"type":14},"React","react",{"name":16,"slug":17,"type":14},"2026-07-13T06:11:52.764143",{"slug":5842,"name":5842,"fn":5843,"description":5844,"org":5845,"tags":5846,"stars":21,"repoUrl":22,"updatedAt":5854},"setup-evm-react-native-app","scaffold React Native apps with MetaMask","Scaffold a React Native app with MetaMask EVM integration including required polyfills, metro.config.js shims, import order constraints, mobile deeplinks, and a full component example",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[5847,5848,5851,5853],{"name":19,"slug":20,"type":14},{"name":5849,"slug":5850,"type":14},"Mobile","mobile",{"name":5852,"slug":5203,"type":14},"React Native",{"name":16,"slug":17,"type":14},"2026-07-13T06:12:11.764689"]