[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-metamask-setup-evm-react-native-app":3,"mdc-rlfysp-key":35,"related-org-metamask-setup-evm-react-native-app":7714,"related-repo-metamask-setup-evm-react-native-app":7874},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":25,"repoUrl":26,"updatedAt":27,"license":28,"forks":25,"topics":29,"repo":30,"sourceUrl":33,"mdContent":34},"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},"metamask","MetaMask","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fmetamask.png",[12,16,19,22],{"name":13,"slug":14,"type":15},"React Native","react-native","tag",{"name":17,"slug":18,"type":15},"Mobile","mobile",{"name":20,"slug":21,"type":15},"Web3","web3",{"name":23,"slug":24,"type":15},"Ethereum","ethereum",2,"https:\u002F\u002Fgithub.com\u002FMetaMask\u002Fmetamask-connect-cursor-plugin","2026-07-13T06:12:11.764689",null,[],{"repoUrl":26,"stars":25,"forks":25,"topics":31,"description":32},[],"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-evm-react-native-app","---\nname: setup-evm-react-native-app\ndescription: 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\n---\n# Setup EVM React Native App with MetaMask Connect\n\n## When to use\n\nUse this skill when:\n- Creating a React Native app that connects to MetaMask Mobile\n- Setting up polyfills for window and other missing globals\n- Configuring metro.config.js with Node.js module shims\n- Debugging React Native import order or missing polyfill errors\n\n## Workflow\n\n### Step 1: Install dependencies\n\nInstall the SDK and all required polyfill\u002Fshim packages:\n\n```bash\nnpm install @metamask\u002Fconnect-evm @metamask\u002Fconnect-multichain react-native-get-random-values buffer @react-native-async-storage\u002Fasync-storage readable-stream\n```\n\n`@metamask\u002Fconnect-multichain` is installed transitively by `@metamask\u002Fconnect-evm` (only the 2.0.0 release briefly made it a peer dependency; 2.1.0 reverted that) — installing it explicitly is harmless but not required. The SDK warns at runtime on duplicate or mismatched copies. `react-native-get-random-values` provides `crypto.getRandomValues` — strictly required only on React Native \u003C 0.72 (Hermes 0.72+ ships `globalThis.crypto.getRandomValues` natively), but recommended as a safety net on all versions. It **must** be imported before any other SDK-related code. `readable-stream` provides the `stream` shim for Metro. `buffer` is recommended as a safety net for peer dependencies — `@metamask\u002Fconnect-multichain` self-polyfills Buffer internally, but other deps (e.g. `eciesjs`) may load before it. `@react-native-async-storage\u002Fasync-storage` is needed for session persistence.\n\n### Step 2: Create polyfills.ts\n\nCreate `src\u002Fpolyfills.ts` with all required global shims. This file must be imported before anything else:\n\n```typescript\n\u002F\u002F src\u002Fpolyfills.ts\n\u002F\u002F IMPORTANT: react-native-get-random-values must be imported in the\n\u002F\u002F entry file BEFORE this polyfills file. See Step 4.\n\nimport { Buffer } from 'buffer';\n\n\u002F\u002F Buffer global — connect-multichain self-polyfills this, but set it here\n\u002F\u002F as a safety net for other deps that may load before connect-multichain.\nglobal.Buffer = Buffer;\n\n\u002F\u002F window object — required for correct platform detection and deeplink behaviour.\n\u002F\u002F connect-multichain inspects window.navigator.product and window.location to\n\u002F\u002F determine platform type and whether to use deeplinks vs install modal.\nconst eventListeners = new Map\u003Cstring, Set\u003CEventListener>>();\nif (typeof global.window === 'undefined') {\n  (global as any).window = {\n    location: {\n      hostname: 'my-rn-app',\n      href: 'https:\u002F\u002Fmy-rn-app.local',\n    },\n    navigator: { product: 'ReactNative' },\n    addEventListener: (event: string, listener: EventListener) => {\n      if (!eventListeners.has(event)) eventListeners.set(event, new Set());\n      eventListeners.get(event)?.add(listener);\n    },\n    removeEventListener: (event: string, listener: EventListener) => {\n      eventListeners.get(event)?.delete(listener);\n    },\n    dispatchEvent: (_event: Event) => true,\n  };\n}\n\n\u002F\u002F NOTE: Event and CustomEvent polyfills are NOT needed for standalone\n\u002F\u002F @metamask\u002Fconnect-evm usage — the SDK uses eventemitter3 internally.\n\u002F\u002F Add them only if you are also using wagmi (wagmi dispatches DOM events).\n```\n\n### Step 3: Configure metro.config.js\n\nMetro cannot resolve Node.js built-in modules. Map them to React Native-compatible shims or an empty module:\n\n```javascript\n\u002F\u002F metro.config.js\nconst { getDefaultConfig, mergeConfig } = require('@react-native\u002Fmetro-config');\nconst path = require('path');\n\n\u002F\u002F Create a path to an empty module for stubs\nconst emptyModule = path.resolve(__dirname, 'src\u002Fempty-module.js');\n\nconst config = {\n  resolver: {\n    extraNodeModules: {\n      stream: require.resolve('readable-stream'),\n      crypto: emptyModule,\n      http: emptyModule,\n      https: emptyModule,\n      net: emptyModule,\n      tls: emptyModule,\n      zlib: emptyModule,\n      os: emptyModule,\n      dns: emptyModule,\n      assert: emptyModule,\n      url: emptyModule,\n      path: emptyModule,\n      fs: emptyModule,\n    },\n  },\n};\n\nmodule.exports = mergeConfig(getDefaultConfig(__dirname), config);\n```\n\nCreate the empty module stub:\n\n```javascript\n\u002F\u002F src\u002Fempty-module.js\nmodule.exports = {};\n```\n\n### Step 4: Set up the entry file with correct import order\n\nThe import order is critical. `react-native-get-random-values` **must** be the very first import:\n\n```typescript\n\u002F\u002F index.js or App.tsx (entry file)\nimport 'react-native-get-random-values';  \u002F\u002F MUST be first\nimport '.\u002Fsrc\u002Fpolyfills';                   \u002F\u002F MUST be second\nimport { AppRegistry } from 'react-native';\nimport App from '.\u002Fsrc\u002FApp';\nimport { name as appName } from '.\u002Fapp.json';\n\nAppRegistry.registerComponent(appName, () => App);\n```\n\nIf you import anything from `@metamask\u002Fconnect-evm` before `react-native-get-random-values`, you will get `crypto.getRandomValues is not a function`.\n\n### Step 5: Create the EVM client with mobile configuration\n\n```typescript\n\u002F\u002F src\u002Fmetamask.ts\nimport { createEVMClient, getInfuraRpcUrls } from '@metamask\u002Fconnect-evm';\nimport { Linking } from 'react-native';\nimport type { MetamaskConnectEVM } from '@metamask\u002Fconnect-evm';\n\nlet clientPromise: Promise\u003CMetamaskConnectEVM> | null = null;\n\nexport function getClient(): Promise\u003CMetamaskConnectEVM> {\n  if (!clientPromise) {\n    clientPromise = createEVMClient({\n      dapp: {\n        name: 'My RN DApp',\n        url: 'https:\u002F\u002Fmydapp.com',\n      },\n      api: {\n        supportedNetworks: {\n          ...getInfuraRpcUrls({ infuraApiKey: 'YOUR_INFURA_KEY', chainIds: ['0x1', '0x89'] }),\n        },\n      },\n      ui: {\n        preferExtension: false,\n      },\n      mobile: {\n        preferredOpenLink: (deeplink: string) => Linking.openURL(deeplink),\n        useDeeplink: true,\n      },\n      eventHandlers: {\n        \u002F\u002F Keys are camelCase — `display_uri`\u002F`wallet_sessionChanged` are NOT valid here\n        displayUri: (uri: string) => {\n          console.log('Deeplink URI:', uri);\n        },\n        connect: ({ accounts, chainId }) => {\n          \u002F\u002F Fires on connection and on automatic session restore at relaunch\n          console.log('Connected\u002Frestored:', accounts, chainId);\n        },\n      },\n      debug: false,\n    });\n  }\n  return clientPromise;\n}\n```\n\n`mobile.preferredOpenLink` is **required** for React Native — it tells the SDK how to open deeplinks to the MetaMask Mobile app. Without it, the connection flow will hang silently.\n\n### Step 6: Build the React Native component\n\n```tsx\n\u002F\u002F src\u002FWalletScreen.tsx\nimport React, { useEffect, useRef, useState, useCallback } from 'react';\nimport { View, Text, TouchableOpacity, StyleSheet, Alert } from 'react-native';\nimport { getClient } from '.\u002Fmetamask';\nimport type { MetamaskConnectEVM } from '@metamask\u002Fconnect-evm';\nimport type { Hex, Address } from '@metamask\u002Fconnect-evm';\n\nexport function WalletScreen() {\n  const clientRef = useRef\u003CMetamaskConnectEVM | null>(null);\n  const [accounts, setAccounts] = useState\u003CAddress[]>([]);\n  const [chainId, setChainId] = useState\u003CHex | null>(null);\n  const [balance, setBalance] = useState\u003Cstring>('');\n  const [connecting, setConnecting] = useState(false);\n\n  useEffect(() => {\n    let mounted = true;\n\n    async function init() {\n      const client = await getClient();\n      if (!mounted) return;\n      clientRef.current = client;\n\n      const provider = client.getProvider();\n\n      provider.on('accountsChanged', (accs: Address[]) => {\n        if (mounted) setAccounts(accs);\n      });\n\n      provider.on('chainChanged', (id: Hex) => {\n        if (mounted) setChainId(id);\n      });\n\n      provider.on('disconnect', () => {\n        if (mounted) {\n          setAccounts([]);\n          setChainId(null);\n          setBalance('');\n        }\n      });\n    }\n\n    init();\n    return () => { mounted = false; };\n  }, []);\n\n  const handleConnect = useCallback(async () => {\n    const client = clientRef.current;\n    if (!client) return;\n\n    setConnecting(true);\n    try {\n      const result = await client.connect({ chainIds: ['0x1'] });\n      setAccounts(result.accounts as Address[]);\n      setChainId(result.chainId as Hex);\n    } catch (err: any) {\n      if (err.code === 4001) {\n        Alert.alert('Rejected', 'Connection was rejected. Please try again.');\n        return;\n      }\n      if (err.code === -32002) {\n        Alert.alert('Pending', 'A request is already pending. Check MetaMask.');\n        return;\n      }\n      Alert.alert('Error', err.message ?? 'Connection failed');\n    } finally {\n      setConnecting(false);\n    }\n  }, []);\n\n  const handleDisconnect = useCallback(async () => {\n    const client = clientRef.current;\n    if (!client) return;\n    await client.disconnect();\n    setAccounts([]);\n    setChainId(null);\n    setBalance('');\n  }, []);\n\n  const fetchBalance = useCallback(async () => {\n    const client = clientRef.current;\n    if (!client || accounts.length === 0) return;\n\n    const provider = client.getProvider();\n    const wei = await provider.request({\n      method: 'eth_getBalance',\n      params: [accounts[0], 'latest'],\n    }) as Hex;\n\n    const ethBalance = parseInt(wei, 16) \u002F 1e18;\n    setBalance(ethBalance.toFixed(6));\n  }, [accounts]);\n\n  const isConnected = accounts.length > 0;\n\n  return (\n    \u003CView style={styles.container}>\n      {!isConnected ? (\n        \u003CTouchableOpacity\n          style={styles.button}\n          onPress={handleConnect}\n          disabled={connecting}\n        >\n          \u003CText style={styles.buttonText}>\n            {connecting ? 'Connecting...' : 'Connect MetaMask'}\n          \u003C\u002FText>\n        \u003C\u002FTouchableOpacity>\n      ) : (\n        \u003CView>\n          \u003CText style={styles.label}>Account: {accounts[0]}\u003C\u002FText>\n          \u003CText style={styles.label}>Chain: {chainId}\u003C\u002FText>\n          \u003CText style={styles.label}>Balance: {balance || '—'} ETH\u003C\u002FText>\n          \u003CTouchableOpacity style={styles.button} onPress={fetchBalance}>\n            \u003CText style={styles.buttonText}>Refresh Balance\u003C\u002FText>\n          \u003C\u002FTouchableOpacity>\n          \u003CTouchableOpacity style={styles.button} onPress={handleDisconnect}>\n            \u003CText style={styles.buttonText}>Disconnect\u003C\u002FText>\n          \u003C\u002FTouchableOpacity>\n        \u003C\u002FView>\n      )}\n    \u003C\u002FView>\n  );\n}\n\nconst styles = StyleSheet.create({\n  container: { flex: 1, justifyContent: 'center', alignItems: 'center', padding: 20 },\n  button: { backgroundColor: '#037DD6', padding: 14, borderRadius: 8, marginVertical: 8 },\n  buttonText: { color: '#fff', fontSize: 16, textAlign: 'center' },\n  label: { fontSize: 14, marginVertical: 4 },\n});\n```\n\n## Important Notes\n\n- **Import order is critical** — `react-native-get-random-values` must be the very first import in the entry file, followed by `polyfills.ts`, before any SDK or application code.\n- **`mobile.preferredOpenLink` is required** — without it, the SDK cannot open deeplinks to MetaMask Mobile and the connection flow will silently fail.\n- **`ui.preferExtension` should be `false`** — React Native has no browser extension. Setting this to `false` (or omitting it) ensures the SDK uses the mobile deeplink\u002FQR flow.\n- **Chain IDs are always hex strings** — use `'0x1'`, `'0x89'`, `'0xaa36a7'`. Never decimal.\n- **`0x1` is auto-included** in every `connect()` call.\n- **The empty module stub** (`src\u002Fempty-module.js`) is used for Node built-ins the SDK's transitive dependencies reference but never actually call at runtime in React Native. The `stream` module is the exception — it needs a real shim (`readable-stream`).\n- **`createEVMClient` is a singleton** — do not call it on every render or in a component body. Initialize once and store the promise.\n- **Session restoration** — the EVM client syncs any persisted session before `createEVMClient` resolves; detect restores via the `connect` \u002F `accountsChanged` events (in `eventHandlers` or on the provider). There is no `wallet_sessionChanged` handler on the EVM client — that event belongs to the multichain client.\n- **iOS requires `Linking` permissions** — ensure your `Info.plist` includes the `metamask` URL scheme in `LSApplicationQueriesSchemes` so `Linking.openURL` can open the MetaMask app.\n",{"data":36,"body":37},{"name":4,"description":6},{"type":38,"children":39},"root",[40,49,56,62,87,93,100,105,165,263,269,282,1221,1227,1232,1855,1860,1891,1897,1915,2163,2189,2195,3218,3236,3242,7433,7439,7708],{"type":41,"tag":42,"props":43,"children":45},"element","h1",{"id":44},"setup-evm-react-native-app-with-metamask-connect",[46],{"type":47,"value":48},"text","Setup EVM React Native App with MetaMask Connect",{"type":41,"tag":50,"props":51,"children":53},"h2",{"id":52},"when-to-use",[54],{"type":47,"value":55},"When to use",{"type":41,"tag":57,"props":58,"children":59},"p",{},[60],{"type":47,"value":61},"Use this skill when:",{"type":41,"tag":63,"props":64,"children":65},"ul",{},[66,72,77,82],{"type":41,"tag":67,"props":68,"children":69},"li",{},[70],{"type":47,"value":71},"Creating a React Native app that connects to MetaMask Mobile",{"type":41,"tag":67,"props":73,"children":74},{},[75],{"type":47,"value":76},"Setting up polyfills for window and other missing globals",{"type":41,"tag":67,"props":78,"children":79},{},[80],{"type":47,"value":81},"Configuring metro.config.js with Node.js module shims",{"type":41,"tag":67,"props":83,"children":84},{},[85],{"type":47,"value":86},"Debugging React Native import order or missing polyfill errors",{"type":41,"tag":50,"props":88,"children":90},{"id":89},"workflow",[91],{"type":47,"value":92},"Workflow",{"type":41,"tag":94,"props":95,"children":97},"h3",{"id":96},"step-1-install-dependencies",[98],{"type":47,"value":99},"Step 1: Install dependencies",{"type":41,"tag":57,"props":101,"children":102},{},[103],{"type":47,"value":104},"Install the SDK and all required polyfill\u002Fshim packages:",{"type":41,"tag":106,"props":107,"children":112},"pre",{"className":108,"code":109,"language":110,"meta":111,"style":111},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","npm install @metamask\u002Fconnect-evm @metamask\u002Fconnect-multichain react-native-get-random-values buffer @react-native-async-storage\u002Fasync-storage readable-stream\n","bash","",[113],{"type":41,"tag":114,"props":115,"children":116},"code",{"__ignoreMap":111},[117],{"type":41,"tag":118,"props":119,"children":122},"span",{"class":120,"line":121},"line",1,[123,129,135,140,145,150,155,160],{"type":41,"tag":118,"props":124,"children":126},{"style":125},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[127],{"type":47,"value":128},"npm",{"type":41,"tag":118,"props":130,"children":132},{"style":131},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[133],{"type":47,"value":134}," install",{"type":41,"tag":118,"props":136,"children":137},{"style":131},[138],{"type":47,"value":139}," @metamask\u002Fconnect-evm",{"type":41,"tag":118,"props":141,"children":142},{"style":131},[143],{"type":47,"value":144}," @metamask\u002Fconnect-multichain",{"type":41,"tag":118,"props":146,"children":147},{"style":131},[148],{"type":47,"value":149}," react-native-get-random-values",{"type":41,"tag":118,"props":151,"children":152},{"style":131},[153],{"type":47,"value":154}," buffer",{"type":41,"tag":118,"props":156,"children":157},{"style":131},[158],{"type":47,"value":159}," @react-native-async-storage\u002Fasync-storage",{"type":41,"tag":118,"props":161,"children":162},{"style":131},[163],{"type":47,"value":164}," readable-stream\n",{"type":41,"tag":57,"props":166,"children":167},{},[168,174,176,182,184,190,192,198,200,206,208,214,216,222,224,230,232,238,240,245,247,253,255,261],{"type":41,"tag":114,"props":169,"children":171},{"className":170},[],[172],{"type":47,"value":173},"@metamask\u002Fconnect-multichain",{"type":47,"value":175}," is installed transitively by ",{"type":41,"tag":114,"props":177,"children":179},{"className":178},[],[180],{"type":47,"value":181},"@metamask\u002Fconnect-evm",{"type":47,"value":183}," (only the 2.0.0 release briefly made it a peer dependency; 2.1.0 reverted that) — installing it explicitly is harmless but not required. The SDK warns at runtime on duplicate or mismatched copies. ",{"type":41,"tag":114,"props":185,"children":187},{"className":186},[],[188],{"type":47,"value":189},"react-native-get-random-values",{"type":47,"value":191}," provides ",{"type":41,"tag":114,"props":193,"children":195},{"className":194},[],[196],{"type":47,"value":197},"crypto.getRandomValues",{"type":47,"value":199}," — strictly required only on React Native \u003C 0.72 (Hermes 0.72+ ships ",{"type":41,"tag":114,"props":201,"children":203},{"className":202},[],[204],{"type":47,"value":205},"globalThis.crypto.getRandomValues",{"type":47,"value":207}," natively), but recommended as a safety net on all versions. It ",{"type":41,"tag":209,"props":210,"children":211},"strong",{},[212],{"type":47,"value":213},"must",{"type":47,"value":215}," be imported before any other SDK-related code. ",{"type":41,"tag":114,"props":217,"children":219},{"className":218},[],[220],{"type":47,"value":221},"readable-stream",{"type":47,"value":223}," provides the ",{"type":41,"tag":114,"props":225,"children":227},{"className":226},[],[228],{"type":47,"value":229},"stream",{"type":47,"value":231}," shim for Metro. ",{"type":41,"tag":114,"props":233,"children":235},{"className":234},[],[236],{"type":47,"value":237},"buffer",{"type":47,"value":239}," is recommended as a safety net for peer dependencies — ",{"type":41,"tag":114,"props":241,"children":243},{"className":242},[],[244],{"type":47,"value":173},{"type":47,"value":246}," self-polyfills Buffer internally, but other deps (e.g. ",{"type":41,"tag":114,"props":248,"children":250},{"className":249},[],[251],{"type":47,"value":252},"eciesjs",{"type":47,"value":254},") may load before it. ",{"type":41,"tag":114,"props":256,"children":258},{"className":257},[],[259],{"type":47,"value":260},"@react-native-async-storage\u002Fasync-storage",{"type":47,"value":262}," is needed for session persistence.",{"type":41,"tag":94,"props":264,"children":266},{"id":265},"step-2-create-polyfillsts",[267],{"type":47,"value":268},"Step 2: Create polyfills.ts",{"type":41,"tag":57,"props":270,"children":271},{},[272,274,280],{"type":47,"value":273},"Create ",{"type":41,"tag":114,"props":275,"children":277},{"className":276},[],[278],{"type":47,"value":279},"src\u002Fpolyfills.ts",{"type":47,"value":281}," with all required global shims. This file must be imported before anything else:",{"type":41,"tag":106,"props":283,"children":287},{"className":284,"code":285,"language":286,"meta":111,"style":111},"language-typescript shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u002F\u002F src\u002Fpolyfills.ts\n\u002F\u002F IMPORTANT: react-native-get-random-values must be imported in the\n\u002F\u002F entry file BEFORE this polyfills file. See Step 4.\n\nimport { Buffer } from 'buffer';\n\n\u002F\u002F Buffer global — connect-multichain self-polyfills this, but set it here\n\u002F\u002F as a safety net for other deps that may load before connect-multichain.\nglobal.Buffer = Buffer;\n\n\u002F\u002F window object — required for correct platform detection and deeplink behaviour.\n\u002F\u002F connect-multichain inspects window.navigator.product and window.location to\n\u002F\u002F determine platform type and whether to use deeplinks vs install modal.\nconst eventListeners = new Map\u003Cstring, Set\u003CEventListener>>();\nif (typeof global.window === 'undefined') {\n  (global as any).window = {\n    location: {\n      hostname: 'my-rn-app',\n      href: 'https:\u002F\u002Fmy-rn-app.local',\n    },\n    navigator: { product: 'ReactNative' },\n    addEventListener: (event: string, listener: EventListener) => {\n      if (!eventListeners.has(event)) eventListeners.set(event, new Set());\n      eventListeners.get(event)?.add(listener);\n    },\n    removeEventListener: (event: string, listener: EventListener) => {\n      eventListeners.get(event)?.delete(listener);\n    },\n    dispatchEvent: (_event: Event) => true,\n  };\n}\n\n\u002F\u002F NOTE: Event and CustomEvent polyfills are NOT needed for standalone\n\u002F\u002F @metamask\u002Fconnect-evm usage — the SDK uses eventemitter3 internally.\n\u002F\u002F Add them only if you are also using wagmi (wagmi dispatches DOM events).\n","typescript",[288],{"type":41,"tag":114,"props":289,"children":290},{"__ignoreMap":111},[291,300,308,317,327,378,386,395,404,436,444,453,462,471,544,605,653,671,702,732,741,785,848,936,993,1001,1058,1111,1119,1168,1177,1186,1194,1203,1212],{"type":41,"tag":118,"props":292,"children":293},{"class":120,"line":121},[294],{"type":41,"tag":118,"props":295,"children":297},{"style":296},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[298],{"type":47,"value":299},"\u002F\u002F src\u002Fpolyfills.ts\n",{"type":41,"tag":118,"props":301,"children":302},{"class":120,"line":25},[303],{"type":41,"tag":118,"props":304,"children":305},{"style":296},[306],{"type":47,"value":307},"\u002F\u002F IMPORTANT: react-native-get-random-values must be imported in the\n",{"type":41,"tag":118,"props":309,"children":311},{"class":120,"line":310},3,[312],{"type":41,"tag":118,"props":313,"children":314},{"style":296},[315],{"type":47,"value":316},"\u002F\u002F entry file BEFORE this polyfills file. See Step 4.\n",{"type":41,"tag":118,"props":318,"children":320},{"class":120,"line":319},4,[321],{"type":41,"tag":118,"props":322,"children":324},{"emptyLinePlaceholder":323},true,[325],{"type":47,"value":326},"\n",{"type":41,"tag":118,"props":328,"children":330},{"class":120,"line":329},5,[331,337,343,349,354,359,364,368,373],{"type":41,"tag":118,"props":332,"children":334},{"style":333},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[335],{"type":47,"value":336},"import",{"type":41,"tag":118,"props":338,"children":340},{"style":339},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[341],{"type":47,"value":342}," {",{"type":41,"tag":118,"props":344,"children":346},{"style":345},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[347],{"type":47,"value":348}," Buffer",{"type":41,"tag":118,"props":350,"children":351},{"style":339},[352],{"type":47,"value":353}," }",{"type":41,"tag":118,"props":355,"children":356},{"style":333},[357],{"type":47,"value":358}," from",{"type":41,"tag":118,"props":360,"children":361},{"style":339},[362],{"type":47,"value":363}," '",{"type":41,"tag":118,"props":365,"children":366},{"style":131},[367],{"type":47,"value":237},{"type":41,"tag":118,"props":369,"children":370},{"style":339},[371],{"type":47,"value":372},"'",{"type":41,"tag":118,"props":374,"children":375},{"style":339},[376],{"type":47,"value":377},";\n",{"type":41,"tag":118,"props":379,"children":381},{"class":120,"line":380},6,[382],{"type":41,"tag":118,"props":383,"children":384},{"emptyLinePlaceholder":323},[385],{"type":47,"value":326},{"type":41,"tag":118,"props":387,"children":389},{"class":120,"line":388},7,[390],{"type":41,"tag":118,"props":391,"children":392},{"style":296},[393],{"type":47,"value":394},"\u002F\u002F Buffer global — connect-multichain self-polyfills this, but set it here\n",{"type":41,"tag":118,"props":396,"children":398},{"class":120,"line":397},8,[399],{"type":41,"tag":118,"props":400,"children":401},{"style":296},[402],{"type":47,"value":403},"\u002F\u002F as a safety net for other deps that may load before connect-multichain.\n",{"type":41,"tag":118,"props":405,"children":407},{"class":120,"line":406},9,[408,413,418,423,428,432],{"type":41,"tag":118,"props":409,"children":410},{"style":345},[411],{"type":47,"value":412},"global",{"type":41,"tag":118,"props":414,"children":415},{"style":339},[416],{"type":47,"value":417},".",{"type":41,"tag":118,"props":419,"children":420},{"style":345},[421],{"type":47,"value":422},"Buffer ",{"type":41,"tag":118,"props":424,"children":425},{"style":339},[426],{"type":47,"value":427},"=",{"type":41,"tag":118,"props":429,"children":430},{"style":345},[431],{"type":47,"value":348},{"type":41,"tag":118,"props":433,"children":434},{"style":339},[435],{"type":47,"value":377},{"type":41,"tag":118,"props":437,"children":439},{"class":120,"line":438},10,[440],{"type":41,"tag":118,"props":441,"children":442},{"emptyLinePlaceholder":323},[443],{"type":47,"value":326},{"type":41,"tag":118,"props":445,"children":447},{"class":120,"line":446},11,[448],{"type":41,"tag":118,"props":449,"children":450},{"style":296},[451],{"type":47,"value":452},"\u002F\u002F window object — required for correct platform detection and deeplink behaviour.\n",{"type":41,"tag":118,"props":454,"children":456},{"class":120,"line":455},12,[457],{"type":41,"tag":118,"props":458,"children":459},{"style":296},[460],{"type":47,"value":461},"\u002F\u002F connect-multichain inspects window.navigator.product and window.location to\n",{"type":41,"tag":118,"props":463,"children":465},{"class":120,"line":464},13,[466],{"type":41,"tag":118,"props":467,"children":468},{"style":296},[469],{"type":47,"value":470},"\u002F\u002F determine platform type and whether to use deeplinks vs install modal.\n",{"type":41,"tag":118,"props":472,"children":474},{"class":120,"line":473},14,[475,481,486,490,495,501,506,511,516,521,525,530,535,540],{"type":41,"tag":118,"props":476,"children":478},{"style":477},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[479],{"type":47,"value":480},"const",{"type":41,"tag":118,"props":482,"children":483},{"style":345},[484],{"type":47,"value":485}," eventListeners ",{"type":41,"tag":118,"props":487,"children":488},{"style":339},[489],{"type":47,"value":427},{"type":41,"tag":118,"props":491,"children":492},{"style":339},[493],{"type":47,"value":494}," new",{"type":41,"tag":118,"props":496,"children":498},{"style":497},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[499],{"type":47,"value":500}," Map",{"type":41,"tag":118,"props":502,"children":503},{"style":339},[504],{"type":47,"value":505},"\u003C",{"type":41,"tag":118,"props":507,"children":508},{"style":125},[509],{"type":47,"value":510},"string",{"type":41,"tag":118,"props":512,"children":513},{"style":339},[514],{"type":47,"value":515},",",{"type":41,"tag":118,"props":517,"children":518},{"style":125},[519],{"type":47,"value":520}," Set",{"type":41,"tag":118,"props":522,"children":523},{"style":339},[524],{"type":47,"value":505},{"type":41,"tag":118,"props":526,"children":527},{"style":125},[528],{"type":47,"value":529},"EventListener",{"type":41,"tag":118,"props":531,"children":532},{"style":339},[533],{"type":47,"value":534},">>",{"type":41,"tag":118,"props":536,"children":537},{"style":345},[538],{"type":47,"value":539},"()",{"type":41,"tag":118,"props":541,"children":542},{"style":339},[543],{"type":47,"value":377},{"type":41,"tag":118,"props":545,"children":547},{"class":120,"line":546},15,[548,553,558,563,568,572,577,582,586,591,595,600],{"type":41,"tag":118,"props":549,"children":550},{"style":333},[551],{"type":47,"value":552},"if",{"type":41,"tag":118,"props":554,"children":555},{"style":345},[556],{"type":47,"value":557}," (",{"type":41,"tag":118,"props":559,"children":560},{"style":339},[561],{"type":47,"value":562},"typeof",{"type":41,"tag":118,"props":564,"children":565},{"style":345},[566],{"type":47,"value":567}," global",{"type":41,"tag":118,"props":569,"children":570},{"style":339},[571],{"type":47,"value":417},{"type":41,"tag":118,"props":573,"children":574},{"style":345},[575],{"type":47,"value":576},"window ",{"type":41,"tag":118,"props":578,"children":579},{"style":339},[580],{"type":47,"value":581},"===",{"type":41,"tag":118,"props":583,"children":584},{"style":339},[585],{"type":47,"value":363},{"type":41,"tag":118,"props":587,"children":588},{"style":131},[589],{"type":47,"value":590},"undefined",{"type":41,"tag":118,"props":592,"children":593},{"style":339},[594],{"type":47,"value":372},{"type":41,"tag":118,"props":596,"children":597},{"style":345},[598],{"type":47,"value":599},") ",{"type":41,"tag":118,"props":601,"children":602},{"style":339},[603],{"type":47,"value":604},"{\n",{"type":41,"tag":118,"props":606,"children":608},{"class":120,"line":607},16,[609,615,619,624,629,634,638,643,648],{"type":41,"tag":118,"props":610,"children":612},{"style":611},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[613],{"type":47,"value":614},"  (",{"type":41,"tag":118,"props":616,"children":617},{"style":345},[618],{"type":47,"value":412},{"type":41,"tag":118,"props":620,"children":621},{"style":333},[622],{"type":47,"value":623}," as",{"type":41,"tag":118,"props":625,"children":626},{"style":125},[627],{"type":47,"value":628}," any",{"type":41,"tag":118,"props":630,"children":631},{"style":611},[632],{"type":47,"value":633},")",{"type":41,"tag":118,"props":635,"children":636},{"style":339},[637],{"type":47,"value":417},{"type":41,"tag":118,"props":639,"children":640},{"style":345},[641],{"type":47,"value":642},"window",{"type":41,"tag":118,"props":644,"children":645},{"style":339},[646],{"type":47,"value":647}," =",{"type":41,"tag":118,"props":649,"children":650},{"style":339},[651],{"type":47,"value":652}," {\n",{"type":41,"tag":118,"props":654,"children":656},{"class":120,"line":655},17,[657,662,667],{"type":41,"tag":118,"props":658,"children":659},{"style":611},[660],{"type":47,"value":661},"    location",{"type":41,"tag":118,"props":663,"children":664},{"style":339},[665],{"type":47,"value":666},":",{"type":41,"tag":118,"props":668,"children":669},{"style":339},[670],{"type":47,"value":652},{"type":41,"tag":118,"props":672,"children":674},{"class":120,"line":673},18,[675,680,684,688,693,697],{"type":41,"tag":118,"props":676,"children":677},{"style":611},[678],{"type":47,"value":679},"      hostname",{"type":41,"tag":118,"props":681,"children":682},{"style":339},[683],{"type":47,"value":666},{"type":41,"tag":118,"props":685,"children":686},{"style":339},[687],{"type":47,"value":363},{"type":41,"tag":118,"props":689,"children":690},{"style":131},[691],{"type":47,"value":692},"my-rn-app",{"type":41,"tag":118,"props":694,"children":695},{"style":339},[696],{"type":47,"value":372},{"type":41,"tag":118,"props":698,"children":699},{"style":339},[700],{"type":47,"value":701},",\n",{"type":41,"tag":118,"props":703,"children":705},{"class":120,"line":704},19,[706,711,715,719,724,728],{"type":41,"tag":118,"props":707,"children":708},{"style":611},[709],{"type":47,"value":710},"      href",{"type":41,"tag":118,"props":712,"children":713},{"style":339},[714],{"type":47,"value":666},{"type":41,"tag":118,"props":716,"children":717},{"style":339},[718],{"type":47,"value":363},{"type":41,"tag":118,"props":720,"children":721},{"style":131},[722],{"type":47,"value":723},"https:\u002F\u002Fmy-rn-app.local",{"type":41,"tag":118,"props":725,"children":726},{"style":339},[727],{"type":47,"value":372},{"type":41,"tag":118,"props":729,"children":730},{"style":339},[731],{"type":47,"value":701},{"type":41,"tag":118,"props":733,"children":735},{"class":120,"line":734},20,[736],{"type":41,"tag":118,"props":737,"children":738},{"style":339},[739],{"type":47,"value":740},"    },\n",{"type":41,"tag":118,"props":742,"children":744},{"class":120,"line":743},21,[745,750,754,758,763,767,771,776,780],{"type":41,"tag":118,"props":746,"children":747},{"style":611},[748],{"type":47,"value":749},"    navigator",{"type":41,"tag":118,"props":751,"children":752},{"style":339},[753],{"type":47,"value":666},{"type":41,"tag":118,"props":755,"children":756},{"style":339},[757],{"type":47,"value":342},{"type":41,"tag":118,"props":759,"children":760},{"style":611},[761],{"type":47,"value":762}," product",{"type":41,"tag":118,"props":764,"children":765},{"style":339},[766],{"type":47,"value":666},{"type":41,"tag":118,"props":768,"children":769},{"style":339},[770],{"type":47,"value":363},{"type":41,"tag":118,"props":772,"children":773},{"style":131},[774],{"type":47,"value":775},"ReactNative",{"type":41,"tag":118,"props":777,"children":778},{"style":339},[779],{"type":47,"value":372},{"type":41,"tag":118,"props":781,"children":782},{"style":339},[783],{"type":47,"value":784}," },\n",{"type":41,"tag":118,"props":786,"children":788},{"class":120,"line":787},22,[789,794,798,802,808,812,817,821,826,830,835,839,844],{"type":41,"tag":118,"props":790,"children":791},{"style":497},[792],{"type":47,"value":793},"    addEventListener",{"type":41,"tag":118,"props":795,"children":796},{"style":339},[797],{"type":47,"value":666},{"type":41,"tag":118,"props":799,"children":800},{"style":339},[801],{"type":47,"value":557},{"type":41,"tag":118,"props":803,"children":805},{"style":804},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic",[806],{"type":47,"value":807},"event",{"type":41,"tag":118,"props":809,"children":810},{"style":339},[811],{"type":47,"value":666},{"type":41,"tag":118,"props":813,"children":814},{"style":125},[815],{"type":47,"value":816}," string",{"type":41,"tag":118,"props":818,"children":819},{"style":339},[820],{"type":47,"value":515},{"type":41,"tag":118,"props":822,"children":823},{"style":804},[824],{"type":47,"value":825}," listener",{"type":41,"tag":118,"props":827,"children":828},{"style":339},[829],{"type":47,"value":666},{"type":41,"tag":118,"props":831,"children":832},{"style":125},[833],{"type":47,"value":834}," EventListener",{"type":41,"tag":118,"props":836,"children":837},{"style":339},[838],{"type":47,"value":633},{"type":41,"tag":118,"props":840,"children":841},{"style":477},[842],{"type":47,"value":843}," =>",{"type":41,"tag":118,"props":845,"children":846},{"style":339},[847],{"type":47,"value":652},{"type":41,"tag":118,"props":849,"children":851},{"class":120,"line":850},23,[852,857,861,866,871,875,880,885,889,894,898,902,907,911,915,919,923,927,932],{"type":41,"tag":118,"props":853,"children":854},{"style":333},[855],{"type":47,"value":856},"      if",{"type":41,"tag":118,"props":858,"children":859},{"style":611},[860],{"type":47,"value":557},{"type":41,"tag":118,"props":862,"children":863},{"style":339},[864],{"type":47,"value":865},"!",{"type":41,"tag":118,"props":867,"children":868},{"style":345},[869],{"type":47,"value":870},"eventListeners",{"type":41,"tag":118,"props":872,"children":873},{"style":339},[874],{"type":47,"value":417},{"type":41,"tag":118,"props":876,"children":877},{"style":497},[878],{"type":47,"value":879},"has",{"type":41,"tag":118,"props":881,"children":882},{"style":611},[883],{"type":47,"value":884},"(",{"type":41,"tag":118,"props":886,"children":887},{"style":345},[888],{"type":47,"value":807},{"type":41,"tag":118,"props":890,"children":891},{"style":611},[892],{"type":47,"value":893},")) ",{"type":41,"tag":118,"props":895,"children":896},{"style":345},[897],{"type":47,"value":870},{"type":41,"tag":118,"props":899,"children":900},{"style":339},[901],{"type":47,"value":417},{"type":41,"tag":118,"props":903,"children":904},{"style":497},[905],{"type":47,"value":906},"set",{"type":41,"tag":118,"props":908,"children":909},{"style":611},[910],{"type":47,"value":884},{"type":41,"tag":118,"props":912,"children":913},{"style":345},[914],{"type":47,"value":807},{"type":41,"tag":118,"props":916,"children":917},{"style":339},[918],{"type":47,"value":515},{"type":41,"tag":118,"props":920,"children":921},{"style":339},[922],{"type":47,"value":494},{"type":41,"tag":118,"props":924,"children":925},{"style":497},[926],{"type":47,"value":520},{"type":41,"tag":118,"props":928,"children":929},{"style":611},[930],{"type":47,"value":931},"())",{"type":41,"tag":118,"props":933,"children":934},{"style":339},[935],{"type":47,"value":377},{"type":41,"tag":118,"props":937,"children":939},{"class":120,"line":938},24,[940,945,949,954,958,962,966,971,976,980,985,989],{"type":41,"tag":118,"props":941,"children":942},{"style":345},[943],{"type":47,"value":944},"      eventListeners",{"type":41,"tag":118,"props":946,"children":947},{"style":339},[948],{"type":47,"value":417},{"type":41,"tag":118,"props":950,"children":951},{"style":497},[952],{"type":47,"value":953},"get",{"type":41,"tag":118,"props":955,"children":956},{"style":611},[957],{"type":47,"value":884},{"type":41,"tag":118,"props":959,"children":960},{"style":345},[961],{"type":47,"value":807},{"type":41,"tag":118,"props":963,"children":964},{"style":611},[965],{"type":47,"value":633},{"type":41,"tag":118,"props":967,"children":968},{"style":339},[969],{"type":47,"value":970},"?.",{"type":41,"tag":118,"props":972,"children":973},{"style":497},[974],{"type":47,"value":975},"add",{"type":41,"tag":118,"props":977,"children":978},{"style":611},[979],{"type":47,"value":884},{"type":41,"tag":118,"props":981,"children":982},{"style":345},[983],{"type":47,"value":984},"listener",{"type":41,"tag":118,"props":986,"children":987},{"style":611},[988],{"type":47,"value":633},{"type":41,"tag":118,"props":990,"children":991},{"style":339},[992],{"type":47,"value":377},{"type":41,"tag":118,"props":994,"children":996},{"class":120,"line":995},25,[997],{"type":41,"tag":118,"props":998,"children":999},{"style":339},[1000],{"type":47,"value":740},{"type":41,"tag":118,"props":1002,"children":1004},{"class":120,"line":1003},26,[1005,1010,1014,1018,1022,1026,1030,1034,1038,1042,1046,1050,1054],{"type":41,"tag":118,"props":1006,"children":1007},{"style":497},[1008],{"type":47,"value":1009},"    removeEventListener",{"type":41,"tag":118,"props":1011,"children":1012},{"style":339},[1013],{"type":47,"value":666},{"type":41,"tag":118,"props":1015,"children":1016},{"style":339},[1017],{"type":47,"value":557},{"type":41,"tag":118,"props":1019,"children":1020},{"style":804},[1021],{"type":47,"value":807},{"type":41,"tag":118,"props":1023,"children":1024},{"style":339},[1025],{"type":47,"value":666},{"type":41,"tag":118,"props":1027,"children":1028},{"style":125},[1029],{"type":47,"value":816},{"type":41,"tag":118,"props":1031,"children":1032},{"style":339},[1033],{"type":47,"value":515},{"type":41,"tag":118,"props":1035,"children":1036},{"style":804},[1037],{"type":47,"value":825},{"type":41,"tag":118,"props":1039,"children":1040},{"style":339},[1041],{"type":47,"value":666},{"type":41,"tag":118,"props":1043,"children":1044},{"style":125},[1045],{"type":47,"value":834},{"type":41,"tag":118,"props":1047,"children":1048},{"style":339},[1049],{"type":47,"value":633},{"type":41,"tag":118,"props":1051,"children":1052},{"style":477},[1053],{"type":47,"value":843},{"type":41,"tag":118,"props":1055,"children":1056},{"style":339},[1057],{"type":47,"value":652},{"type":41,"tag":118,"props":1059,"children":1061},{"class":120,"line":1060},27,[1062,1066,1070,1074,1078,1082,1086,1090,1095,1099,1103,1107],{"type":41,"tag":118,"props":1063,"children":1064},{"style":345},[1065],{"type":47,"value":944},{"type":41,"tag":118,"props":1067,"children":1068},{"style":339},[1069],{"type":47,"value":417},{"type":41,"tag":118,"props":1071,"children":1072},{"style":497},[1073],{"type":47,"value":953},{"type":41,"tag":118,"props":1075,"children":1076},{"style":611},[1077],{"type":47,"value":884},{"type":41,"tag":118,"props":1079,"children":1080},{"style":345},[1081],{"type":47,"value":807},{"type":41,"tag":118,"props":1083,"children":1084},{"style":611},[1085],{"type":47,"value":633},{"type":41,"tag":118,"props":1087,"children":1088},{"style":339},[1089],{"type":47,"value":970},{"type":41,"tag":118,"props":1091,"children":1092},{"style":497},[1093],{"type":47,"value":1094},"delete",{"type":41,"tag":118,"props":1096,"children":1097},{"style":611},[1098],{"type":47,"value":884},{"type":41,"tag":118,"props":1100,"children":1101},{"style":345},[1102],{"type":47,"value":984},{"type":41,"tag":118,"props":1104,"children":1105},{"style":611},[1106],{"type":47,"value":633},{"type":41,"tag":118,"props":1108,"children":1109},{"style":339},[1110],{"type":47,"value":377},{"type":41,"tag":118,"props":1112,"children":1114},{"class":120,"line":1113},28,[1115],{"type":41,"tag":118,"props":1116,"children":1117},{"style":339},[1118],{"type":47,"value":740},{"type":41,"tag":118,"props":1120,"children":1122},{"class":120,"line":1121},29,[1123,1128,1132,1136,1141,1145,1150,1154,1158,1164],{"type":41,"tag":118,"props":1124,"children":1125},{"style":497},[1126],{"type":47,"value":1127},"    dispatchEvent",{"type":41,"tag":118,"props":1129,"children":1130},{"style":339},[1131],{"type":47,"value":666},{"type":41,"tag":118,"props":1133,"children":1134},{"style":339},[1135],{"type":47,"value":557},{"type":41,"tag":118,"props":1137,"children":1138},{"style":804},[1139],{"type":47,"value":1140},"_event",{"type":41,"tag":118,"props":1142,"children":1143},{"style":339},[1144],{"type":47,"value":666},{"type":41,"tag":118,"props":1146,"children":1147},{"style":125},[1148],{"type":47,"value":1149}," Event",{"type":41,"tag":118,"props":1151,"children":1152},{"style":339},[1153],{"type":47,"value":633},{"type":41,"tag":118,"props":1155,"children":1156},{"style":477},[1157],{"type":47,"value":843},{"type":41,"tag":118,"props":1159,"children":1161},{"style":1160},"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC",[1162],{"type":47,"value":1163}," true",{"type":41,"tag":118,"props":1165,"children":1166},{"style":339},[1167],{"type":47,"value":701},{"type":41,"tag":118,"props":1169,"children":1171},{"class":120,"line":1170},30,[1172],{"type":41,"tag":118,"props":1173,"children":1174},{"style":339},[1175],{"type":47,"value":1176},"  };\n",{"type":41,"tag":118,"props":1178,"children":1180},{"class":120,"line":1179},31,[1181],{"type":41,"tag":118,"props":1182,"children":1183},{"style":339},[1184],{"type":47,"value":1185},"}\n",{"type":41,"tag":118,"props":1187,"children":1189},{"class":120,"line":1188},32,[1190],{"type":41,"tag":118,"props":1191,"children":1192},{"emptyLinePlaceholder":323},[1193],{"type":47,"value":326},{"type":41,"tag":118,"props":1195,"children":1197},{"class":120,"line":1196},33,[1198],{"type":41,"tag":118,"props":1199,"children":1200},{"style":296},[1201],{"type":47,"value":1202},"\u002F\u002F NOTE: Event and CustomEvent polyfills are NOT needed for standalone\n",{"type":41,"tag":118,"props":1204,"children":1206},{"class":120,"line":1205},34,[1207],{"type":41,"tag":118,"props":1208,"children":1209},{"style":296},[1210],{"type":47,"value":1211},"\u002F\u002F @metamask\u002Fconnect-evm usage — the SDK uses eventemitter3 internally.\n",{"type":41,"tag":118,"props":1213,"children":1215},{"class":120,"line":1214},35,[1216],{"type":41,"tag":118,"props":1217,"children":1218},{"style":296},[1219],{"type":47,"value":1220},"\u002F\u002F Add them only if you are also using wagmi (wagmi dispatches DOM events).\n",{"type":41,"tag":94,"props":1222,"children":1224},{"id":1223},"step-3-configure-metroconfigjs",[1225],{"type":47,"value":1226},"Step 3: Configure metro.config.js",{"type":41,"tag":57,"props":1228,"children":1229},{},[1230],{"type":47,"value":1231},"Metro cannot resolve Node.js built-in modules. Map them to React Native-compatible shims or an empty module:",{"type":41,"tag":106,"props":1233,"children":1237},{"className":1234,"code":1235,"language":1236,"meta":111,"style":111},"language-javascript shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u002F\u002F metro.config.js\nconst { getDefaultConfig, mergeConfig } = require('@react-native\u002Fmetro-config');\nconst path = require('path');\n\n\u002F\u002F Create a path to an empty module for stubs\nconst emptyModule = path.resolve(__dirname, 'src\u002Fempty-module.js');\n\nconst config = {\n  resolver: {\n    extraNodeModules: {\n      stream: require.resolve('readable-stream'),\n      crypto: emptyModule,\n      http: emptyModule,\n      https: emptyModule,\n      net: emptyModule,\n      tls: emptyModule,\n      zlib: emptyModule,\n      os: emptyModule,\n      dns: emptyModule,\n      assert: emptyModule,\n      url: emptyModule,\n      path: emptyModule,\n      fs: emptyModule,\n    },\n  },\n};\n\nmodule.exports = mergeConfig(getDefaultConfig(__dirname), config);\n","javascript",[1238],{"type":41,"tag":114,"props":1239,"children":1240},{"__ignoreMap":111},[1241,1249,1313,1358,1365,1373,1433,1440,1460,1476,1492,1540,1561,1581,1601,1621,1641,1661,1681,1701,1721,1741,1761,1781,1788,1796,1804,1811],{"type":41,"tag":118,"props":1242,"children":1243},{"class":120,"line":121},[1244],{"type":41,"tag":118,"props":1245,"children":1246},{"style":296},[1247],{"type":47,"value":1248},"\u002F\u002F metro.config.js\n",{"type":41,"tag":118,"props":1250,"children":1251},{"class":120,"line":25},[1252,1256,1260,1265,1269,1274,1279,1283,1288,1292,1296,1301,1305,1309],{"type":41,"tag":118,"props":1253,"children":1254},{"style":477},[1255],{"type":47,"value":480},{"type":41,"tag":118,"props":1257,"children":1258},{"style":339},[1259],{"type":47,"value":342},{"type":41,"tag":118,"props":1261,"children":1262},{"style":345},[1263],{"type":47,"value":1264}," getDefaultConfig",{"type":41,"tag":118,"props":1266,"children":1267},{"style":339},[1268],{"type":47,"value":515},{"type":41,"tag":118,"props":1270,"children":1271},{"style":345},[1272],{"type":47,"value":1273}," mergeConfig ",{"type":41,"tag":118,"props":1275,"children":1276},{"style":339},[1277],{"type":47,"value":1278},"}",{"type":41,"tag":118,"props":1280,"children":1281},{"style":339},[1282],{"type":47,"value":647},{"type":41,"tag":118,"props":1284,"children":1285},{"style":497},[1286],{"type":47,"value":1287}," require",{"type":41,"tag":118,"props":1289,"children":1290},{"style":345},[1291],{"type":47,"value":884},{"type":41,"tag":118,"props":1293,"children":1294},{"style":339},[1295],{"type":47,"value":372},{"type":41,"tag":118,"props":1297,"children":1298},{"style":131},[1299],{"type":47,"value":1300},"@react-native\u002Fmetro-config",{"type":41,"tag":118,"props":1302,"children":1303},{"style":339},[1304],{"type":47,"value":372},{"type":41,"tag":118,"props":1306,"children":1307},{"style":345},[1308],{"type":47,"value":633},{"type":41,"tag":118,"props":1310,"children":1311},{"style":339},[1312],{"type":47,"value":377},{"type":41,"tag":118,"props":1314,"children":1315},{"class":120,"line":310},[1316,1320,1325,1329,1333,1337,1341,1346,1350,1354],{"type":41,"tag":118,"props":1317,"children":1318},{"style":477},[1319],{"type":47,"value":480},{"type":41,"tag":118,"props":1321,"children":1322},{"style":345},[1323],{"type":47,"value":1324}," path ",{"type":41,"tag":118,"props":1326,"children":1327},{"style":339},[1328],{"type":47,"value":427},{"type":41,"tag":118,"props":1330,"children":1331},{"style":497},[1332],{"type":47,"value":1287},{"type":41,"tag":118,"props":1334,"children":1335},{"style":345},[1336],{"type":47,"value":884},{"type":41,"tag":118,"props":1338,"children":1339},{"style":339},[1340],{"type":47,"value":372},{"type":41,"tag":118,"props":1342,"children":1343},{"style":131},[1344],{"type":47,"value":1345},"path",{"type":41,"tag":118,"props":1347,"children":1348},{"style":339},[1349],{"type":47,"value":372},{"type":41,"tag":118,"props":1351,"children":1352},{"style":345},[1353],{"type":47,"value":633},{"type":41,"tag":118,"props":1355,"children":1356},{"style":339},[1357],{"type":47,"value":377},{"type":41,"tag":118,"props":1359,"children":1360},{"class":120,"line":319},[1361],{"type":41,"tag":118,"props":1362,"children":1363},{"emptyLinePlaceholder":323},[1364],{"type":47,"value":326},{"type":41,"tag":118,"props":1366,"children":1367},{"class":120,"line":329},[1368],{"type":41,"tag":118,"props":1369,"children":1370},{"style":296},[1371],{"type":47,"value":1372},"\u002F\u002F Create a path to an empty module for stubs\n",{"type":41,"tag":118,"props":1374,"children":1375},{"class":120,"line":380},[1376,1380,1385,1389,1394,1398,1403,1408,1412,1416,1421,1425,1429],{"type":41,"tag":118,"props":1377,"children":1378},{"style":477},[1379],{"type":47,"value":480},{"type":41,"tag":118,"props":1381,"children":1382},{"style":345},[1383],{"type":47,"value":1384}," emptyModule ",{"type":41,"tag":118,"props":1386,"children":1387},{"style":339},[1388],{"type":47,"value":427},{"type":41,"tag":118,"props":1390,"children":1391},{"style":345},[1392],{"type":47,"value":1393}," path",{"type":41,"tag":118,"props":1395,"children":1396},{"style":339},[1397],{"type":47,"value":417},{"type":41,"tag":118,"props":1399,"children":1400},{"style":497},[1401],{"type":47,"value":1402},"resolve",{"type":41,"tag":118,"props":1404,"children":1405},{"style":345},[1406],{"type":47,"value":1407},"(__dirname",{"type":41,"tag":118,"props":1409,"children":1410},{"style":339},[1411],{"type":47,"value":515},{"type":41,"tag":118,"props":1413,"children":1414},{"style":339},[1415],{"type":47,"value":363},{"type":41,"tag":118,"props":1417,"children":1418},{"style":131},[1419],{"type":47,"value":1420},"src\u002Fempty-module.js",{"type":41,"tag":118,"props":1422,"children":1423},{"style":339},[1424],{"type":47,"value":372},{"type":41,"tag":118,"props":1426,"children":1427},{"style":345},[1428],{"type":47,"value":633},{"type":41,"tag":118,"props":1430,"children":1431},{"style":339},[1432],{"type":47,"value":377},{"type":41,"tag":118,"props":1434,"children":1435},{"class":120,"line":388},[1436],{"type":41,"tag":118,"props":1437,"children":1438},{"emptyLinePlaceholder":323},[1439],{"type":47,"value":326},{"type":41,"tag":118,"props":1441,"children":1442},{"class":120,"line":397},[1443,1447,1452,1456],{"type":41,"tag":118,"props":1444,"children":1445},{"style":477},[1446],{"type":47,"value":480},{"type":41,"tag":118,"props":1448,"children":1449},{"style":345},[1450],{"type":47,"value":1451}," config ",{"type":41,"tag":118,"props":1453,"children":1454},{"style":339},[1455],{"type":47,"value":427},{"type":41,"tag":118,"props":1457,"children":1458},{"style":339},[1459],{"type":47,"value":652},{"type":41,"tag":118,"props":1461,"children":1462},{"class":120,"line":406},[1463,1468,1472],{"type":41,"tag":118,"props":1464,"children":1465},{"style":611},[1466],{"type":47,"value":1467},"  resolver",{"type":41,"tag":118,"props":1469,"children":1470},{"style":339},[1471],{"type":47,"value":666},{"type":41,"tag":118,"props":1473,"children":1474},{"style":339},[1475],{"type":47,"value":652},{"type":41,"tag":118,"props":1477,"children":1478},{"class":120,"line":438},[1479,1484,1488],{"type":41,"tag":118,"props":1480,"children":1481},{"style":611},[1482],{"type":47,"value":1483},"    extraNodeModules",{"type":41,"tag":118,"props":1485,"children":1486},{"style":339},[1487],{"type":47,"value":666},{"type":41,"tag":118,"props":1489,"children":1490},{"style":339},[1491],{"type":47,"value":652},{"type":41,"tag":118,"props":1493,"children":1494},{"class":120,"line":446},[1495,1500,1504,1508,1512,1516,1520,1524,1528,1532,1536],{"type":41,"tag":118,"props":1496,"children":1497},{"style":611},[1498],{"type":47,"value":1499},"      stream",{"type":41,"tag":118,"props":1501,"children":1502},{"style":339},[1503],{"type":47,"value":666},{"type":41,"tag":118,"props":1505,"children":1506},{"style":345},[1507],{"type":47,"value":1287},{"type":41,"tag":118,"props":1509,"children":1510},{"style":339},[1511],{"type":47,"value":417},{"type":41,"tag":118,"props":1513,"children":1514},{"style":497},[1515],{"type":47,"value":1402},{"type":41,"tag":118,"props":1517,"children":1518},{"style":345},[1519],{"type":47,"value":884},{"type":41,"tag":118,"props":1521,"children":1522},{"style":339},[1523],{"type":47,"value":372},{"type":41,"tag":118,"props":1525,"children":1526},{"style":131},[1527],{"type":47,"value":221},{"type":41,"tag":118,"props":1529,"children":1530},{"style":339},[1531],{"type":47,"value":372},{"type":41,"tag":118,"props":1533,"children":1534},{"style":345},[1535],{"type":47,"value":633},{"type":41,"tag":118,"props":1537,"children":1538},{"style":339},[1539],{"type":47,"value":701},{"type":41,"tag":118,"props":1541,"children":1542},{"class":120,"line":455},[1543,1548,1552,1557],{"type":41,"tag":118,"props":1544,"children":1545},{"style":611},[1546],{"type":47,"value":1547},"      crypto",{"type":41,"tag":118,"props":1549,"children":1550},{"style":339},[1551],{"type":47,"value":666},{"type":41,"tag":118,"props":1553,"children":1554},{"style":345},[1555],{"type":47,"value":1556}," emptyModule",{"type":41,"tag":118,"props":1558,"children":1559},{"style":339},[1560],{"type":47,"value":701},{"type":41,"tag":118,"props":1562,"children":1563},{"class":120,"line":464},[1564,1569,1573,1577],{"type":41,"tag":118,"props":1565,"children":1566},{"style":611},[1567],{"type":47,"value":1568},"      http",{"type":41,"tag":118,"props":1570,"children":1571},{"style":339},[1572],{"type":47,"value":666},{"type":41,"tag":118,"props":1574,"children":1575},{"style":345},[1576],{"type":47,"value":1556},{"type":41,"tag":118,"props":1578,"children":1579},{"style":339},[1580],{"type":47,"value":701},{"type":41,"tag":118,"props":1582,"children":1583},{"class":120,"line":473},[1584,1589,1593,1597],{"type":41,"tag":118,"props":1585,"children":1586},{"style":611},[1587],{"type":47,"value":1588},"      https",{"type":41,"tag":118,"props":1590,"children":1591},{"style":339},[1592],{"type":47,"value":666},{"type":41,"tag":118,"props":1594,"children":1595},{"style":345},[1596],{"type":47,"value":1556},{"type":41,"tag":118,"props":1598,"children":1599},{"style":339},[1600],{"type":47,"value":701},{"type":41,"tag":118,"props":1602,"children":1603},{"class":120,"line":546},[1604,1609,1613,1617],{"type":41,"tag":118,"props":1605,"children":1606},{"style":611},[1607],{"type":47,"value":1608},"      net",{"type":41,"tag":118,"props":1610,"children":1611},{"style":339},[1612],{"type":47,"value":666},{"type":41,"tag":118,"props":1614,"children":1615},{"style":345},[1616],{"type":47,"value":1556},{"type":41,"tag":118,"props":1618,"children":1619},{"style":339},[1620],{"type":47,"value":701},{"type":41,"tag":118,"props":1622,"children":1623},{"class":120,"line":607},[1624,1629,1633,1637],{"type":41,"tag":118,"props":1625,"children":1626},{"style":611},[1627],{"type":47,"value":1628},"      tls",{"type":41,"tag":118,"props":1630,"children":1631},{"style":339},[1632],{"type":47,"value":666},{"type":41,"tag":118,"props":1634,"children":1635},{"style":345},[1636],{"type":47,"value":1556},{"type":41,"tag":118,"props":1638,"children":1639},{"style":339},[1640],{"type":47,"value":701},{"type":41,"tag":118,"props":1642,"children":1643},{"class":120,"line":655},[1644,1649,1653,1657],{"type":41,"tag":118,"props":1645,"children":1646},{"style":611},[1647],{"type":47,"value":1648},"      zlib",{"type":41,"tag":118,"props":1650,"children":1651},{"style":339},[1652],{"type":47,"value":666},{"type":41,"tag":118,"props":1654,"children":1655},{"style":345},[1656],{"type":47,"value":1556},{"type":41,"tag":118,"props":1658,"children":1659},{"style":339},[1660],{"type":47,"value":701},{"type":41,"tag":118,"props":1662,"children":1663},{"class":120,"line":673},[1664,1669,1673,1677],{"type":41,"tag":118,"props":1665,"children":1666},{"style":611},[1667],{"type":47,"value":1668},"      os",{"type":41,"tag":118,"props":1670,"children":1671},{"style":339},[1672],{"type":47,"value":666},{"type":41,"tag":118,"props":1674,"children":1675},{"style":345},[1676],{"type":47,"value":1556},{"type":41,"tag":118,"props":1678,"children":1679},{"style":339},[1680],{"type":47,"value":701},{"type":41,"tag":118,"props":1682,"children":1683},{"class":120,"line":704},[1684,1689,1693,1697],{"type":41,"tag":118,"props":1685,"children":1686},{"style":611},[1687],{"type":47,"value":1688},"      dns",{"type":41,"tag":118,"props":1690,"children":1691},{"style":339},[1692],{"type":47,"value":666},{"type":41,"tag":118,"props":1694,"children":1695},{"style":345},[1696],{"type":47,"value":1556},{"type":41,"tag":118,"props":1698,"children":1699},{"style":339},[1700],{"type":47,"value":701},{"type":41,"tag":118,"props":1702,"children":1703},{"class":120,"line":734},[1704,1709,1713,1717],{"type":41,"tag":118,"props":1705,"children":1706},{"style":611},[1707],{"type":47,"value":1708},"      assert",{"type":41,"tag":118,"props":1710,"children":1711},{"style":339},[1712],{"type":47,"value":666},{"type":41,"tag":118,"props":1714,"children":1715},{"style":345},[1716],{"type":47,"value":1556},{"type":41,"tag":118,"props":1718,"children":1719},{"style":339},[1720],{"type":47,"value":701},{"type":41,"tag":118,"props":1722,"children":1723},{"class":120,"line":743},[1724,1729,1733,1737],{"type":41,"tag":118,"props":1725,"children":1726},{"style":611},[1727],{"type":47,"value":1728},"      url",{"type":41,"tag":118,"props":1730,"children":1731},{"style":339},[1732],{"type":47,"value":666},{"type":41,"tag":118,"props":1734,"children":1735},{"style":345},[1736],{"type":47,"value":1556},{"type":41,"tag":118,"props":1738,"children":1739},{"style":339},[1740],{"type":47,"value":701},{"type":41,"tag":118,"props":1742,"children":1743},{"class":120,"line":787},[1744,1749,1753,1757],{"type":41,"tag":118,"props":1745,"children":1746},{"style":611},[1747],{"type":47,"value":1748},"      path",{"type":41,"tag":118,"props":1750,"children":1751},{"style":339},[1752],{"type":47,"value":666},{"type":41,"tag":118,"props":1754,"children":1755},{"style":345},[1756],{"type":47,"value":1556},{"type":41,"tag":118,"props":1758,"children":1759},{"style":339},[1760],{"type":47,"value":701},{"type":41,"tag":118,"props":1762,"children":1763},{"class":120,"line":850},[1764,1769,1773,1777],{"type":41,"tag":118,"props":1765,"children":1766},{"style":611},[1767],{"type":47,"value":1768},"      fs",{"type":41,"tag":118,"props":1770,"children":1771},{"style":339},[1772],{"type":47,"value":666},{"type":41,"tag":118,"props":1774,"children":1775},{"style":345},[1776],{"type":47,"value":1556},{"type":41,"tag":118,"props":1778,"children":1779},{"style":339},[1780],{"type":47,"value":701},{"type":41,"tag":118,"props":1782,"children":1783},{"class":120,"line":938},[1784],{"type":41,"tag":118,"props":1785,"children":1786},{"style":339},[1787],{"type":47,"value":740},{"type":41,"tag":118,"props":1789,"children":1790},{"class":120,"line":995},[1791],{"type":41,"tag":118,"props":1792,"children":1793},{"style":339},[1794],{"type":47,"value":1795},"  },\n",{"type":41,"tag":118,"props":1797,"children":1798},{"class":120,"line":1003},[1799],{"type":41,"tag":118,"props":1800,"children":1801},{"style":339},[1802],{"type":47,"value":1803},"};\n",{"type":41,"tag":118,"props":1805,"children":1806},{"class":120,"line":1060},[1807],{"type":41,"tag":118,"props":1808,"children":1809},{"emptyLinePlaceholder":323},[1810],{"type":47,"value":326},{"type":41,"tag":118,"props":1812,"children":1813},{"class":120,"line":1113},[1814,1819,1823,1828,1832,1837,1842,1846,1851],{"type":41,"tag":118,"props":1815,"children":1816},{"style":339},[1817],{"type":47,"value":1818},"module.exports",{"type":41,"tag":118,"props":1820,"children":1821},{"style":339},[1822],{"type":47,"value":647},{"type":41,"tag":118,"props":1824,"children":1825},{"style":497},[1826],{"type":47,"value":1827}," mergeConfig",{"type":41,"tag":118,"props":1829,"children":1830},{"style":345},[1831],{"type":47,"value":884},{"type":41,"tag":118,"props":1833,"children":1834},{"style":497},[1835],{"type":47,"value":1836},"getDefaultConfig",{"type":41,"tag":118,"props":1838,"children":1839},{"style":345},[1840],{"type":47,"value":1841},"(__dirname)",{"type":41,"tag":118,"props":1843,"children":1844},{"style":339},[1845],{"type":47,"value":515},{"type":41,"tag":118,"props":1847,"children":1848},{"style":345},[1849],{"type":47,"value":1850}," config)",{"type":41,"tag":118,"props":1852,"children":1853},{"style":339},[1854],{"type":47,"value":377},{"type":41,"tag":57,"props":1856,"children":1857},{},[1858],{"type":47,"value":1859},"Create the empty module stub:",{"type":41,"tag":106,"props":1861,"children":1863},{"className":1234,"code":1862,"language":1236,"meta":111,"style":111},"\u002F\u002F src\u002Fempty-module.js\nmodule.exports = {};\n",[1864],{"type":41,"tag":114,"props":1865,"children":1866},{"__ignoreMap":111},[1867,1875],{"type":41,"tag":118,"props":1868,"children":1869},{"class":120,"line":121},[1870],{"type":41,"tag":118,"props":1871,"children":1872},{"style":296},[1873],{"type":47,"value":1874},"\u002F\u002F src\u002Fempty-module.js\n",{"type":41,"tag":118,"props":1876,"children":1877},{"class":120,"line":25},[1878,1882,1886],{"type":41,"tag":118,"props":1879,"children":1880},{"style":339},[1881],{"type":47,"value":1818},{"type":41,"tag":118,"props":1883,"children":1884},{"style":339},[1885],{"type":47,"value":647},{"type":41,"tag":118,"props":1887,"children":1888},{"style":339},[1889],{"type":47,"value":1890}," {};\n",{"type":41,"tag":94,"props":1892,"children":1894},{"id":1893},"step-4-set-up-the-entry-file-with-correct-import-order",[1895],{"type":47,"value":1896},"Step 4: Set up the entry file with correct import order",{"type":41,"tag":57,"props":1898,"children":1899},{},[1900,1902,1907,1909,1913],{"type":47,"value":1901},"The import order is critical. ",{"type":41,"tag":114,"props":1903,"children":1905},{"className":1904},[],[1906],{"type":47,"value":189},{"type":47,"value":1908}," ",{"type":41,"tag":209,"props":1910,"children":1911},{},[1912],{"type":47,"value":213},{"type":47,"value":1914}," be the very first import:",{"type":41,"tag":106,"props":1916,"children":1918},{"className":284,"code":1917,"language":286,"meta":111,"style":111},"\u002F\u002F index.js or App.tsx (entry file)\nimport 'react-native-get-random-values';  \u002F\u002F MUST be first\nimport '.\u002Fsrc\u002Fpolyfills';                   \u002F\u002F MUST be second\nimport { AppRegistry } from 'react-native';\nimport App from '.\u002Fsrc\u002FApp';\nimport { name as appName } from '.\u002Fapp.json';\n\nAppRegistry.registerComponent(appName, () => App);\n",[1919],{"type":41,"tag":114,"props":1920,"children":1921},{"__ignoreMap":111},[1922,1930,1959,1988,2028,2062,2112,2119],{"type":41,"tag":118,"props":1923,"children":1924},{"class":120,"line":121},[1925],{"type":41,"tag":118,"props":1926,"children":1927},{"style":296},[1928],{"type":47,"value":1929},"\u002F\u002F index.js or App.tsx (entry file)\n",{"type":41,"tag":118,"props":1931,"children":1932},{"class":120,"line":25},[1933,1937,1941,1945,1949,1954],{"type":41,"tag":118,"props":1934,"children":1935},{"style":333},[1936],{"type":47,"value":336},{"type":41,"tag":118,"props":1938,"children":1939},{"style":339},[1940],{"type":47,"value":363},{"type":41,"tag":118,"props":1942,"children":1943},{"style":131},[1944],{"type":47,"value":189},{"type":41,"tag":118,"props":1946,"children":1947},{"style":339},[1948],{"type":47,"value":372},{"type":41,"tag":118,"props":1950,"children":1951},{"style":339},[1952],{"type":47,"value":1953},";",{"type":41,"tag":118,"props":1955,"children":1956},{"style":296},[1957],{"type":47,"value":1958},"  \u002F\u002F MUST be first\n",{"type":41,"tag":118,"props":1960,"children":1961},{"class":120,"line":310},[1962,1966,1970,1975,1979,1983],{"type":41,"tag":118,"props":1963,"children":1964},{"style":333},[1965],{"type":47,"value":336},{"type":41,"tag":118,"props":1967,"children":1968},{"style":339},[1969],{"type":47,"value":363},{"type":41,"tag":118,"props":1971,"children":1972},{"style":131},[1973],{"type":47,"value":1974},".\u002Fsrc\u002Fpolyfills",{"type":41,"tag":118,"props":1976,"children":1977},{"style":339},[1978],{"type":47,"value":372},{"type":41,"tag":118,"props":1980,"children":1981},{"style":339},[1982],{"type":47,"value":1953},{"type":41,"tag":118,"props":1984,"children":1985},{"style":296},[1986],{"type":47,"value":1987},"                   \u002F\u002F MUST be second\n",{"type":41,"tag":118,"props":1989,"children":1990},{"class":120,"line":319},[1991,1995,1999,2004,2008,2012,2016,2020,2024],{"type":41,"tag":118,"props":1992,"children":1993},{"style":333},[1994],{"type":47,"value":336},{"type":41,"tag":118,"props":1996,"children":1997},{"style":339},[1998],{"type":47,"value":342},{"type":41,"tag":118,"props":2000,"children":2001},{"style":345},[2002],{"type":47,"value":2003}," AppRegistry",{"type":41,"tag":118,"props":2005,"children":2006},{"style":339},[2007],{"type":47,"value":353},{"type":41,"tag":118,"props":2009,"children":2010},{"style":333},[2011],{"type":47,"value":358},{"type":41,"tag":118,"props":2013,"children":2014},{"style":339},[2015],{"type":47,"value":363},{"type":41,"tag":118,"props":2017,"children":2018},{"style":131},[2019],{"type":47,"value":14},{"type":41,"tag":118,"props":2021,"children":2022},{"style":339},[2023],{"type":47,"value":372},{"type":41,"tag":118,"props":2025,"children":2026},{"style":339},[2027],{"type":47,"value":377},{"type":41,"tag":118,"props":2029,"children":2030},{"class":120,"line":329},[2031,2035,2040,2045,2049,2054,2058],{"type":41,"tag":118,"props":2032,"children":2033},{"style":333},[2034],{"type":47,"value":336},{"type":41,"tag":118,"props":2036,"children":2037},{"style":345},[2038],{"type":47,"value":2039}," App ",{"type":41,"tag":118,"props":2041,"children":2042},{"style":333},[2043],{"type":47,"value":2044},"from",{"type":41,"tag":118,"props":2046,"children":2047},{"style":339},[2048],{"type":47,"value":363},{"type":41,"tag":118,"props":2050,"children":2051},{"style":131},[2052],{"type":47,"value":2053},".\u002Fsrc\u002FApp",{"type":41,"tag":118,"props":2055,"children":2056},{"style":339},[2057],{"type":47,"value":372},{"type":41,"tag":118,"props":2059,"children":2060},{"style":339},[2061],{"type":47,"value":377},{"type":41,"tag":118,"props":2063,"children":2064},{"class":120,"line":380},[2065,2069,2073,2078,2082,2087,2091,2095,2099,2104,2108],{"type":41,"tag":118,"props":2066,"children":2067},{"style":333},[2068],{"type":47,"value":336},{"type":41,"tag":118,"props":2070,"children":2071},{"style":339},[2072],{"type":47,"value":342},{"type":41,"tag":118,"props":2074,"children":2075},{"style":345},[2076],{"type":47,"value":2077}," name",{"type":41,"tag":118,"props":2079,"children":2080},{"style":333},[2081],{"type":47,"value":623},{"type":41,"tag":118,"props":2083,"children":2084},{"style":345},[2085],{"type":47,"value":2086}," appName",{"type":41,"tag":118,"props":2088,"children":2089},{"style":339},[2090],{"type":47,"value":353},{"type":41,"tag":118,"props":2092,"children":2093},{"style":333},[2094],{"type":47,"value":358},{"type":41,"tag":118,"props":2096,"children":2097},{"style":339},[2098],{"type":47,"value":363},{"type":41,"tag":118,"props":2100,"children":2101},{"style":131},[2102],{"type":47,"value":2103},".\u002Fapp.json",{"type":41,"tag":118,"props":2105,"children":2106},{"style":339},[2107],{"type":47,"value":372},{"type":41,"tag":118,"props":2109,"children":2110},{"style":339},[2111],{"type":47,"value":377},{"type":41,"tag":118,"props":2113,"children":2114},{"class":120,"line":388},[2115],{"type":41,"tag":118,"props":2116,"children":2117},{"emptyLinePlaceholder":323},[2118],{"type":47,"value":326},{"type":41,"tag":118,"props":2120,"children":2121},{"class":120,"line":397},[2122,2127,2131,2136,2141,2145,2150,2154,2159],{"type":41,"tag":118,"props":2123,"children":2124},{"style":345},[2125],{"type":47,"value":2126},"AppRegistry",{"type":41,"tag":118,"props":2128,"children":2129},{"style":339},[2130],{"type":47,"value":417},{"type":41,"tag":118,"props":2132,"children":2133},{"style":497},[2134],{"type":47,"value":2135},"registerComponent",{"type":41,"tag":118,"props":2137,"children":2138},{"style":345},[2139],{"type":47,"value":2140},"(appName",{"type":41,"tag":118,"props":2142,"children":2143},{"style":339},[2144],{"type":47,"value":515},{"type":41,"tag":118,"props":2146,"children":2147},{"style":339},[2148],{"type":47,"value":2149}," ()",{"type":41,"tag":118,"props":2151,"children":2152},{"style":477},[2153],{"type":47,"value":843},{"type":41,"tag":118,"props":2155,"children":2156},{"style":345},[2157],{"type":47,"value":2158}," App)",{"type":41,"tag":118,"props":2160,"children":2161},{"style":339},[2162],{"type":47,"value":377},{"type":41,"tag":57,"props":2164,"children":2165},{},[2166,2168,2173,2175,2180,2182,2188],{"type":47,"value":2167},"If you import anything from ",{"type":41,"tag":114,"props":2169,"children":2171},{"className":2170},[],[2172],{"type":47,"value":181},{"type":47,"value":2174}," before ",{"type":41,"tag":114,"props":2176,"children":2178},{"className":2177},[],[2179],{"type":47,"value":189},{"type":47,"value":2181},", you will get ",{"type":41,"tag":114,"props":2183,"children":2185},{"className":2184},[],[2186],{"type":47,"value":2187},"crypto.getRandomValues is not a function",{"type":47,"value":417},{"type":41,"tag":94,"props":2190,"children":2192},{"id":2191},"step-5-create-the-evm-client-with-mobile-configuration",[2193],{"type":47,"value":2194},"Step 5: Create the EVM client with mobile configuration",{"type":41,"tag":106,"props":2196,"children":2198},{"className":284,"code":2197,"language":286,"meta":111,"style":111},"\u002F\u002F src\u002Fmetamask.ts\nimport { createEVMClient, getInfuraRpcUrls } from '@metamask\u002Fconnect-evm';\nimport { Linking } from 'react-native';\nimport type { MetamaskConnectEVM } from '@metamask\u002Fconnect-evm';\n\nlet clientPromise: Promise\u003CMetamaskConnectEVM> | null = null;\n\nexport function getClient(): Promise\u003CMetamaskConnectEVM> {\n  if (!clientPromise) {\n    clientPromise = createEVMClient({\n      dapp: {\n        name: 'My RN DApp',\n        url: 'https:\u002F\u002Fmydapp.com',\n      },\n      api: {\n        supportedNetworks: {\n          ...getInfuraRpcUrls({ infuraApiKey: 'YOUR_INFURA_KEY', chainIds: ['0x1', '0x89'] }),\n        },\n      },\n      ui: {\n        preferExtension: false,\n      },\n      mobile: {\n        preferredOpenLink: (deeplink: string) => Linking.openURL(deeplink),\n        useDeeplink: true,\n      },\n      eventHandlers: {\n        \u002F\u002F Keys are camelCase — `display_uri`\u002F`wallet_sessionChanged` are NOT valid here\n        displayUri: (uri: string) => {\n          console.log('Deeplink URI:', uri);\n        },\n        connect: ({ accounts, chainId }) => {\n          \u002F\u002F Fires on connection and on automatic session restore at relaunch\n          console.log('Connected\u002Frestored:', accounts, chainId);\n        },\n      },\n      debug: false,\n    });\n  }\n  return clientPromise;\n}\n",[2199],{"type":41,"tag":114,"props":2200,"children":2201},{"__ignoreMap":111},[2202,2210,2259,2299,2344,2351,2406,2413,2456,2485,2509,2525,2554,2583,2591,2607,2623,2732,2740,2747,2763,2784,2791,2807,2873,2893,2900,2916,2924,2965,3016,3023,3067,3075,3131,3138,3146,3167,3184,3193,3210],{"type":41,"tag":118,"props":2203,"children":2204},{"class":120,"line":121},[2205],{"type":41,"tag":118,"props":2206,"children":2207},{"style":296},[2208],{"type":47,"value":2209},"\u002F\u002F src\u002Fmetamask.ts\n",{"type":41,"tag":118,"props":2211,"children":2212},{"class":120,"line":25},[2213,2217,2221,2226,2230,2235,2239,2243,2247,2251,2255],{"type":41,"tag":118,"props":2214,"children":2215},{"style":333},[2216],{"type":47,"value":336},{"type":41,"tag":118,"props":2218,"children":2219},{"style":339},[2220],{"type":47,"value":342},{"type":41,"tag":118,"props":2222,"children":2223},{"style":345},[2224],{"type":47,"value":2225}," createEVMClient",{"type":41,"tag":118,"props":2227,"children":2228},{"style":339},[2229],{"type":47,"value":515},{"type":41,"tag":118,"props":2231,"children":2232},{"style":345},[2233],{"type":47,"value":2234}," getInfuraRpcUrls",{"type":41,"tag":118,"props":2236,"children":2237},{"style":339},[2238],{"type":47,"value":353},{"type":41,"tag":118,"props":2240,"children":2241},{"style":333},[2242],{"type":47,"value":358},{"type":41,"tag":118,"props":2244,"children":2245},{"style":339},[2246],{"type":47,"value":363},{"type":41,"tag":118,"props":2248,"children":2249},{"style":131},[2250],{"type":47,"value":181},{"type":41,"tag":118,"props":2252,"children":2253},{"style":339},[2254],{"type":47,"value":372},{"type":41,"tag":118,"props":2256,"children":2257},{"style":339},[2258],{"type":47,"value":377},{"type":41,"tag":118,"props":2260,"children":2261},{"class":120,"line":310},[2262,2266,2270,2275,2279,2283,2287,2291,2295],{"type":41,"tag":118,"props":2263,"children":2264},{"style":333},[2265],{"type":47,"value":336},{"type":41,"tag":118,"props":2267,"children":2268},{"style":339},[2269],{"type":47,"value":342},{"type":41,"tag":118,"props":2271,"children":2272},{"style":345},[2273],{"type":47,"value":2274}," Linking",{"type":41,"tag":118,"props":2276,"children":2277},{"style":339},[2278],{"type":47,"value":353},{"type":41,"tag":118,"props":2280,"children":2281},{"style":333},[2282],{"type":47,"value":358},{"type":41,"tag":118,"props":2284,"children":2285},{"style":339},[2286],{"type":47,"value":363},{"type":41,"tag":118,"props":2288,"children":2289},{"style":131},[2290],{"type":47,"value":14},{"type":41,"tag":118,"props":2292,"children":2293},{"style":339},[2294],{"type":47,"value":372},{"type":41,"tag":118,"props":2296,"children":2297},{"style":339},[2298],{"type":47,"value":377},{"type":41,"tag":118,"props":2300,"children":2301},{"class":120,"line":319},[2302,2306,2311,2315,2320,2324,2328,2332,2336,2340],{"type":41,"tag":118,"props":2303,"children":2304},{"style":333},[2305],{"type":47,"value":336},{"type":41,"tag":118,"props":2307,"children":2308},{"style":333},[2309],{"type":47,"value":2310}," type",{"type":41,"tag":118,"props":2312,"children":2313},{"style":339},[2314],{"type":47,"value":342},{"type":41,"tag":118,"props":2316,"children":2317},{"style":345},[2318],{"type":47,"value":2319}," MetamaskConnectEVM",{"type":41,"tag":118,"props":2321,"children":2322},{"style":339},[2323],{"type":47,"value":353},{"type":41,"tag":118,"props":2325,"children":2326},{"style":333},[2327],{"type":47,"value":358},{"type":41,"tag":118,"props":2329,"children":2330},{"style":339},[2331],{"type":47,"value":363},{"type":41,"tag":118,"props":2333,"children":2334},{"style":131},[2335],{"type":47,"value":181},{"type":41,"tag":118,"props":2337,"children":2338},{"style":339},[2339],{"type":47,"value":372},{"type":41,"tag":118,"props":2341,"children":2342},{"style":339},[2343],{"type":47,"value":377},{"type":41,"tag":118,"props":2345,"children":2346},{"class":120,"line":329},[2347],{"type":41,"tag":118,"props":2348,"children":2349},{"emptyLinePlaceholder":323},[2350],{"type":47,"value":326},{"type":41,"tag":118,"props":2352,"children":2353},{"class":120,"line":380},[2354,2359,2364,2368,2373,2377,2382,2387,2392,2397,2401],{"type":41,"tag":118,"props":2355,"children":2356},{"style":477},[2357],{"type":47,"value":2358},"let",{"type":41,"tag":118,"props":2360,"children":2361},{"style":345},[2362],{"type":47,"value":2363}," clientPromise",{"type":41,"tag":118,"props":2365,"children":2366},{"style":339},[2367],{"type":47,"value":666},{"type":41,"tag":118,"props":2369,"children":2370},{"style":125},[2371],{"type":47,"value":2372}," Promise",{"type":41,"tag":118,"props":2374,"children":2375},{"style":339},[2376],{"type":47,"value":505},{"type":41,"tag":118,"props":2378,"children":2379},{"style":125},[2380],{"type":47,"value":2381},"MetamaskConnectEVM",{"type":41,"tag":118,"props":2383,"children":2384},{"style":339},[2385],{"type":47,"value":2386},">",{"type":41,"tag":118,"props":2388,"children":2389},{"style":339},[2390],{"type":47,"value":2391}," |",{"type":41,"tag":118,"props":2393,"children":2394},{"style":125},[2395],{"type":47,"value":2396}," null",{"type":41,"tag":118,"props":2398,"children":2399},{"style":339},[2400],{"type":47,"value":647},{"type":41,"tag":118,"props":2402,"children":2403},{"style":339},[2404],{"type":47,"value":2405}," null;\n",{"type":41,"tag":118,"props":2407,"children":2408},{"class":120,"line":388},[2409],{"type":41,"tag":118,"props":2410,"children":2411},{"emptyLinePlaceholder":323},[2412],{"type":47,"value":326},{"type":41,"tag":118,"props":2414,"children":2415},{"class":120,"line":397},[2416,2421,2426,2431,2436,2440,2444,2448,2452],{"type":41,"tag":118,"props":2417,"children":2418},{"style":333},[2419],{"type":47,"value":2420},"export",{"type":41,"tag":118,"props":2422,"children":2423},{"style":477},[2424],{"type":47,"value":2425}," function",{"type":41,"tag":118,"props":2427,"children":2428},{"style":497},[2429],{"type":47,"value":2430}," getClient",{"type":41,"tag":118,"props":2432,"children":2433},{"style":339},[2434],{"type":47,"value":2435},"():",{"type":41,"tag":118,"props":2437,"children":2438},{"style":125},[2439],{"type":47,"value":2372},{"type":41,"tag":118,"props":2441,"children":2442},{"style":339},[2443],{"type":47,"value":505},{"type":41,"tag":118,"props":2445,"children":2446},{"style":125},[2447],{"type":47,"value":2381},{"type":41,"tag":118,"props":2449,"children":2450},{"style":339},[2451],{"type":47,"value":2386},{"type":41,"tag":118,"props":2453,"children":2454},{"style":339},[2455],{"type":47,"value":652},{"type":41,"tag":118,"props":2457,"children":2458},{"class":120,"line":406},[2459,2464,2468,2472,2477,2481],{"type":41,"tag":118,"props":2460,"children":2461},{"style":333},[2462],{"type":47,"value":2463},"  if",{"type":41,"tag":118,"props":2465,"children":2466},{"style":611},[2467],{"type":47,"value":557},{"type":41,"tag":118,"props":2469,"children":2470},{"style":339},[2471],{"type":47,"value":865},{"type":41,"tag":118,"props":2473,"children":2474},{"style":345},[2475],{"type":47,"value":2476},"clientPromise",{"type":41,"tag":118,"props":2478,"children":2479},{"style":611},[2480],{"type":47,"value":599},{"type":41,"tag":118,"props":2482,"children":2483},{"style":339},[2484],{"type":47,"value":604},{"type":41,"tag":118,"props":2486,"children":2487},{"class":120,"line":438},[2488,2493,2497,2501,2505],{"type":41,"tag":118,"props":2489,"children":2490},{"style":345},[2491],{"type":47,"value":2492},"    clientPromise",{"type":41,"tag":118,"props":2494,"children":2495},{"style":339},[2496],{"type":47,"value":647},{"type":41,"tag":118,"props":2498,"children":2499},{"style":497},[2500],{"type":47,"value":2225},{"type":41,"tag":118,"props":2502,"children":2503},{"style":611},[2504],{"type":47,"value":884},{"type":41,"tag":118,"props":2506,"children":2507},{"style":339},[2508],{"type":47,"value":604},{"type":41,"tag":118,"props":2510,"children":2511},{"class":120,"line":446},[2512,2517,2521],{"type":41,"tag":118,"props":2513,"children":2514},{"style":611},[2515],{"type":47,"value":2516},"      dapp",{"type":41,"tag":118,"props":2518,"children":2519},{"style":339},[2520],{"type":47,"value":666},{"type":41,"tag":118,"props":2522,"children":2523},{"style":339},[2524],{"type":47,"value":652},{"type":41,"tag":118,"props":2526,"children":2527},{"class":120,"line":455},[2528,2533,2537,2541,2546,2550],{"type":41,"tag":118,"props":2529,"children":2530},{"style":611},[2531],{"type":47,"value":2532},"        name",{"type":41,"tag":118,"props":2534,"children":2535},{"style":339},[2536],{"type":47,"value":666},{"type":41,"tag":118,"props":2538,"children":2539},{"style":339},[2540],{"type":47,"value":363},{"type":41,"tag":118,"props":2542,"children":2543},{"style":131},[2544],{"type":47,"value":2545},"My RN DApp",{"type":41,"tag":118,"props":2547,"children":2548},{"style":339},[2549],{"type":47,"value":372},{"type":41,"tag":118,"props":2551,"children":2552},{"style":339},[2553],{"type":47,"value":701},{"type":41,"tag":118,"props":2555,"children":2556},{"class":120,"line":464},[2557,2562,2566,2570,2575,2579],{"type":41,"tag":118,"props":2558,"children":2559},{"style":611},[2560],{"type":47,"value":2561},"        url",{"type":41,"tag":118,"props":2563,"children":2564},{"style":339},[2565],{"type":47,"value":666},{"type":41,"tag":118,"props":2567,"children":2568},{"style":339},[2569],{"type":47,"value":363},{"type":41,"tag":118,"props":2571,"children":2572},{"style":131},[2573],{"type":47,"value":2574},"https:\u002F\u002Fmydapp.com",{"type":41,"tag":118,"props":2576,"children":2577},{"style":339},[2578],{"type":47,"value":372},{"type":41,"tag":118,"props":2580,"children":2581},{"style":339},[2582],{"type":47,"value":701},{"type":41,"tag":118,"props":2584,"children":2585},{"class":120,"line":473},[2586],{"type":41,"tag":118,"props":2587,"children":2588},{"style":339},[2589],{"type":47,"value":2590},"      },\n",{"type":41,"tag":118,"props":2592,"children":2593},{"class":120,"line":546},[2594,2599,2603],{"type":41,"tag":118,"props":2595,"children":2596},{"style":611},[2597],{"type":47,"value":2598},"      api",{"type":41,"tag":118,"props":2600,"children":2601},{"style":339},[2602],{"type":47,"value":666},{"type":41,"tag":118,"props":2604,"children":2605},{"style":339},[2606],{"type":47,"value":652},{"type":41,"tag":118,"props":2608,"children":2609},{"class":120,"line":607},[2610,2615,2619],{"type":41,"tag":118,"props":2611,"children":2612},{"style":611},[2613],{"type":47,"value":2614},"        supportedNetworks",{"type":41,"tag":118,"props":2616,"children":2617},{"style":339},[2618],{"type":47,"value":666},{"type":41,"tag":118,"props":2620,"children":2621},{"style":339},[2622],{"type":47,"value":652},{"type":41,"tag":118,"props":2624,"children":2625},{"class":120,"line":655},[2626,2631,2636,2640,2645,2650,2654,2658,2663,2667,2671,2676,2680,2685,2689,2694,2698,2702,2706,2711,2715,2720,2724,2728],{"type":41,"tag":118,"props":2627,"children":2628},{"style":339},[2629],{"type":47,"value":2630},"          ...",{"type":41,"tag":118,"props":2632,"children":2633},{"style":497},[2634],{"type":47,"value":2635},"getInfuraRpcUrls",{"type":41,"tag":118,"props":2637,"children":2638},{"style":611},[2639],{"type":47,"value":884},{"type":41,"tag":118,"props":2641,"children":2642},{"style":339},[2643],{"type":47,"value":2644},"{",{"type":41,"tag":118,"props":2646,"children":2647},{"style":611},[2648],{"type":47,"value":2649}," infuraApiKey",{"type":41,"tag":118,"props":2651,"children":2652},{"style":339},[2653],{"type":47,"value":666},{"type":41,"tag":118,"props":2655,"children":2656},{"style":339},[2657],{"type":47,"value":363},{"type":41,"tag":118,"props":2659,"children":2660},{"style":131},[2661],{"type":47,"value":2662},"YOUR_INFURA_KEY",{"type":41,"tag":118,"props":2664,"children":2665},{"style":339},[2666],{"type":47,"value":372},{"type":41,"tag":118,"props":2668,"children":2669},{"style":339},[2670],{"type":47,"value":515},{"type":41,"tag":118,"props":2672,"children":2673},{"style":611},[2674],{"type":47,"value":2675}," chainIds",{"type":41,"tag":118,"props":2677,"children":2678},{"style":339},[2679],{"type":47,"value":666},{"type":41,"tag":118,"props":2681,"children":2682},{"style":611},[2683],{"type":47,"value":2684}," [",{"type":41,"tag":118,"props":2686,"children":2687},{"style":339},[2688],{"type":47,"value":372},{"type":41,"tag":118,"props":2690,"children":2691},{"style":131},[2692],{"type":47,"value":2693},"0x1",{"type":41,"tag":118,"props":2695,"children":2696},{"style":339},[2697],{"type":47,"value":372},{"type":41,"tag":118,"props":2699,"children":2700},{"style":339},[2701],{"type":47,"value":515},{"type":41,"tag":118,"props":2703,"children":2704},{"style":339},[2705],{"type":47,"value":363},{"type":41,"tag":118,"props":2707,"children":2708},{"style":131},[2709],{"type":47,"value":2710},"0x89",{"type":41,"tag":118,"props":2712,"children":2713},{"style":339},[2714],{"type":47,"value":372},{"type":41,"tag":118,"props":2716,"children":2717},{"style":611},[2718],{"type":47,"value":2719},"] ",{"type":41,"tag":118,"props":2721,"children":2722},{"style":339},[2723],{"type":47,"value":1278},{"type":41,"tag":118,"props":2725,"children":2726},{"style":611},[2727],{"type":47,"value":633},{"type":41,"tag":118,"props":2729,"children":2730},{"style":339},[2731],{"type":47,"value":701},{"type":41,"tag":118,"props":2733,"children":2734},{"class":120,"line":673},[2735],{"type":41,"tag":118,"props":2736,"children":2737},{"style":339},[2738],{"type":47,"value":2739},"        },\n",{"type":41,"tag":118,"props":2741,"children":2742},{"class":120,"line":704},[2743],{"type":41,"tag":118,"props":2744,"children":2745},{"style":339},[2746],{"type":47,"value":2590},{"type":41,"tag":118,"props":2748,"children":2749},{"class":120,"line":734},[2750,2755,2759],{"type":41,"tag":118,"props":2751,"children":2752},{"style":611},[2753],{"type":47,"value":2754},"      ui",{"type":41,"tag":118,"props":2756,"children":2757},{"style":339},[2758],{"type":47,"value":666},{"type":41,"tag":118,"props":2760,"children":2761},{"style":339},[2762],{"type":47,"value":652},{"type":41,"tag":118,"props":2764,"children":2765},{"class":120,"line":743},[2766,2771,2775,2780],{"type":41,"tag":118,"props":2767,"children":2768},{"style":611},[2769],{"type":47,"value":2770},"        preferExtension",{"type":41,"tag":118,"props":2772,"children":2773},{"style":339},[2774],{"type":47,"value":666},{"type":41,"tag":118,"props":2776,"children":2777},{"style":1160},[2778],{"type":47,"value":2779}," false",{"type":41,"tag":118,"props":2781,"children":2782},{"style":339},[2783],{"type":47,"value":701},{"type":41,"tag":118,"props":2785,"children":2786},{"class":120,"line":787},[2787],{"type":41,"tag":118,"props":2788,"children":2789},{"style":339},[2790],{"type":47,"value":2590},{"type":41,"tag":118,"props":2792,"children":2793},{"class":120,"line":850},[2794,2799,2803],{"type":41,"tag":118,"props":2795,"children":2796},{"style":611},[2797],{"type":47,"value":2798},"      mobile",{"type":41,"tag":118,"props":2800,"children":2801},{"style":339},[2802],{"type":47,"value":666},{"type":41,"tag":118,"props":2804,"children":2805},{"style":339},[2806],{"type":47,"value":652},{"type":41,"tag":118,"props":2808,"children":2809},{"class":120,"line":938},[2810,2815,2819,2823,2828,2832,2836,2840,2844,2848,2852,2857,2861,2865,2869],{"type":41,"tag":118,"props":2811,"children":2812},{"style":497},[2813],{"type":47,"value":2814},"        preferredOpenLink",{"type":41,"tag":118,"props":2816,"children":2817},{"style":339},[2818],{"type":47,"value":666},{"type":41,"tag":118,"props":2820,"children":2821},{"style":339},[2822],{"type":47,"value":557},{"type":41,"tag":118,"props":2824,"children":2825},{"style":804},[2826],{"type":47,"value":2827},"deeplink",{"type":41,"tag":118,"props":2829,"children":2830},{"style":339},[2831],{"type":47,"value":666},{"type":41,"tag":118,"props":2833,"children":2834},{"style":125},[2835],{"type":47,"value":816},{"type":41,"tag":118,"props":2837,"children":2838},{"style":339},[2839],{"type":47,"value":633},{"type":41,"tag":118,"props":2841,"children":2842},{"style":477},[2843],{"type":47,"value":843},{"type":41,"tag":118,"props":2845,"children":2846},{"style":345},[2847],{"type":47,"value":2274},{"type":41,"tag":118,"props":2849,"children":2850},{"style":339},[2851],{"type":47,"value":417},{"type":41,"tag":118,"props":2853,"children":2854},{"style":497},[2855],{"type":47,"value":2856},"openURL",{"type":41,"tag":118,"props":2858,"children":2859},{"style":611},[2860],{"type":47,"value":884},{"type":41,"tag":118,"props":2862,"children":2863},{"style":345},[2864],{"type":47,"value":2827},{"type":41,"tag":118,"props":2866,"children":2867},{"style":611},[2868],{"type":47,"value":633},{"type":41,"tag":118,"props":2870,"children":2871},{"style":339},[2872],{"type":47,"value":701},{"type":41,"tag":118,"props":2874,"children":2875},{"class":120,"line":995},[2876,2881,2885,2889],{"type":41,"tag":118,"props":2877,"children":2878},{"style":611},[2879],{"type":47,"value":2880},"        useDeeplink",{"type":41,"tag":118,"props":2882,"children":2883},{"style":339},[2884],{"type":47,"value":666},{"type":41,"tag":118,"props":2886,"children":2887},{"style":1160},[2888],{"type":47,"value":1163},{"type":41,"tag":118,"props":2890,"children":2891},{"style":339},[2892],{"type":47,"value":701},{"type":41,"tag":118,"props":2894,"children":2895},{"class":120,"line":1003},[2896],{"type":41,"tag":118,"props":2897,"children":2898},{"style":339},[2899],{"type":47,"value":2590},{"type":41,"tag":118,"props":2901,"children":2902},{"class":120,"line":1060},[2903,2908,2912],{"type":41,"tag":118,"props":2904,"children":2905},{"style":611},[2906],{"type":47,"value":2907},"      eventHandlers",{"type":41,"tag":118,"props":2909,"children":2910},{"style":339},[2911],{"type":47,"value":666},{"type":41,"tag":118,"props":2913,"children":2914},{"style":339},[2915],{"type":47,"value":652},{"type":41,"tag":118,"props":2917,"children":2918},{"class":120,"line":1113},[2919],{"type":41,"tag":118,"props":2920,"children":2921},{"style":296},[2922],{"type":47,"value":2923},"        \u002F\u002F Keys are camelCase — `display_uri`\u002F`wallet_sessionChanged` are NOT valid here\n",{"type":41,"tag":118,"props":2925,"children":2926},{"class":120,"line":1121},[2927,2932,2936,2940,2945,2949,2953,2957,2961],{"type":41,"tag":118,"props":2928,"children":2929},{"style":497},[2930],{"type":47,"value":2931},"        displayUri",{"type":41,"tag":118,"props":2933,"children":2934},{"style":339},[2935],{"type":47,"value":666},{"type":41,"tag":118,"props":2937,"children":2938},{"style":339},[2939],{"type":47,"value":557},{"type":41,"tag":118,"props":2941,"children":2942},{"style":804},[2943],{"type":47,"value":2944},"uri",{"type":41,"tag":118,"props":2946,"children":2947},{"style":339},[2948],{"type":47,"value":666},{"type":41,"tag":118,"props":2950,"children":2951},{"style":125},[2952],{"type":47,"value":816},{"type":41,"tag":118,"props":2954,"children":2955},{"style":339},[2956],{"type":47,"value":633},{"type":41,"tag":118,"props":2958,"children":2959},{"style":477},[2960],{"type":47,"value":843},{"type":41,"tag":118,"props":2962,"children":2963},{"style":339},[2964],{"type":47,"value":652},{"type":41,"tag":118,"props":2966,"children":2967},{"class":120,"line":1170},[2968,2973,2977,2982,2986,2990,2995,2999,3003,3008,3012],{"type":41,"tag":118,"props":2969,"children":2970},{"style":345},[2971],{"type":47,"value":2972},"          console",{"type":41,"tag":118,"props":2974,"children":2975},{"style":339},[2976],{"type":47,"value":417},{"type":41,"tag":118,"props":2978,"children":2979},{"style":497},[2980],{"type":47,"value":2981},"log",{"type":41,"tag":118,"props":2983,"children":2984},{"style":611},[2985],{"type":47,"value":884},{"type":41,"tag":118,"props":2987,"children":2988},{"style":339},[2989],{"type":47,"value":372},{"type":41,"tag":118,"props":2991,"children":2992},{"style":131},[2993],{"type":47,"value":2994},"Deeplink URI:",{"type":41,"tag":118,"props":2996,"children":2997},{"style":339},[2998],{"type":47,"value":372},{"type":41,"tag":118,"props":3000,"children":3001},{"style":339},[3002],{"type":47,"value":515},{"type":41,"tag":118,"props":3004,"children":3005},{"style":345},[3006],{"type":47,"value":3007}," uri",{"type":41,"tag":118,"props":3009,"children":3010},{"style":611},[3011],{"type":47,"value":633},{"type":41,"tag":118,"props":3013,"children":3014},{"style":339},[3015],{"type":47,"value":377},{"type":41,"tag":118,"props":3017,"children":3018},{"class":120,"line":1179},[3019],{"type":41,"tag":118,"props":3020,"children":3021},{"style":339},[3022],{"type":47,"value":2739},{"type":41,"tag":118,"props":3024,"children":3025},{"class":120,"line":1188},[3026,3031,3035,3040,3045,3049,3054,3059,3063],{"type":41,"tag":118,"props":3027,"children":3028},{"style":497},[3029],{"type":47,"value":3030},"        connect",{"type":41,"tag":118,"props":3032,"children":3033},{"style":339},[3034],{"type":47,"value":666},{"type":41,"tag":118,"props":3036,"children":3037},{"style":339},[3038],{"type":47,"value":3039}," ({",{"type":41,"tag":118,"props":3041,"children":3042},{"style":804},[3043],{"type":47,"value":3044}," accounts",{"type":41,"tag":118,"props":3046,"children":3047},{"style":339},[3048],{"type":47,"value":515},{"type":41,"tag":118,"props":3050,"children":3051},{"style":804},[3052],{"type":47,"value":3053}," chainId",{"type":41,"tag":118,"props":3055,"children":3056},{"style":339},[3057],{"type":47,"value":3058}," })",{"type":41,"tag":118,"props":3060,"children":3061},{"style":477},[3062],{"type":47,"value":843},{"type":41,"tag":118,"props":3064,"children":3065},{"style":339},[3066],{"type":47,"value":652},{"type":41,"tag":118,"props":3068,"children":3069},{"class":120,"line":1196},[3070],{"type":41,"tag":118,"props":3071,"children":3072},{"style":296},[3073],{"type":47,"value":3074},"          \u002F\u002F Fires on connection and on automatic session restore at relaunch\n",{"type":41,"tag":118,"props":3076,"children":3077},{"class":120,"line":1205},[3078,3082,3086,3090,3094,3098,3103,3107,3111,3115,3119,3123,3127],{"type":41,"tag":118,"props":3079,"children":3080},{"style":345},[3081],{"type":47,"value":2972},{"type":41,"tag":118,"props":3083,"children":3084},{"style":339},[3085],{"type":47,"value":417},{"type":41,"tag":118,"props":3087,"children":3088},{"style":497},[3089],{"type":47,"value":2981},{"type":41,"tag":118,"props":3091,"children":3092},{"style":611},[3093],{"type":47,"value":884},{"type":41,"tag":118,"props":3095,"children":3096},{"style":339},[3097],{"type":47,"value":372},{"type":41,"tag":118,"props":3099,"children":3100},{"style":131},[3101],{"type":47,"value":3102},"Connected\u002Frestored:",{"type":41,"tag":118,"props":3104,"children":3105},{"style":339},[3106],{"type":47,"value":372},{"type":41,"tag":118,"props":3108,"children":3109},{"style":339},[3110],{"type":47,"value":515},{"type":41,"tag":118,"props":3112,"children":3113},{"style":345},[3114],{"type":47,"value":3044},{"type":41,"tag":118,"props":3116,"children":3117},{"style":339},[3118],{"type":47,"value":515},{"type":41,"tag":118,"props":3120,"children":3121},{"style":345},[3122],{"type":47,"value":3053},{"type":41,"tag":118,"props":3124,"children":3125},{"style":611},[3126],{"type":47,"value":633},{"type":41,"tag":118,"props":3128,"children":3129},{"style":339},[3130],{"type":47,"value":377},{"type":41,"tag":118,"props":3132,"children":3133},{"class":120,"line":1214},[3134],{"type":41,"tag":118,"props":3135,"children":3136},{"style":339},[3137],{"type":47,"value":2739},{"type":41,"tag":118,"props":3139,"children":3141},{"class":120,"line":3140},36,[3142],{"type":41,"tag":118,"props":3143,"children":3144},{"style":339},[3145],{"type":47,"value":2590},{"type":41,"tag":118,"props":3147,"children":3149},{"class":120,"line":3148},37,[3150,3155,3159,3163],{"type":41,"tag":118,"props":3151,"children":3152},{"style":611},[3153],{"type":47,"value":3154},"      debug",{"type":41,"tag":118,"props":3156,"children":3157},{"style":339},[3158],{"type":47,"value":666},{"type":41,"tag":118,"props":3160,"children":3161},{"style":1160},[3162],{"type":47,"value":2779},{"type":41,"tag":118,"props":3164,"children":3165},{"style":339},[3166],{"type":47,"value":701},{"type":41,"tag":118,"props":3168,"children":3170},{"class":120,"line":3169},38,[3171,3176,3180],{"type":41,"tag":118,"props":3172,"children":3173},{"style":339},[3174],{"type":47,"value":3175},"    }",{"type":41,"tag":118,"props":3177,"children":3178},{"style":611},[3179],{"type":47,"value":633},{"type":41,"tag":118,"props":3181,"children":3182},{"style":339},[3183],{"type":47,"value":377},{"type":41,"tag":118,"props":3185,"children":3187},{"class":120,"line":3186},39,[3188],{"type":41,"tag":118,"props":3189,"children":3190},{"style":339},[3191],{"type":47,"value":3192},"  }\n",{"type":41,"tag":118,"props":3194,"children":3196},{"class":120,"line":3195},40,[3197,3202,3206],{"type":41,"tag":118,"props":3198,"children":3199},{"style":333},[3200],{"type":47,"value":3201},"  return",{"type":41,"tag":118,"props":3203,"children":3204},{"style":345},[3205],{"type":47,"value":2363},{"type":41,"tag":118,"props":3207,"children":3208},{"style":339},[3209],{"type":47,"value":377},{"type":41,"tag":118,"props":3211,"children":3213},{"class":120,"line":3212},41,[3214],{"type":41,"tag":118,"props":3215,"children":3216},{"style":339},[3217],{"type":47,"value":1185},{"type":41,"tag":57,"props":3219,"children":3220},{},[3221,3227,3229,3234],{"type":41,"tag":114,"props":3222,"children":3224},{"className":3223},[],[3225],{"type":47,"value":3226},"mobile.preferredOpenLink",{"type":47,"value":3228}," is ",{"type":41,"tag":209,"props":3230,"children":3231},{},[3232],{"type":47,"value":3233},"required",{"type":47,"value":3235}," for React Native — it tells the SDK how to open deeplinks to the MetaMask Mobile app. Without it, the connection flow will hang silently.",{"type":41,"tag":94,"props":3237,"children":3239},{"id":3238},"step-6-build-the-react-native-component",[3240],{"type":47,"value":3241},"Step 6: Build the React Native component",{"type":41,"tag":106,"props":3243,"children":3247},{"className":3244,"code":3245,"language":3246,"meta":111,"style":111},"language-tsx shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u002F\u002F src\u002FWalletScreen.tsx\nimport React, { useEffect, useRef, useState, useCallback } from 'react';\nimport { View, Text, TouchableOpacity, StyleSheet, Alert } from 'react-native';\nimport { getClient } from '.\u002Fmetamask';\nimport type { MetamaskConnectEVM } from '@metamask\u002Fconnect-evm';\nimport type { Hex, Address } from '@metamask\u002Fconnect-evm';\n\nexport function WalletScreen() {\n  const clientRef = useRef\u003CMetamaskConnectEVM | null>(null);\n  const [accounts, setAccounts] = useState\u003CAddress[]>([]);\n  const [chainId, setChainId] = useState\u003CHex | null>(null);\n  const [balance, setBalance] = useState\u003Cstring>('');\n  const [connecting, setConnecting] = useState(false);\n\n  useEffect(() => {\n    let mounted = true;\n\n    async function init() {\n      const client = await getClient();\n      if (!mounted) return;\n      clientRef.current = client;\n\n      const provider = client.getProvider();\n\n      provider.on('accountsChanged', (accs: Address[]) => {\n        if (mounted) setAccounts(accs);\n      });\n\n      provider.on('chainChanged', (id: Hex) => {\n        if (mounted) setChainId(id);\n      });\n\n      provider.on('disconnect', () => {\n        if (mounted) {\n          setAccounts([]);\n          setChainId(null);\n          setBalance('');\n        }\n      });\n    }\n\n    init();\n    return () => { mounted = false; };\n  }, []);\n\n  const handleConnect = useCallback(async () => {\n    const client = clientRef.current;\n    if (!client) return;\n\n    setConnecting(true);\n    try {\n      const result = await client.connect({ chainIds: ['0x1'] });\n      setAccounts(result.accounts as Address[]);\n      setChainId(result.chainId as Hex);\n    } catch (err: any) {\n      if (err.code === 4001) {\n        Alert.alert('Rejected', 'Connection was rejected. Please try again.');\n        return;\n      }\n      if (err.code === -32002) {\n        Alert.alert('Pending', 'A request is already pending. Check MetaMask.');\n        return;\n      }\n      Alert.alert('Error', err.message ?? 'Connection failed');\n    } finally {\n      setConnecting(false);\n    }\n  }, []);\n\n  const handleDisconnect = useCallback(async () => {\n    const client = clientRef.current;\n    if (!client) return;\n    await client.disconnect();\n    setAccounts([]);\n    setChainId(null);\n    setBalance('');\n  }, []);\n\n  const fetchBalance = useCallback(async () => {\n    const client = clientRef.current;\n    if (!client || accounts.length === 0) return;\n\n    const provider = client.getProvider();\n    const wei = await provider.request({\n      method: 'eth_getBalance',\n      params: [accounts[0], 'latest'],\n    }) as Hex;\n\n    const ethBalance = parseInt(wei, 16) \u002F 1e18;\n    setBalance(ethBalance.toFixed(6));\n  }, [accounts]);\n\n  const isConnected = accounts.length > 0;\n\n  return (\n    \u003CView style={styles.container}>\n      {!isConnected ? (\n        \u003CTouchableOpacity\n          style={styles.button}\n          onPress={handleConnect}\n          disabled={connecting}\n        >\n          \u003CText style={styles.buttonText}>\n            {connecting ? 'Connecting...' : 'Connect MetaMask'}\n          \u003C\u002FText>\n        \u003C\u002FTouchableOpacity>\n      ) : (\n        \u003CView>\n          \u003CText style={styles.label}>Account: {accounts[0]}\u003C\u002FText>\n          \u003CText style={styles.label}>Chain: {chainId}\u003C\u002FText>\n          \u003CText style={styles.label}>Balance: {balance || '—'} ETH\u003C\u002FText>\n          \u003CTouchableOpacity style={styles.button} onPress={fetchBalance}>\n            \u003CText style={styles.buttonText}>Refresh Balance\u003C\u002FText>\n          \u003C\u002FTouchableOpacity>\n          \u003CTouchableOpacity style={styles.button} onPress={handleDisconnect}>\n            \u003CText style={styles.buttonText}>Disconnect\u003C\u002FText>\n          \u003C\u002FTouchableOpacity>\n        \u003C\u002FView>\n      )}\n    \u003C\u002FView>\n  );\n}\n\nconst styles = StyleSheet.create({\n  container: { flex: 1, justifyContent: 'center', alignItems: 'center', padding: 20 },\n  button: { backgroundColor: '#037DD6', padding: 14, borderRadius: 8, marginVertical: 8 },\n  buttonText: { color: '#fff', fontSize: 16, textAlign: 'center' },\n  label: { fontSize: 14, marginVertical: 4 },\n});\n","tsx",[3248],{"type":41,"tag":114,"props":3249,"children":3250},{"__ignoreMap":111},[3251,3259,3336,3412,3452,3495,3548,3555,3579,3637,3702,3776,3842,3896,3903,3927,3952,3959,3984,4018,4051,4080,4087,4124,4131,4202,4243,4259,4266,4331,4371,4386,4393,4441,4464,4480,4504,4528,4536,4551,4559,4566,4583,4625,4643,4651,4693,4726,4760,4768,4794,4807,4889,4932,4973,5011,5054,5114,5127,5136,5182,5240,5252,5260,5338,5355,5380,5388,5404,5412,5453,5485,5517,5546,5563,5588,5613,5629,5637,5678,5710,5769,5777,5813,5855,5885,5945,5970,5978,6036,6080,6105,6113,6155,6163,6176,6219,6242,6256,6286,6308,6329,6338,6377,6430,6448,6466,6483,6499,6572,6633,6723,6778,6832,6848,6901,6954,6970,6986,6999,7016,7029,7037,7045,7083,7187,7282,7367,7417],{"type":41,"tag":118,"props":3252,"children":3253},{"class":120,"line":121},[3254],{"type":41,"tag":118,"props":3255,"children":3256},{"style":296},[3257],{"type":47,"value":3258},"\u002F\u002F src\u002FWalletScreen.tsx\n",{"type":41,"tag":118,"props":3260,"children":3261},{"class":120,"line":25},[3262,3266,3271,3275,3279,3284,3288,3293,3297,3302,3306,3311,3315,3319,3323,3328,3332],{"type":41,"tag":118,"props":3263,"children":3264},{"style":333},[3265],{"type":47,"value":336},{"type":41,"tag":118,"props":3267,"children":3268},{"style":345},[3269],{"type":47,"value":3270}," React",{"type":41,"tag":118,"props":3272,"children":3273},{"style":339},[3274],{"type":47,"value":515},{"type":41,"tag":118,"props":3276,"children":3277},{"style":339},[3278],{"type":47,"value":342},{"type":41,"tag":118,"props":3280,"children":3281},{"style":345},[3282],{"type":47,"value":3283}," useEffect",{"type":41,"tag":118,"props":3285,"children":3286},{"style":339},[3287],{"type":47,"value":515},{"type":41,"tag":118,"props":3289,"children":3290},{"style":345},[3291],{"type":47,"value":3292}," useRef",{"type":41,"tag":118,"props":3294,"children":3295},{"style":339},[3296],{"type":47,"value":515},{"type":41,"tag":118,"props":3298,"children":3299},{"style":345},[3300],{"type":47,"value":3301}," useState",{"type":41,"tag":118,"props":3303,"children":3304},{"style":339},[3305],{"type":47,"value":515},{"type":41,"tag":118,"props":3307,"children":3308},{"style":345},[3309],{"type":47,"value":3310}," useCallback",{"type":41,"tag":118,"props":3312,"children":3313},{"style":339},[3314],{"type":47,"value":353},{"type":41,"tag":118,"props":3316,"children":3317},{"style":333},[3318],{"type":47,"value":358},{"type":41,"tag":118,"props":3320,"children":3321},{"style":339},[3322],{"type":47,"value":363},{"type":41,"tag":118,"props":3324,"children":3325},{"style":131},[3326],{"type":47,"value":3327},"react",{"type":41,"tag":118,"props":3329,"children":3330},{"style":339},[3331],{"type":47,"value":372},{"type":41,"tag":118,"props":3333,"children":3334},{"style":339},[3335],{"type":47,"value":377},{"type":41,"tag":118,"props":3337,"children":3338},{"class":120,"line":310},[3339,3343,3347,3352,3356,3361,3365,3370,3374,3379,3383,3388,3392,3396,3400,3404,3408],{"type":41,"tag":118,"props":3340,"children":3341},{"style":333},[3342],{"type":47,"value":336},{"type":41,"tag":118,"props":3344,"children":3345},{"style":339},[3346],{"type":47,"value":342},{"type":41,"tag":118,"props":3348,"children":3349},{"style":345},[3350],{"type":47,"value":3351}," View",{"type":41,"tag":118,"props":3353,"children":3354},{"style":339},[3355],{"type":47,"value":515},{"type":41,"tag":118,"props":3357,"children":3358},{"style":345},[3359],{"type":47,"value":3360}," Text",{"type":41,"tag":118,"props":3362,"children":3363},{"style":339},[3364],{"type":47,"value":515},{"type":41,"tag":118,"props":3366,"children":3367},{"style":345},[3368],{"type":47,"value":3369}," TouchableOpacity",{"type":41,"tag":118,"props":3371,"children":3372},{"style":339},[3373],{"type":47,"value":515},{"type":41,"tag":118,"props":3375,"children":3376},{"style":345},[3377],{"type":47,"value":3378}," StyleSheet",{"type":41,"tag":118,"props":3380,"children":3381},{"style":339},[3382],{"type":47,"value":515},{"type":41,"tag":118,"props":3384,"children":3385},{"style":345},[3386],{"type":47,"value":3387}," Alert",{"type":41,"tag":118,"props":3389,"children":3390},{"style":339},[3391],{"type":47,"value":353},{"type":41,"tag":118,"props":3393,"children":3394},{"style":333},[3395],{"type":47,"value":358},{"type":41,"tag":118,"props":3397,"children":3398},{"style":339},[3399],{"type":47,"value":363},{"type":41,"tag":118,"props":3401,"children":3402},{"style":131},[3403],{"type":47,"value":14},{"type":41,"tag":118,"props":3405,"children":3406},{"style":339},[3407],{"type":47,"value":372},{"type":41,"tag":118,"props":3409,"children":3410},{"style":339},[3411],{"type":47,"value":377},{"type":41,"tag":118,"props":3413,"children":3414},{"class":120,"line":319},[3415,3419,3423,3427,3431,3435,3439,3444,3448],{"type":41,"tag":118,"props":3416,"children":3417},{"style":333},[3418],{"type":47,"value":336},{"type":41,"tag":118,"props":3420,"children":3421},{"style":339},[3422],{"type":47,"value":342},{"type":41,"tag":118,"props":3424,"children":3425},{"style":345},[3426],{"type":47,"value":2430},{"type":41,"tag":118,"props":3428,"children":3429},{"style":339},[3430],{"type":47,"value":353},{"type":41,"tag":118,"props":3432,"children":3433},{"style":333},[3434],{"type":47,"value":358},{"type":41,"tag":118,"props":3436,"children":3437},{"style":339},[3438],{"type":47,"value":363},{"type":41,"tag":118,"props":3440,"children":3441},{"style":131},[3442],{"type":47,"value":3443},".\u002Fmetamask",{"type":41,"tag":118,"props":3445,"children":3446},{"style":339},[3447],{"type":47,"value":372},{"type":41,"tag":118,"props":3449,"children":3450},{"style":339},[3451],{"type":47,"value":377},{"type":41,"tag":118,"props":3453,"children":3454},{"class":120,"line":329},[3455,3459,3463,3467,3471,3475,3479,3483,3487,3491],{"type":41,"tag":118,"props":3456,"children":3457},{"style":333},[3458],{"type":47,"value":336},{"type":41,"tag":118,"props":3460,"children":3461},{"style":333},[3462],{"type":47,"value":2310},{"type":41,"tag":118,"props":3464,"children":3465},{"style":339},[3466],{"type":47,"value":342},{"type":41,"tag":118,"props":3468,"children":3469},{"style":345},[3470],{"type":47,"value":2319},{"type":41,"tag":118,"props":3472,"children":3473},{"style":339},[3474],{"type":47,"value":353},{"type":41,"tag":118,"props":3476,"children":3477},{"style":333},[3478],{"type":47,"value":358},{"type":41,"tag":118,"props":3480,"children":3481},{"style":339},[3482],{"type":47,"value":363},{"type":41,"tag":118,"props":3484,"children":3485},{"style":131},[3486],{"type":47,"value":181},{"type":41,"tag":118,"props":3488,"children":3489},{"style":339},[3490],{"type":47,"value":372},{"type":41,"tag":118,"props":3492,"children":3493},{"style":339},[3494],{"type":47,"value":377},{"type":41,"tag":118,"props":3496,"children":3497},{"class":120,"line":380},[3498,3502,3506,3510,3515,3519,3524,3528,3532,3536,3540,3544],{"type":41,"tag":118,"props":3499,"children":3500},{"style":333},[3501],{"type":47,"value":336},{"type":41,"tag":118,"props":3503,"children":3504},{"style":333},[3505],{"type":47,"value":2310},{"type":41,"tag":118,"props":3507,"children":3508},{"style":339},[3509],{"type":47,"value":342},{"type":41,"tag":118,"props":3511,"children":3512},{"style":345},[3513],{"type":47,"value":3514}," Hex",{"type":41,"tag":118,"props":3516,"children":3517},{"style":339},[3518],{"type":47,"value":515},{"type":41,"tag":118,"props":3520,"children":3521},{"style":345},[3522],{"type":47,"value":3523}," Address",{"type":41,"tag":118,"props":3525,"children":3526},{"style":339},[3527],{"type":47,"value":353},{"type":41,"tag":118,"props":3529,"children":3530},{"style":333},[3531],{"type":47,"value":358},{"type":41,"tag":118,"props":3533,"children":3534},{"style":339},[3535],{"type":47,"value":363},{"type":41,"tag":118,"props":3537,"children":3538},{"style":131},[3539],{"type":47,"value":181},{"type":41,"tag":118,"props":3541,"children":3542},{"style":339},[3543],{"type":47,"value":372},{"type":41,"tag":118,"props":3545,"children":3546},{"style":339},[3547],{"type":47,"value":377},{"type":41,"tag":118,"props":3549,"children":3550},{"class":120,"line":388},[3551],{"type":41,"tag":118,"props":3552,"children":3553},{"emptyLinePlaceholder":323},[3554],{"type":47,"value":326},{"type":41,"tag":118,"props":3556,"children":3557},{"class":120,"line":397},[3558,3562,3566,3571,3575],{"type":41,"tag":118,"props":3559,"children":3560},{"style":333},[3561],{"type":47,"value":2420},{"type":41,"tag":118,"props":3563,"children":3564},{"style":477},[3565],{"type":47,"value":2425},{"type":41,"tag":118,"props":3567,"children":3568},{"style":497},[3569],{"type":47,"value":3570}," WalletScreen",{"type":41,"tag":118,"props":3572,"children":3573},{"style":339},[3574],{"type":47,"value":539},{"type":41,"tag":118,"props":3576,"children":3577},{"style":339},[3578],{"type":47,"value":652},{"type":41,"tag":118,"props":3580,"children":3581},{"class":120,"line":406},[3582,3587,3592,3596,3600,3604,3608,3612,3616,3620,3624,3629,3633],{"type":41,"tag":118,"props":3583,"children":3584},{"style":477},[3585],{"type":47,"value":3586},"  const",{"type":41,"tag":118,"props":3588,"children":3589},{"style":345},[3590],{"type":47,"value":3591}," clientRef",{"type":41,"tag":118,"props":3593,"children":3594},{"style":339},[3595],{"type":47,"value":647},{"type":41,"tag":118,"props":3597,"children":3598},{"style":497},[3599],{"type":47,"value":3292},{"type":41,"tag":118,"props":3601,"children":3602},{"style":339},[3603],{"type":47,"value":505},{"type":41,"tag":118,"props":3605,"children":3606},{"style":125},[3607],{"type":47,"value":2381},{"type":41,"tag":118,"props":3609,"children":3610},{"style":339},[3611],{"type":47,"value":2391},{"type":41,"tag":118,"props":3613,"children":3614},{"style":125},[3615],{"type":47,"value":2396},{"type":41,"tag":118,"props":3617,"children":3618},{"style":339},[3619],{"type":47,"value":2386},{"type":41,"tag":118,"props":3621,"children":3622},{"style":611},[3623],{"type":47,"value":884},{"type":41,"tag":118,"props":3625,"children":3626},{"style":339},[3627],{"type":47,"value":3628},"null",{"type":41,"tag":118,"props":3630,"children":3631},{"style":611},[3632],{"type":47,"value":633},{"type":41,"tag":118,"props":3634,"children":3635},{"style":339},[3636],{"type":47,"value":377},{"type":41,"tag":118,"props":3638,"children":3639},{"class":120,"line":438},[3640,3644,3648,3653,3657,3662,3667,3671,3675,3679,3684,3689,3693,3698],{"type":41,"tag":118,"props":3641,"children":3642},{"style":477},[3643],{"type":47,"value":3586},{"type":41,"tag":118,"props":3645,"children":3646},{"style":339},[3647],{"type":47,"value":2684},{"type":41,"tag":118,"props":3649,"children":3650},{"style":345},[3651],{"type":47,"value":3652},"accounts",{"type":41,"tag":118,"props":3654,"children":3655},{"style":339},[3656],{"type":47,"value":515},{"type":41,"tag":118,"props":3658,"children":3659},{"style":345},[3660],{"type":47,"value":3661}," setAccounts",{"type":41,"tag":118,"props":3663,"children":3664},{"style":339},[3665],{"type":47,"value":3666},"]",{"type":41,"tag":118,"props":3668,"children":3669},{"style":339},[3670],{"type":47,"value":647},{"type":41,"tag":118,"props":3672,"children":3673},{"style":497},[3674],{"type":47,"value":3301},{"type":41,"tag":118,"props":3676,"children":3677},{"style":339},[3678],{"type":47,"value":505},{"type":41,"tag":118,"props":3680,"children":3681},{"style":125},[3682],{"type":47,"value":3683},"Address",{"type":41,"tag":118,"props":3685,"children":3686},{"style":611},[3687],{"type":47,"value":3688},"[]",{"type":41,"tag":118,"props":3690,"children":3691},{"style":339},[3692],{"type":47,"value":2386},{"type":41,"tag":118,"props":3694,"children":3695},{"style":611},[3696],{"type":47,"value":3697},"([])",{"type":41,"tag":118,"props":3699,"children":3700},{"style":339},[3701],{"type":47,"value":377},{"type":41,"tag":118,"props":3703,"children":3704},{"class":120,"line":446},[3705,3709,3713,3718,3722,3727,3731,3735,3739,3743,3748,3752,3756,3760,3764,3768,3772],{"type":41,"tag":118,"props":3706,"children":3707},{"style":477},[3708],{"type":47,"value":3586},{"type":41,"tag":118,"props":3710,"children":3711},{"style":339},[3712],{"type":47,"value":2684},{"type":41,"tag":118,"props":3714,"children":3715},{"style":345},[3716],{"type":47,"value":3717},"chainId",{"type":41,"tag":118,"props":3719,"children":3720},{"style":339},[3721],{"type":47,"value":515},{"type":41,"tag":118,"props":3723,"children":3724},{"style":345},[3725],{"type":47,"value":3726}," setChainId",{"type":41,"tag":118,"props":3728,"children":3729},{"style":339},[3730],{"type":47,"value":3666},{"type":41,"tag":118,"props":3732,"children":3733},{"style":339},[3734],{"type":47,"value":647},{"type":41,"tag":118,"props":3736,"children":3737},{"style":497},[3738],{"type":47,"value":3301},{"type":41,"tag":118,"props":3740,"children":3741},{"style":339},[3742],{"type":47,"value":505},{"type":41,"tag":118,"props":3744,"children":3745},{"style":125},[3746],{"type":47,"value":3747},"Hex",{"type":41,"tag":118,"props":3749,"children":3750},{"style":339},[3751],{"type":47,"value":2391},{"type":41,"tag":118,"props":3753,"children":3754},{"style":125},[3755],{"type":47,"value":2396},{"type":41,"tag":118,"props":3757,"children":3758},{"style":339},[3759],{"type":47,"value":2386},{"type":41,"tag":118,"props":3761,"children":3762},{"style":611},[3763],{"type":47,"value":884},{"type":41,"tag":118,"props":3765,"children":3766},{"style":339},[3767],{"type":47,"value":3628},{"type":41,"tag":118,"props":3769,"children":3770},{"style":611},[3771],{"type":47,"value":633},{"type":41,"tag":118,"props":3773,"children":3774},{"style":339},[3775],{"type":47,"value":377},{"type":41,"tag":118,"props":3777,"children":3778},{"class":120,"line":455},[3779,3783,3787,3792,3796,3801,3805,3809,3813,3817,3821,3825,3829,3834,3838],{"type":41,"tag":118,"props":3780,"children":3781},{"style":477},[3782],{"type":47,"value":3586},{"type":41,"tag":118,"props":3784,"children":3785},{"style":339},[3786],{"type":47,"value":2684},{"type":41,"tag":118,"props":3788,"children":3789},{"style":345},[3790],{"type":47,"value":3791},"balance",{"type":41,"tag":118,"props":3793,"children":3794},{"style":339},[3795],{"type":47,"value":515},{"type":41,"tag":118,"props":3797,"children":3798},{"style":345},[3799],{"type":47,"value":3800}," setBalance",{"type":41,"tag":118,"props":3802,"children":3803},{"style":339},[3804],{"type":47,"value":3666},{"type":41,"tag":118,"props":3806,"children":3807},{"style":339},[3808],{"type":47,"value":647},{"type":41,"tag":118,"props":3810,"children":3811},{"style":497},[3812],{"type":47,"value":3301},{"type":41,"tag":118,"props":3814,"children":3815},{"style":339},[3816],{"type":47,"value":505},{"type":41,"tag":118,"props":3818,"children":3819},{"style":125},[3820],{"type":47,"value":510},{"type":41,"tag":118,"props":3822,"children":3823},{"style":339},[3824],{"type":47,"value":2386},{"type":41,"tag":118,"props":3826,"children":3827},{"style":611},[3828],{"type":47,"value":884},{"type":41,"tag":118,"props":3830,"children":3831},{"style":339},[3832],{"type":47,"value":3833},"''",{"type":41,"tag":118,"props":3835,"children":3836},{"style":611},[3837],{"type":47,"value":633},{"type":41,"tag":118,"props":3839,"children":3840},{"style":339},[3841],{"type":47,"value":377},{"type":41,"tag":118,"props":3843,"children":3844},{"class":120,"line":464},[3845,3849,3853,3858,3862,3867,3871,3875,3879,3883,3888,3892],{"type":41,"tag":118,"props":3846,"children":3847},{"style":477},[3848],{"type":47,"value":3586},{"type":41,"tag":118,"props":3850,"children":3851},{"style":339},[3852],{"type":47,"value":2684},{"type":41,"tag":118,"props":3854,"children":3855},{"style":345},[3856],{"type":47,"value":3857},"connecting",{"type":41,"tag":118,"props":3859,"children":3860},{"style":339},[3861],{"type":47,"value":515},{"type":41,"tag":118,"props":3863,"children":3864},{"style":345},[3865],{"type":47,"value":3866}," setConnecting",{"type":41,"tag":118,"props":3868,"children":3869},{"style":339},[3870],{"type":47,"value":3666},{"type":41,"tag":118,"props":3872,"children":3873},{"style":339},[3874],{"type":47,"value":647},{"type":41,"tag":118,"props":3876,"children":3877},{"style":497},[3878],{"type":47,"value":3301},{"type":41,"tag":118,"props":3880,"children":3881},{"style":611},[3882],{"type":47,"value":884},{"type":41,"tag":118,"props":3884,"children":3885},{"style":1160},[3886],{"type":47,"value":3887},"false",{"type":41,"tag":118,"props":3889,"children":3890},{"style":611},[3891],{"type":47,"value":633},{"type":41,"tag":118,"props":3893,"children":3894},{"style":339},[3895],{"type":47,"value":377},{"type":41,"tag":118,"props":3897,"children":3898},{"class":120,"line":473},[3899],{"type":41,"tag":118,"props":3900,"children":3901},{"emptyLinePlaceholder":323},[3902],{"type":47,"value":326},{"type":41,"tag":118,"props":3904,"children":3905},{"class":120,"line":546},[3906,3911,3915,3919,3923],{"type":41,"tag":118,"props":3907,"children":3908},{"style":497},[3909],{"type":47,"value":3910},"  useEffect",{"type":41,"tag":118,"props":3912,"children":3913},{"style":611},[3914],{"type":47,"value":884},{"type":41,"tag":118,"props":3916,"children":3917},{"style":339},[3918],{"type":47,"value":539},{"type":41,"tag":118,"props":3920,"children":3921},{"style":477},[3922],{"type":47,"value":843},{"type":41,"tag":118,"props":3924,"children":3925},{"style":339},[3926],{"type":47,"value":652},{"type":41,"tag":118,"props":3928,"children":3929},{"class":120,"line":607},[3930,3935,3940,3944,3948],{"type":41,"tag":118,"props":3931,"children":3932},{"style":477},[3933],{"type":47,"value":3934},"    let",{"type":41,"tag":118,"props":3936,"children":3937},{"style":345},[3938],{"type":47,"value":3939}," mounted",{"type":41,"tag":118,"props":3941,"children":3942},{"style":339},[3943],{"type":47,"value":647},{"type":41,"tag":118,"props":3945,"children":3946},{"style":1160},[3947],{"type":47,"value":1163},{"type":41,"tag":118,"props":3949,"children":3950},{"style":339},[3951],{"type":47,"value":377},{"type":41,"tag":118,"props":3953,"children":3954},{"class":120,"line":655},[3955],{"type":41,"tag":118,"props":3956,"children":3957},{"emptyLinePlaceholder":323},[3958],{"type":47,"value":326},{"type":41,"tag":118,"props":3960,"children":3961},{"class":120,"line":673},[3962,3967,3971,3976,3980],{"type":41,"tag":118,"props":3963,"children":3964},{"style":477},[3965],{"type":47,"value":3966},"    async",{"type":41,"tag":118,"props":3968,"children":3969},{"style":477},[3970],{"type":47,"value":2425},{"type":41,"tag":118,"props":3972,"children":3973},{"style":497},[3974],{"type":47,"value":3975}," init",{"type":41,"tag":118,"props":3977,"children":3978},{"style":339},[3979],{"type":47,"value":539},{"type":41,"tag":118,"props":3981,"children":3982},{"style":339},[3983],{"type":47,"value":652},{"type":41,"tag":118,"props":3985,"children":3986},{"class":120,"line":704},[3987,3992,3997,4001,4006,4010,4014],{"type":41,"tag":118,"props":3988,"children":3989},{"style":477},[3990],{"type":47,"value":3991},"      const",{"type":41,"tag":118,"props":3993,"children":3994},{"style":345},[3995],{"type":47,"value":3996}," client",{"type":41,"tag":118,"props":3998,"children":3999},{"style":339},[4000],{"type":47,"value":647},{"type":41,"tag":118,"props":4002,"children":4003},{"style":333},[4004],{"type":47,"value":4005}," await",{"type":41,"tag":118,"props":4007,"children":4008},{"style":497},[4009],{"type":47,"value":2430},{"type":41,"tag":118,"props":4011,"children":4012},{"style":611},[4013],{"type":47,"value":539},{"type":41,"tag":118,"props":4015,"children":4016},{"style":339},[4017],{"type":47,"value":377},{"type":41,"tag":118,"props":4019,"children":4020},{"class":120,"line":734},[4021,4025,4029,4033,4038,4042,4047],{"type":41,"tag":118,"props":4022,"children":4023},{"style":333},[4024],{"type":47,"value":856},{"type":41,"tag":118,"props":4026,"children":4027},{"style":611},[4028],{"type":47,"value":557},{"type":41,"tag":118,"props":4030,"children":4031},{"style":339},[4032],{"type":47,"value":865},{"type":41,"tag":118,"props":4034,"children":4035},{"style":345},[4036],{"type":47,"value":4037},"mounted",{"type":41,"tag":118,"props":4039,"children":4040},{"style":611},[4041],{"type":47,"value":599},{"type":41,"tag":118,"props":4043,"children":4044},{"style":333},[4045],{"type":47,"value":4046},"return",{"type":41,"tag":118,"props":4048,"children":4049},{"style":339},[4050],{"type":47,"value":377},{"type":41,"tag":118,"props":4052,"children":4053},{"class":120,"line":743},[4054,4059,4063,4068,4072,4076],{"type":41,"tag":118,"props":4055,"children":4056},{"style":345},[4057],{"type":47,"value":4058},"      clientRef",{"type":41,"tag":118,"props":4060,"children":4061},{"style":339},[4062],{"type":47,"value":417},{"type":41,"tag":118,"props":4064,"children":4065},{"style":345},[4066],{"type":47,"value":4067},"current",{"type":41,"tag":118,"props":4069,"children":4070},{"style":339},[4071],{"type":47,"value":647},{"type":41,"tag":118,"props":4073,"children":4074},{"style":345},[4075],{"type":47,"value":3996},{"type":41,"tag":118,"props":4077,"children":4078},{"style":339},[4079],{"type":47,"value":377},{"type":41,"tag":118,"props":4081,"children":4082},{"class":120,"line":787},[4083],{"type":41,"tag":118,"props":4084,"children":4085},{"emptyLinePlaceholder":323},[4086],{"type":47,"value":326},{"type":41,"tag":118,"props":4088,"children":4089},{"class":120,"line":850},[4090,4094,4099,4103,4107,4111,4116,4120],{"type":41,"tag":118,"props":4091,"children":4092},{"style":477},[4093],{"type":47,"value":3991},{"type":41,"tag":118,"props":4095,"children":4096},{"style":345},[4097],{"type":47,"value":4098}," provider",{"type":41,"tag":118,"props":4100,"children":4101},{"style":339},[4102],{"type":47,"value":647},{"type":41,"tag":118,"props":4104,"children":4105},{"style":345},[4106],{"type":47,"value":3996},{"type":41,"tag":118,"props":4108,"children":4109},{"style":339},[4110],{"type":47,"value":417},{"type":41,"tag":118,"props":4112,"children":4113},{"style":497},[4114],{"type":47,"value":4115},"getProvider",{"type":41,"tag":118,"props":4117,"children":4118},{"style":611},[4119],{"type":47,"value":539},{"type":41,"tag":118,"props":4121,"children":4122},{"style":339},[4123],{"type":47,"value":377},{"type":41,"tag":118,"props":4125,"children":4126},{"class":120,"line":938},[4127],{"type":41,"tag":118,"props":4128,"children":4129},{"emptyLinePlaceholder":323},[4130],{"type":47,"value":326},{"type":41,"tag":118,"props":4132,"children":4133},{"class":120,"line":995},[4134,4139,4143,4148,4152,4156,4161,4165,4169,4173,4178,4182,4186,4190,4194,4198],{"type":41,"tag":118,"props":4135,"children":4136},{"style":345},[4137],{"type":47,"value":4138},"      provider",{"type":41,"tag":118,"props":4140,"children":4141},{"style":339},[4142],{"type":47,"value":417},{"type":41,"tag":118,"props":4144,"children":4145},{"style":497},[4146],{"type":47,"value":4147},"on",{"type":41,"tag":118,"props":4149,"children":4150},{"style":611},[4151],{"type":47,"value":884},{"type":41,"tag":118,"props":4153,"children":4154},{"style":339},[4155],{"type":47,"value":372},{"type":41,"tag":118,"props":4157,"children":4158},{"style":131},[4159],{"type":47,"value":4160},"accountsChanged",{"type":41,"tag":118,"props":4162,"children":4163},{"style":339},[4164],{"type":47,"value":372},{"type":41,"tag":118,"props":4166,"children":4167},{"style":339},[4168],{"type":47,"value":515},{"type":41,"tag":118,"props":4170,"children":4171},{"style":339},[4172],{"type":47,"value":557},{"type":41,"tag":118,"props":4174,"children":4175},{"style":804},[4176],{"type":47,"value":4177},"accs",{"type":41,"tag":118,"props":4179,"children":4180},{"style":339},[4181],{"type":47,"value":666},{"type":41,"tag":118,"props":4183,"children":4184},{"style":125},[4185],{"type":47,"value":3523},{"type":41,"tag":118,"props":4187,"children":4188},{"style":611},[4189],{"type":47,"value":3688},{"type":41,"tag":118,"props":4191,"children":4192},{"style":339},[4193],{"type":47,"value":633},{"type":41,"tag":118,"props":4195,"children":4196},{"style":477},[4197],{"type":47,"value":843},{"type":41,"tag":118,"props":4199,"children":4200},{"style":339},[4201],{"type":47,"value":652},{"type":41,"tag":118,"props":4203,"children":4204},{"class":120,"line":1003},[4205,4210,4214,4218,4222,4227,4231,4235,4239],{"type":41,"tag":118,"props":4206,"children":4207},{"style":333},[4208],{"type":47,"value":4209},"        if",{"type":41,"tag":118,"props":4211,"children":4212},{"style":611},[4213],{"type":47,"value":557},{"type":41,"tag":118,"props":4215,"children":4216},{"style":345},[4217],{"type":47,"value":4037},{"type":41,"tag":118,"props":4219,"children":4220},{"style":611},[4221],{"type":47,"value":599},{"type":41,"tag":118,"props":4223,"children":4224},{"style":497},[4225],{"type":47,"value":4226},"setAccounts",{"type":41,"tag":118,"props":4228,"children":4229},{"style":611},[4230],{"type":47,"value":884},{"type":41,"tag":118,"props":4232,"children":4233},{"style":345},[4234],{"type":47,"value":4177},{"type":41,"tag":118,"props":4236,"children":4237},{"style":611},[4238],{"type":47,"value":633},{"type":41,"tag":118,"props":4240,"children":4241},{"style":339},[4242],{"type":47,"value":377},{"type":41,"tag":118,"props":4244,"children":4245},{"class":120,"line":1060},[4246,4251,4255],{"type":41,"tag":118,"props":4247,"children":4248},{"style":339},[4249],{"type":47,"value":4250},"      }",{"type":41,"tag":118,"props":4252,"children":4253},{"style":611},[4254],{"type":47,"value":633},{"type":41,"tag":118,"props":4256,"children":4257},{"style":339},[4258],{"type":47,"value":377},{"type":41,"tag":118,"props":4260,"children":4261},{"class":120,"line":1113},[4262],{"type":41,"tag":118,"props":4263,"children":4264},{"emptyLinePlaceholder":323},[4265],{"type":47,"value":326},{"type":41,"tag":118,"props":4267,"children":4268},{"class":120,"line":1121},[4269,4273,4277,4281,4285,4289,4294,4298,4302,4306,4311,4315,4319,4323,4327],{"type":41,"tag":118,"props":4270,"children":4271},{"style":345},[4272],{"type":47,"value":4138},{"type":41,"tag":118,"props":4274,"children":4275},{"style":339},[4276],{"type":47,"value":417},{"type":41,"tag":118,"props":4278,"children":4279},{"style":497},[4280],{"type":47,"value":4147},{"type":41,"tag":118,"props":4282,"children":4283},{"style":611},[4284],{"type":47,"value":884},{"type":41,"tag":118,"props":4286,"children":4287},{"style":339},[4288],{"type":47,"value":372},{"type":41,"tag":118,"props":4290,"children":4291},{"style":131},[4292],{"type":47,"value":4293},"chainChanged",{"type":41,"tag":118,"props":4295,"children":4296},{"style":339},[4297],{"type":47,"value":372},{"type":41,"tag":118,"props":4299,"children":4300},{"style":339},[4301],{"type":47,"value":515},{"type":41,"tag":118,"props":4303,"children":4304},{"style":339},[4305],{"type":47,"value":557},{"type":41,"tag":118,"props":4307,"children":4308},{"style":804},[4309],{"type":47,"value":4310},"id",{"type":41,"tag":118,"props":4312,"children":4313},{"style":339},[4314],{"type":47,"value":666},{"type":41,"tag":118,"props":4316,"children":4317},{"style":125},[4318],{"type":47,"value":3514},{"type":41,"tag":118,"props":4320,"children":4321},{"style":339},[4322],{"type":47,"value":633},{"type":41,"tag":118,"props":4324,"children":4325},{"style":477},[4326],{"type":47,"value":843},{"type":41,"tag":118,"props":4328,"children":4329},{"style":339},[4330],{"type":47,"value":652},{"type":41,"tag":118,"props":4332,"children":4333},{"class":120,"line":1170},[4334,4338,4342,4346,4350,4355,4359,4363,4367],{"type":41,"tag":118,"props":4335,"children":4336},{"style":333},[4337],{"type":47,"value":4209},{"type":41,"tag":118,"props":4339,"children":4340},{"style":611},[4341],{"type":47,"value":557},{"type":41,"tag":118,"props":4343,"children":4344},{"style":345},[4345],{"type":47,"value":4037},{"type":41,"tag":118,"props":4347,"children":4348},{"style":611},[4349],{"type":47,"value":599},{"type":41,"tag":118,"props":4351,"children":4352},{"style":497},[4353],{"type":47,"value":4354},"setChainId",{"type":41,"tag":118,"props":4356,"children":4357},{"style":611},[4358],{"type":47,"value":884},{"type":41,"tag":118,"props":4360,"children":4361},{"style":345},[4362],{"type":47,"value":4310},{"type":41,"tag":118,"props":4364,"children":4365},{"style":611},[4366],{"type":47,"value":633},{"type":41,"tag":118,"props":4368,"children":4369},{"style":339},[4370],{"type":47,"value":377},{"type":41,"tag":118,"props":4372,"children":4373},{"class":120,"line":1179},[4374,4378,4382],{"type":41,"tag":118,"props":4375,"children":4376},{"style":339},[4377],{"type":47,"value":4250},{"type":41,"tag":118,"props":4379,"children":4380},{"style":611},[4381],{"type":47,"value":633},{"type":41,"tag":118,"props":4383,"children":4384},{"style":339},[4385],{"type":47,"value":377},{"type":41,"tag":118,"props":4387,"children":4388},{"class":120,"line":1188},[4389],{"type":41,"tag":118,"props":4390,"children":4391},{"emptyLinePlaceholder":323},[4392],{"type":47,"value":326},{"type":41,"tag":118,"props":4394,"children":4395},{"class":120,"line":1196},[4396,4400,4404,4408,4412,4416,4421,4425,4429,4433,4437],{"type":41,"tag":118,"props":4397,"children":4398},{"style":345},[4399],{"type":47,"value":4138},{"type":41,"tag":118,"props":4401,"children":4402},{"style":339},[4403],{"type":47,"value":417},{"type":41,"tag":118,"props":4405,"children":4406},{"style":497},[4407],{"type":47,"value":4147},{"type":41,"tag":118,"props":4409,"children":4410},{"style":611},[4411],{"type":47,"value":884},{"type":41,"tag":118,"props":4413,"children":4414},{"style":339},[4415],{"type":47,"value":372},{"type":41,"tag":118,"props":4417,"children":4418},{"style":131},[4419],{"type":47,"value":4420},"disconnect",{"type":41,"tag":118,"props":4422,"children":4423},{"style":339},[4424],{"type":47,"value":372},{"type":41,"tag":118,"props":4426,"children":4427},{"style":339},[4428],{"type":47,"value":515},{"type":41,"tag":118,"props":4430,"children":4431},{"style":339},[4432],{"type":47,"value":2149},{"type":41,"tag":118,"props":4434,"children":4435},{"style":477},[4436],{"type":47,"value":843},{"type":41,"tag":118,"props":4438,"children":4439},{"style":339},[4440],{"type":47,"value":652},{"type":41,"tag":118,"props":4442,"children":4443},{"class":120,"line":1205},[4444,4448,4452,4456,4460],{"type":41,"tag":118,"props":4445,"children":4446},{"style":333},[4447],{"type":47,"value":4209},{"type":41,"tag":118,"props":4449,"children":4450},{"style":611},[4451],{"type":47,"value":557},{"type":41,"tag":118,"props":4453,"children":4454},{"style":345},[4455],{"type":47,"value":4037},{"type":41,"tag":118,"props":4457,"children":4458},{"style":611},[4459],{"type":47,"value":599},{"type":41,"tag":118,"props":4461,"children":4462},{"style":339},[4463],{"type":47,"value":604},{"type":41,"tag":118,"props":4465,"children":4466},{"class":120,"line":1214},[4467,4472,4476],{"type":41,"tag":118,"props":4468,"children":4469},{"style":497},[4470],{"type":47,"value":4471},"          setAccounts",{"type":41,"tag":118,"props":4473,"children":4474},{"style":611},[4475],{"type":47,"value":3697},{"type":41,"tag":118,"props":4477,"children":4478},{"style":339},[4479],{"type":47,"value":377},{"type":41,"tag":118,"props":4481,"children":4482},{"class":120,"line":3140},[4483,4488,4492,4496,4500],{"type":41,"tag":118,"props":4484,"children":4485},{"style":497},[4486],{"type":47,"value":4487},"          setChainId",{"type":41,"tag":118,"props":4489,"children":4490},{"style":611},[4491],{"type":47,"value":884},{"type":41,"tag":118,"props":4493,"children":4494},{"style":339},[4495],{"type":47,"value":3628},{"type":41,"tag":118,"props":4497,"children":4498},{"style":611},[4499],{"type":47,"value":633},{"type":41,"tag":118,"props":4501,"children":4502},{"style":339},[4503],{"type":47,"value":377},{"type":41,"tag":118,"props":4505,"children":4506},{"class":120,"line":3148},[4507,4512,4516,4520,4524],{"type":41,"tag":118,"props":4508,"children":4509},{"style":497},[4510],{"type":47,"value":4511},"          setBalance",{"type":41,"tag":118,"props":4513,"children":4514},{"style":611},[4515],{"type":47,"value":884},{"type":41,"tag":118,"props":4517,"children":4518},{"style":339},[4519],{"type":47,"value":3833},{"type":41,"tag":118,"props":4521,"children":4522},{"style":611},[4523],{"type":47,"value":633},{"type":41,"tag":118,"props":4525,"children":4526},{"style":339},[4527],{"type":47,"value":377},{"type":41,"tag":118,"props":4529,"children":4530},{"class":120,"line":3169},[4531],{"type":41,"tag":118,"props":4532,"children":4533},{"style":339},[4534],{"type":47,"value":4535},"        }\n",{"type":41,"tag":118,"props":4537,"children":4538},{"class":120,"line":3186},[4539,4543,4547],{"type":41,"tag":118,"props":4540,"children":4541},{"style":339},[4542],{"type":47,"value":4250},{"type":41,"tag":118,"props":4544,"children":4545},{"style":611},[4546],{"type":47,"value":633},{"type":41,"tag":118,"props":4548,"children":4549},{"style":339},[4550],{"type":47,"value":377},{"type":41,"tag":118,"props":4552,"children":4553},{"class":120,"line":3195},[4554],{"type":41,"tag":118,"props":4555,"children":4556},{"style":339},[4557],{"type":47,"value":4558},"    }\n",{"type":41,"tag":118,"props":4560,"children":4561},{"class":120,"line":3212},[4562],{"type":41,"tag":118,"props":4563,"children":4564},{"emptyLinePlaceholder":323},[4565],{"type":47,"value":326},{"type":41,"tag":118,"props":4567,"children":4569},{"class":120,"line":4568},42,[4570,4575,4579],{"type":41,"tag":118,"props":4571,"children":4572},{"style":497},[4573],{"type":47,"value":4574},"    init",{"type":41,"tag":118,"props":4576,"children":4577},{"style":611},[4578],{"type":47,"value":539},{"type":41,"tag":118,"props":4580,"children":4581},{"style":339},[4582],{"type":47,"value":377},{"type":41,"tag":118,"props":4584,"children":4586},{"class":120,"line":4585},43,[4587,4592,4596,4600,4604,4608,4612,4616,4620],{"type":41,"tag":118,"props":4588,"children":4589},{"style":333},[4590],{"type":47,"value":4591},"    return",{"type":41,"tag":118,"props":4593,"children":4594},{"style":339},[4595],{"type":47,"value":2149},{"type":41,"tag":118,"props":4597,"children":4598},{"style":477},[4599],{"type":47,"value":843},{"type":41,"tag":118,"props":4601,"children":4602},{"style":339},[4603],{"type":47,"value":342},{"type":41,"tag":118,"props":4605,"children":4606},{"style":345},[4607],{"type":47,"value":3939},{"type":41,"tag":118,"props":4609,"children":4610},{"style":339},[4611],{"type":47,"value":647},{"type":41,"tag":118,"props":4613,"children":4614},{"style":1160},[4615],{"type":47,"value":2779},{"type":41,"tag":118,"props":4617,"children":4618},{"style":339},[4619],{"type":47,"value":1953},{"type":41,"tag":118,"props":4621,"children":4622},{"style":339},[4623],{"type":47,"value":4624}," };\n",{"type":41,"tag":118,"props":4626,"children":4628},{"class":120,"line":4627},44,[4629,4634,4639],{"type":41,"tag":118,"props":4630,"children":4631},{"style":339},[4632],{"type":47,"value":4633},"  },",{"type":41,"tag":118,"props":4635,"children":4636},{"style":611},[4637],{"type":47,"value":4638}," [])",{"type":41,"tag":118,"props":4640,"children":4641},{"style":339},[4642],{"type":47,"value":377},{"type":41,"tag":118,"props":4644,"children":4646},{"class":120,"line":4645},45,[4647],{"type":41,"tag":118,"props":4648,"children":4649},{"emptyLinePlaceholder":323},[4650],{"type":47,"value":326},{"type":41,"tag":118,"props":4652,"children":4654},{"class":120,"line":4653},46,[4655,4659,4664,4668,4672,4676,4681,4685,4689],{"type":41,"tag":118,"props":4656,"children":4657},{"style":477},[4658],{"type":47,"value":3586},{"type":41,"tag":118,"props":4660,"children":4661},{"style":345},[4662],{"type":47,"value":4663}," handleConnect",{"type":41,"tag":118,"props":4665,"children":4666},{"style":339},[4667],{"type":47,"value":647},{"type":41,"tag":118,"props":4669,"children":4670},{"style":497},[4671],{"type":47,"value":3310},{"type":41,"tag":118,"props":4673,"children":4674},{"style":611},[4675],{"type":47,"value":884},{"type":41,"tag":118,"props":4677,"children":4678},{"style":477},[4679],{"type":47,"value":4680},"async",{"type":41,"tag":118,"props":4682,"children":4683},{"style":339},[4684],{"type":47,"value":2149},{"type":41,"tag":118,"props":4686,"children":4687},{"style":477},[4688],{"type":47,"value":843},{"type":41,"tag":118,"props":4690,"children":4691},{"style":339},[4692],{"type":47,"value":652},{"type":41,"tag":118,"props":4694,"children":4696},{"class":120,"line":4695},47,[4697,4702,4706,4710,4714,4718,4722],{"type":41,"tag":118,"props":4698,"children":4699},{"style":477},[4700],{"type":47,"value":4701},"    const",{"type":41,"tag":118,"props":4703,"children":4704},{"style":345},[4705],{"type":47,"value":3996},{"type":41,"tag":118,"props":4707,"children":4708},{"style":339},[4709],{"type":47,"value":647},{"type":41,"tag":118,"props":4711,"children":4712},{"style":345},[4713],{"type":47,"value":3591},{"type":41,"tag":118,"props":4715,"children":4716},{"style":339},[4717],{"type":47,"value":417},{"type":41,"tag":118,"props":4719,"children":4720},{"style":345},[4721],{"type":47,"value":4067},{"type":41,"tag":118,"props":4723,"children":4724},{"style":339},[4725],{"type":47,"value":377},{"type":41,"tag":118,"props":4727,"children":4729},{"class":120,"line":4728},48,[4730,4735,4739,4743,4748,4752,4756],{"type":41,"tag":118,"props":4731,"children":4732},{"style":333},[4733],{"type":47,"value":4734},"    if",{"type":41,"tag":118,"props":4736,"children":4737},{"style":611},[4738],{"type":47,"value":557},{"type":41,"tag":118,"props":4740,"children":4741},{"style":339},[4742],{"type":47,"value":865},{"type":41,"tag":118,"props":4744,"children":4745},{"style":345},[4746],{"type":47,"value":4747},"client",{"type":41,"tag":118,"props":4749,"children":4750},{"style":611},[4751],{"type":47,"value":599},{"type":41,"tag":118,"props":4753,"children":4754},{"style":333},[4755],{"type":47,"value":4046},{"type":41,"tag":118,"props":4757,"children":4758},{"style":339},[4759],{"type":47,"value":377},{"type":41,"tag":118,"props":4761,"children":4763},{"class":120,"line":4762},49,[4764],{"type":41,"tag":118,"props":4765,"children":4766},{"emptyLinePlaceholder":323},[4767],{"type":47,"value":326},{"type":41,"tag":118,"props":4769,"children":4771},{"class":120,"line":4770},50,[4772,4777,4781,4786,4790],{"type":41,"tag":118,"props":4773,"children":4774},{"style":497},[4775],{"type":47,"value":4776},"    setConnecting",{"type":41,"tag":118,"props":4778,"children":4779},{"style":611},[4780],{"type":47,"value":884},{"type":41,"tag":118,"props":4782,"children":4783},{"style":1160},[4784],{"type":47,"value":4785},"true",{"type":41,"tag":118,"props":4787,"children":4788},{"style":611},[4789],{"type":47,"value":633},{"type":41,"tag":118,"props":4791,"children":4792},{"style":339},[4793],{"type":47,"value":377},{"type":41,"tag":118,"props":4795,"children":4797},{"class":120,"line":4796},51,[4798,4803],{"type":41,"tag":118,"props":4799,"children":4800},{"style":333},[4801],{"type":47,"value":4802},"    try",{"type":41,"tag":118,"props":4804,"children":4805},{"style":339},[4806],{"type":47,"value":652},{"type":41,"tag":118,"props":4808,"children":4810},{"class":120,"line":4809},52,[4811,4815,4820,4824,4828,4832,4836,4841,4845,4849,4853,4857,4861,4865,4869,4873,4877,4881,4885],{"type":41,"tag":118,"props":4812,"children":4813},{"style":477},[4814],{"type":47,"value":3991},{"type":41,"tag":118,"props":4816,"children":4817},{"style":345},[4818],{"type":47,"value":4819}," result",{"type":41,"tag":118,"props":4821,"children":4822},{"style":339},[4823],{"type":47,"value":647},{"type":41,"tag":118,"props":4825,"children":4826},{"style":333},[4827],{"type":47,"value":4005},{"type":41,"tag":118,"props":4829,"children":4830},{"style":345},[4831],{"type":47,"value":3996},{"type":41,"tag":118,"props":4833,"children":4834},{"style":339},[4835],{"type":47,"value":417},{"type":41,"tag":118,"props":4837,"children":4838},{"style":497},[4839],{"type":47,"value":4840},"connect",{"type":41,"tag":118,"props":4842,"children":4843},{"style":611},[4844],{"type":47,"value":884},{"type":41,"tag":118,"props":4846,"children":4847},{"style":339},[4848],{"type":47,"value":2644},{"type":41,"tag":118,"props":4850,"children":4851},{"style":611},[4852],{"type":47,"value":2675},{"type":41,"tag":118,"props":4854,"children":4855},{"style":339},[4856],{"type":47,"value":666},{"type":41,"tag":118,"props":4858,"children":4859},{"style":611},[4860],{"type":47,"value":2684},{"type":41,"tag":118,"props":4862,"children":4863},{"style":339},[4864],{"type":47,"value":372},{"type":41,"tag":118,"props":4866,"children":4867},{"style":131},[4868],{"type":47,"value":2693},{"type":41,"tag":118,"props":4870,"children":4871},{"style":339},[4872],{"type":47,"value":372},{"type":41,"tag":118,"props":4874,"children":4875},{"style":611},[4876],{"type":47,"value":2719},{"type":41,"tag":118,"props":4878,"children":4879},{"style":339},[4880],{"type":47,"value":1278},{"type":41,"tag":118,"props":4882,"children":4883},{"style":611},[4884],{"type":47,"value":633},{"type":41,"tag":118,"props":4886,"children":4887},{"style":339},[4888],{"type":47,"value":377},{"type":41,"tag":118,"props":4890,"children":4892},{"class":120,"line":4891},53,[4893,4898,4902,4907,4911,4915,4919,4923,4928],{"type":41,"tag":118,"props":4894,"children":4895},{"style":497},[4896],{"type":47,"value":4897},"      setAccounts",{"type":41,"tag":118,"props":4899,"children":4900},{"style":611},[4901],{"type":47,"value":884},{"type":41,"tag":118,"props":4903,"children":4904},{"style":345},[4905],{"type":47,"value":4906},"result",{"type":41,"tag":118,"props":4908,"children":4909},{"style":339},[4910],{"type":47,"value":417},{"type":41,"tag":118,"props":4912,"children":4913},{"style":345},[4914],{"type":47,"value":3652},{"type":41,"tag":118,"props":4916,"children":4917},{"style":333},[4918],{"type":47,"value":623},{"type":41,"tag":118,"props":4920,"children":4921},{"style":125},[4922],{"type":47,"value":3523},{"type":41,"tag":118,"props":4924,"children":4925},{"style":611},[4926],{"type":47,"value":4927},"[])",{"type":41,"tag":118,"props":4929,"children":4930},{"style":339},[4931],{"type":47,"value":377},{"type":41,"tag":118,"props":4933,"children":4935},{"class":120,"line":4934},54,[4936,4941,4945,4949,4953,4957,4961,4965,4969],{"type":41,"tag":118,"props":4937,"children":4938},{"style":497},[4939],{"type":47,"value":4940},"      setChainId",{"type":41,"tag":118,"props":4942,"children":4943},{"style":611},[4944],{"type":47,"value":884},{"type":41,"tag":118,"props":4946,"children":4947},{"style":345},[4948],{"type":47,"value":4906},{"type":41,"tag":118,"props":4950,"children":4951},{"style":339},[4952],{"type":47,"value":417},{"type":41,"tag":118,"props":4954,"children":4955},{"style":345},[4956],{"type":47,"value":3717},{"type":41,"tag":118,"props":4958,"children":4959},{"style":333},[4960],{"type":47,"value":623},{"type":41,"tag":118,"props":4962,"children":4963},{"style":125},[4964],{"type":47,"value":3514},{"type":41,"tag":118,"props":4966,"children":4967},{"style":611},[4968],{"type":47,"value":633},{"type":41,"tag":118,"props":4970,"children":4971},{"style":339},[4972],{"type":47,"value":377},{"type":41,"tag":118,"props":4974,"children":4976},{"class":120,"line":4975},55,[4977,4981,4986,4990,4995,4999,5003,5007],{"type":41,"tag":118,"props":4978,"children":4979},{"style":339},[4980],{"type":47,"value":3175},{"type":41,"tag":118,"props":4982,"children":4983},{"style":333},[4984],{"type":47,"value":4985}," catch",{"type":41,"tag":118,"props":4987,"children":4988},{"style":339},[4989],{"type":47,"value":557},{"type":41,"tag":118,"props":4991,"children":4992},{"style":804},[4993],{"type":47,"value":4994},"err",{"type":41,"tag":118,"props":4996,"children":4997},{"style":339},[4998],{"type":47,"value":666},{"type":41,"tag":118,"props":5000,"children":5001},{"style":125},[5002],{"type":47,"value":628},{"type":41,"tag":118,"props":5004,"children":5005},{"style":339},[5006],{"type":47,"value":633},{"type":41,"tag":118,"props":5008,"children":5009},{"style":339},[5010],{"type":47,"value":652},{"type":41,"tag":118,"props":5012,"children":5014},{"class":120,"line":5013},56,[5015,5019,5023,5027,5031,5035,5040,5046,5050],{"type":41,"tag":118,"props":5016,"children":5017},{"style":333},[5018],{"type":47,"value":856},{"type":41,"tag":118,"props":5020,"children":5021},{"style":611},[5022],{"type":47,"value":557},{"type":41,"tag":118,"props":5024,"children":5025},{"style":345},[5026],{"type":47,"value":4994},{"type":41,"tag":118,"props":5028,"children":5029},{"style":339},[5030],{"type":47,"value":417},{"type":41,"tag":118,"props":5032,"children":5033},{"style":345},[5034],{"type":47,"value":114},{"type":41,"tag":118,"props":5036,"children":5037},{"style":339},[5038],{"type":47,"value":5039}," ===",{"type":41,"tag":118,"props":5041,"children":5043},{"style":5042},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[5044],{"type":47,"value":5045}," 4001",{"type":41,"tag":118,"props":5047,"children":5048},{"style":611},[5049],{"type":47,"value":599},{"type":41,"tag":118,"props":5051,"children":5052},{"style":339},[5053],{"type":47,"value":604},{"type":41,"tag":118,"props":5055,"children":5057},{"class":120,"line":5056},57,[5058,5063,5067,5072,5076,5080,5085,5089,5093,5097,5102,5106,5110],{"type":41,"tag":118,"props":5059,"children":5060},{"style":345},[5061],{"type":47,"value":5062},"        Alert",{"type":41,"tag":118,"props":5064,"children":5065},{"style":339},[5066],{"type":47,"value":417},{"type":41,"tag":118,"props":5068,"children":5069},{"style":497},[5070],{"type":47,"value":5071},"alert",{"type":41,"tag":118,"props":5073,"children":5074},{"style":611},[5075],{"type":47,"value":884},{"type":41,"tag":118,"props":5077,"children":5078},{"style":339},[5079],{"type":47,"value":372},{"type":41,"tag":118,"props":5081,"children":5082},{"style":131},[5083],{"type":47,"value":5084},"Rejected",{"type":41,"tag":118,"props":5086,"children":5087},{"style":339},[5088],{"type":47,"value":372},{"type":41,"tag":118,"props":5090,"children":5091},{"style":339},[5092],{"type":47,"value":515},{"type":41,"tag":118,"props":5094,"children":5095},{"style":339},[5096],{"type":47,"value":363},{"type":41,"tag":118,"props":5098,"children":5099},{"style":131},[5100],{"type":47,"value":5101},"Connection was rejected. Please try again.",{"type":41,"tag":118,"props":5103,"children":5104},{"style":339},[5105],{"type":47,"value":372},{"type":41,"tag":118,"props":5107,"children":5108},{"style":611},[5109],{"type":47,"value":633},{"type":41,"tag":118,"props":5111,"children":5112},{"style":339},[5113],{"type":47,"value":377},{"type":41,"tag":118,"props":5115,"children":5117},{"class":120,"line":5116},58,[5118,5123],{"type":41,"tag":118,"props":5119,"children":5120},{"style":333},[5121],{"type":47,"value":5122},"        return",{"type":41,"tag":118,"props":5124,"children":5125},{"style":339},[5126],{"type":47,"value":377},{"type":41,"tag":118,"props":5128,"children":5130},{"class":120,"line":5129},59,[5131],{"type":41,"tag":118,"props":5132,"children":5133},{"style":339},[5134],{"type":47,"value":5135},"      }\n",{"type":41,"tag":118,"props":5137,"children":5139},{"class":120,"line":5138},60,[5140,5144,5148,5152,5156,5160,5164,5169,5174,5178],{"type":41,"tag":118,"props":5141,"children":5142},{"style":333},[5143],{"type":47,"value":856},{"type":41,"tag":118,"props":5145,"children":5146},{"style":611},[5147],{"type":47,"value":557},{"type":41,"tag":118,"props":5149,"children":5150},{"style":345},[5151],{"type":47,"value":4994},{"type":41,"tag":118,"props":5153,"children":5154},{"style":339},[5155],{"type":47,"value":417},{"type":41,"tag":118,"props":5157,"children":5158},{"style":345},[5159],{"type":47,"value":114},{"type":41,"tag":118,"props":5161,"children":5162},{"style":339},[5163],{"type":47,"value":5039},{"type":41,"tag":118,"props":5165,"children":5166},{"style":339},[5167],{"type":47,"value":5168}," -",{"type":41,"tag":118,"props":5170,"children":5171},{"style":5042},[5172],{"type":47,"value":5173},"32002",{"type":41,"tag":118,"props":5175,"children":5176},{"style":611},[5177],{"type":47,"value":599},{"type":41,"tag":118,"props":5179,"children":5180},{"style":339},[5181],{"type":47,"value":604},{"type":41,"tag":118,"props":5183,"children":5185},{"class":120,"line":5184},61,[5186,5190,5194,5198,5202,5206,5211,5215,5219,5223,5228,5232,5236],{"type":41,"tag":118,"props":5187,"children":5188},{"style":345},[5189],{"type":47,"value":5062},{"type":41,"tag":118,"props":5191,"children":5192},{"style":339},[5193],{"type":47,"value":417},{"type":41,"tag":118,"props":5195,"children":5196},{"style":497},[5197],{"type":47,"value":5071},{"type":41,"tag":118,"props":5199,"children":5200},{"style":611},[5201],{"type":47,"value":884},{"type":41,"tag":118,"props":5203,"children":5204},{"style":339},[5205],{"type":47,"value":372},{"type":41,"tag":118,"props":5207,"children":5208},{"style":131},[5209],{"type":47,"value":5210},"Pending",{"type":41,"tag":118,"props":5212,"children":5213},{"style":339},[5214],{"type":47,"value":372},{"type":41,"tag":118,"props":5216,"children":5217},{"style":339},[5218],{"type":47,"value":515},{"type":41,"tag":118,"props":5220,"children":5221},{"style":339},[5222],{"type":47,"value":363},{"type":41,"tag":118,"props":5224,"children":5225},{"style":131},[5226],{"type":47,"value":5227},"A request is already pending. Check MetaMask.",{"type":41,"tag":118,"props":5229,"children":5230},{"style":339},[5231],{"type":47,"value":372},{"type":41,"tag":118,"props":5233,"children":5234},{"style":611},[5235],{"type":47,"value":633},{"type":41,"tag":118,"props":5237,"children":5238},{"style":339},[5239],{"type":47,"value":377},{"type":41,"tag":118,"props":5241,"children":5243},{"class":120,"line":5242},62,[5244,5248],{"type":41,"tag":118,"props":5245,"children":5246},{"style":333},[5247],{"type":47,"value":5122},{"type":41,"tag":118,"props":5249,"children":5250},{"style":339},[5251],{"type":47,"value":377},{"type":41,"tag":118,"props":5253,"children":5255},{"class":120,"line":5254},63,[5256],{"type":41,"tag":118,"props":5257,"children":5258},{"style":339},[5259],{"type":47,"value":5135},{"type":41,"tag":118,"props":5261,"children":5263},{"class":120,"line":5262},64,[5264,5269,5273,5277,5281,5285,5290,5294,5298,5303,5307,5312,5317,5321,5326,5330,5334],{"type":41,"tag":118,"props":5265,"children":5266},{"style":345},[5267],{"type":47,"value":5268},"      Alert",{"type":41,"tag":118,"props":5270,"children":5271},{"style":339},[5272],{"type":47,"value":417},{"type":41,"tag":118,"props":5274,"children":5275},{"style":497},[5276],{"type":47,"value":5071},{"type":41,"tag":118,"props":5278,"children":5279},{"style":611},[5280],{"type":47,"value":884},{"type":41,"tag":118,"props":5282,"children":5283},{"style":339},[5284],{"type":47,"value":372},{"type":41,"tag":118,"props":5286,"children":5287},{"style":131},[5288],{"type":47,"value":5289},"Error",{"type":41,"tag":118,"props":5291,"children":5292},{"style":339},[5293],{"type":47,"value":372},{"type":41,"tag":118,"props":5295,"children":5296},{"style":339},[5297],{"type":47,"value":515},{"type":41,"tag":118,"props":5299,"children":5300},{"style":345},[5301],{"type":47,"value":5302}," err",{"type":41,"tag":118,"props":5304,"children":5305},{"style":339},[5306],{"type":47,"value":417},{"type":41,"tag":118,"props":5308,"children":5309},{"style":345},[5310],{"type":47,"value":5311},"message",{"type":41,"tag":118,"props":5313,"children":5314},{"style":339},[5315],{"type":47,"value":5316}," ??",{"type":41,"tag":118,"props":5318,"children":5319},{"style":339},[5320],{"type":47,"value":363},{"type":41,"tag":118,"props":5322,"children":5323},{"style":131},[5324],{"type":47,"value":5325},"Connection failed",{"type":41,"tag":118,"props":5327,"children":5328},{"style":339},[5329],{"type":47,"value":372},{"type":41,"tag":118,"props":5331,"children":5332},{"style":611},[5333],{"type":47,"value":633},{"type":41,"tag":118,"props":5335,"children":5336},{"style":339},[5337],{"type":47,"value":377},{"type":41,"tag":118,"props":5339,"children":5341},{"class":120,"line":5340},65,[5342,5346,5351],{"type":41,"tag":118,"props":5343,"children":5344},{"style":339},[5345],{"type":47,"value":3175},{"type":41,"tag":118,"props":5347,"children":5348},{"style":333},[5349],{"type":47,"value":5350}," finally",{"type":41,"tag":118,"props":5352,"children":5353},{"style":339},[5354],{"type":47,"value":652},{"type":41,"tag":118,"props":5356,"children":5358},{"class":120,"line":5357},66,[5359,5364,5368,5372,5376],{"type":41,"tag":118,"props":5360,"children":5361},{"style":497},[5362],{"type":47,"value":5363},"      setConnecting",{"type":41,"tag":118,"props":5365,"children":5366},{"style":611},[5367],{"type":47,"value":884},{"type":41,"tag":118,"props":5369,"children":5370},{"style":1160},[5371],{"type":47,"value":3887},{"type":41,"tag":118,"props":5373,"children":5374},{"style":611},[5375],{"type":47,"value":633},{"type":41,"tag":118,"props":5377,"children":5378},{"style":339},[5379],{"type":47,"value":377},{"type":41,"tag":118,"props":5381,"children":5383},{"class":120,"line":5382},67,[5384],{"type":41,"tag":118,"props":5385,"children":5386},{"style":339},[5387],{"type":47,"value":4558},{"type":41,"tag":118,"props":5389,"children":5391},{"class":120,"line":5390},68,[5392,5396,5400],{"type":41,"tag":118,"props":5393,"children":5394},{"style":339},[5395],{"type":47,"value":4633},{"type":41,"tag":118,"props":5397,"children":5398},{"style":611},[5399],{"type":47,"value":4638},{"type":41,"tag":118,"props":5401,"children":5402},{"style":339},[5403],{"type":47,"value":377},{"type":41,"tag":118,"props":5405,"children":5407},{"class":120,"line":5406},69,[5408],{"type":41,"tag":118,"props":5409,"children":5410},{"emptyLinePlaceholder":323},[5411],{"type":47,"value":326},{"type":41,"tag":118,"props":5413,"children":5415},{"class":120,"line":5414},70,[5416,5420,5425,5429,5433,5437,5441,5445,5449],{"type":41,"tag":118,"props":5417,"children":5418},{"style":477},[5419],{"type":47,"value":3586},{"type":41,"tag":118,"props":5421,"children":5422},{"style":345},[5423],{"type":47,"value":5424}," handleDisconnect",{"type":41,"tag":118,"props":5426,"children":5427},{"style":339},[5428],{"type":47,"value":647},{"type":41,"tag":118,"props":5430,"children":5431},{"style":497},[5432],{"type":47,"value":3310},{"type":41,"tag":118,"props":5434,"children":5435},{"style":611},[5436],{"type":47,"value":884},{"type":41,"tag":118,"props":5438,"children":5439},{"style":477},[5440],{"type":47,"value":4680},{"type":41,"tag":118,"props":5442,"children":5443},{"style":339},[5444],{"type":47,"value":2149},{"type":41,"tag":118,"props":5446,"children":5447},{"style":477},[5448],{"type":47,"value":843},{"type":41,"tag":118,"props":5450,"children":5451},{"style":339},[5452],{"type":47,"value":652},{"type":41,"tag":118,"props":5454,"children":5456},{"class":120,"line":5455},71,[5457,5461,5465,5469,5473,5477,5481],{"type":41,"tag":118,"props":5458,"children":5459},{"style":477},[5460],{"type":47,"value":4701},{"type":41,"tag":118,"props":5462,"children":5463},{"style":345},[5464],{"type":47,"value":3996},{"type":41,"tag":118,"props":5466,"children":5467},{"style":339},[5468],{"type":47,"value":647},{"type":41,"tag":118,"props":5470,"children":5471},{"style":345},[5472],{"type":47,"value":3591},{"type":41,"tag":118,"props":5474,"children":5475},{"style":339},[5476],{"type":47,"value":417},{"type":41,"tag":118,"props":5478,"children":5479},{"style":345},[5480],{"type":47,"value":4067},{"type":41,"tag":118,"props":5482,"children":5483},{"style":339},[5484],{"type":47,"value":377},{"type":41,"tag":118,"props":5486,"children":5488},{"class":120,"line":5487},72,[5489,5493,5497,5501,5505,5509,5513],{"type":41,"tag":118,"props":5490,"children":5491},{"style":333},[5492],{"type":47,"value":4734},{"type":41,"tag":118,"props":5494,"children":5495},{"style":611},[5496],{"type":47,"value":557},{"type":41,"tag":118,"props":5498,"children":5499},{"style":339},[5500],{"type":47,"value":865},{"type":41,"tag":118,"props":5502,"children":5503},{"style":345},[5504],{"type":47,"value":4747},{"type":41,"tag":118,"props":5506,"children":5507},{"style":611},[5508],{"type":47,"value":599},{"type":41,"tag":118,"props":5510,"children":5511},{"style":333},[5512],{"type":47,"value":4046},{"type":41,"tag":118,"props":5514,"children":5515},{"style":339},[5516],{"type":47,"value":377},{"type":41,"tag":118,"props":5518,"children":5520},{"class":120,"line":5519},73,[5521,5526,5530,5534,5538,5542],{"type":41,"tag":118,"props":5522,"children":5523},{"style":333},[5524],{"type":47,"value":5525},"    await",{"type":41,"tag":118,"props":5527,"children":5528},{"style":345},[5529],{"type":47,"value":3996},{"type":41,"tag":118,"props":5531,"children":5532},{"style":339},[5533],{"type":47,"value":417},{"type":41,"tag":118,"props":5535,"children":5536},{"style":497},[5537],{"type":47,"value":4420},{"type":41,"tag":118,"props":5539,"children":5540},{"style":611},[5541],{"type":47,"value":539},{"type":41,"tag":118,"props":5543,"children":5544},{"style":339},[5545],{"type":47,"value":377},{"type":41,"tag":118,"props":5547,"children":5549},{"class":120,"line":5548},74,[5550,5555,5559],{"type":41,"tag":118,"props":5551,"children":5552},{"style":497},[5553],{"type":47,"value":5554},"    setAccounts",{"type":41,"tag":118,"props":5556,"children":5557},{"style":611},[5558],{"type":47,"value":3697},{"type":41,"tag":118,"props":5560,"children":5561},{"style":339},[5562],{"type":47,"value":377},{"type":41,"tag":118,"props":5564,"children":5566},{"class":120,"line":5565},75,[5567,5572,5576,5580,5584],{"type":41,"tag":118,"props":5568,"children":5569},{"style":497},[5570],{"type":47,"value":5571},"    setChainId",{"type":41,"tag":118,"props":5573,"children":5574},{"style":611},[5575],{"type":47,"value":884},{"type":41,"tag":118,"props":5577,"children":5578},{"style":339},[5579],{"type":47,"value":3628},{"type":41,"tag":118,"props":5581,"children":5582},{"style":611},[5583],{"type":47,"value":633},{"type":41,"tag":118,"props":5585,"children":5586},{"style":339},[5587],{"type":47,"value":377},{"type":41,"tag":118,"props":5589,"children":5591},{"class":120,"line":5590},76,[5592,5597,5601,5605,5609],{"type":41,"tag":118,"props":5593,"children":5594},{"style":497},[5595],{"type":47,"value":5596},"    setBalance",{"type":41,"tag":118,"props":5598,"children":5599},{"style":611},[5600],{"type":47,"value":884},{"type":41,"tag":118,"props":5602,"children":5603},{"style":339},[5604],{"type":47,"value":3833},{"type":41,"tag":118,"props":5606,"children":5607},{"style":611},[5608],{"type":47,"value":633},{"type":41,"tag":118,"props":5610,"children":5611},{"style":339},[5612],{"type":47,"value":377},{"type":41,"tag":118,"props":5614,"children":5616},{"class":120,"line":5615},77,[5617,5621,5625],{"type":41,"tag":118,"props":5618,"children":5619},{"style":339},[5620],{"type":47,"value":4633},{"type":41,"tag":118,"props":5622,"children":5623},{"style":611},[5624],{"type":47,"value":4638},{"type":41,"tag":118,"props":5626,"children":5627},{"style":339},[5628],{"type":47,"value":377},{"type":41,"tag":118,"props":5630,"children":5632},{"class":120,"line":5631},78,[5633],{"type":41,"tag":118,"props":5634,"children":5635},{"emptyLinePlaceholder":323},[5636],{"type":47,"value":326},{"type":41,"tag":118,"props":5638,"children":5640},{"class":120,"line":5639},79,[5641,5645,5650,5654,5658,5662,5666,5670,5674],{"type":41,"tag":118,"props":5642,"children":5643},{"style":477},[5644],{"type":47,"value":3586},{"type":41,"tag":118,"props":5646,"children":5647},{"style":345},[5648],{"type":47,"value":5649}," fetchBalance",{"type":41,"tag":118,"props":5651,"children":5652},{"style":339},[5653],{"type":47,"value":647},{"type":41,"tag":118,"props":5655,"children":5656},{"style":497},[5657],{"type":47,"value":3310},{"type":41,"tag":118,"props":5659,"children":5660},{"style":611},[5661],{"type":47,"value":884},{"type":41,"tag":118,"props":5663,"children":5664},{"style":477},[5665],{"type":47,"value":4680},{"type":41,"tag":118,"props":5667,"children":5668},{"style":339},[5669],{"type":47,"value":2149},{"type":41,"tag":118,"props":5671,"children":5672},{"style":477},[5673],{"type":47,"value":843},{"type":41,"tag":118,"props":5675,"children":5676},{"style":339},[5677],{"type":47,"value":652},{"type":41,"tag":118,"props":5679,"children":5681},{"class":120,"line":5680},80,[5682,5686,5690,5694,5698,5702,5706],{"type":41,"tag":118,"props":5683,"children":5684},{"style":477},[5685],{"type":47,"value":4701},{"type":41,"tag":118,"props":5687,"children":5688},{"style":345},[5689],{"type":47,"value":3996},{"type":41,"tag":118,"props":5691,"children":5692},{"style":339},[5693],{"type":47,"value":647},{"type":41,"tag":118,"props":5695,"children":5696},{"style":345},[5697],{"type":47,"value":3591},{"type":41,"tag":118,"props":5699,"children":5700},{"style":339},[5701],{"type":47,"value":417},{"type":41,"tag":118,"props":5703,"children":5704},{"style":345},[5705],{"type":47,"value":4067},{"type":41,"tag":118,"props":5707,"children":5708},{"style":339},[5709],{"type":47,"value":377},{"type":41,"tag":118,"props":5711,"children":5713},{"class":120,"line":5712},81,[5714,5718,5722,5726,5730,5735,5739,5743,5748,5752,5757,5761,5765],{"type":41,"tag":118,"props":5715,"children":5716},{"style":333},[5717],{"type":47,"value":4734},{"type":41,"tag":118,"props":5719,"children":5720},{"style":611},[5721],{"type":47,"value":557},{"type":41,"tag":118,"props":5723,"children":5724},{"style":339},[5725],{"type":47,"value":865},{"type":41,"tag":118,"props":5727,"children":5728},{"style":345},[5729],{"type":47,"value":4747},{"type":41,"tag":118,"props":5731,"children":5732},{"style":339},[5733],{"type":47,"value":5734}," ||",{"type":41,"tag":118,"props":5736,"children":5737},{"style":345},[5738],{"type":47,"value":3044},{"type":41,"tag":118,"props":5740,"children":5741},{"style":339},[5742],{"type":47,"value":417},{"type":41,"tag":118,"props":5744,"children":5745},{"style":345},[5746],{"type":47,"value":5747},"length",{"type":41,"tag":118,"props":5749,"children":5750},{"style":339},[5751],{"type":47,"value":5039},{"type":41,"tag":118,"props":5753,"children":5754},{"style":5042},[5755],{"type":47,"value":5756}," 0",{"type":41,"tag":118,"props":5758,"children":5759},{"style":611},[5760],{"type":47,"value":599},{"type":41,"tag":118,"props":5762,"children":5763},{"style":333},[5764],{"type":47,"value":4046},{"type":41,"tag":118,"props":5766,"children":5767},{"style":339},[5768],{"type":47,"value":377},{"type":41,"tag":118,"props":5770,"children":5772},{"class":120,"line":5771},82,[5773],{"type":41,"tag":118,"props":5774,"children":5775},{"emptyLinePlaceholder":323},[5776],{"type":47,"value":326},{"type":41,"tag":118,"props":5778,"children":5780},{"class":120,"line":5779},83,[5781,5785,5789,5793,5797,5801,5805,5809],{"type":41,"tag":118,"props":5782,"children":5783},{"style":477},[5784],{"type":47,"value":4701},{"type":41,"tag":118,"props":5786,"children":5787},{"style":345},[5788],{"type":47,"value":4098},{"type":41,"tag":118,"props":5790,"children":5791},{"style":339},[5792],{"type":47,"value":647},{"type":41,"tag":118,"props":5794,"children":5795},{"style":345},[5796],{"type":47,"value":3996},{"type":41,"tag":118,"props":5798,"children":5799},{"style":339},[5800],{"type":47,"value":417},{"type":41,"tag":118,"props":5802,"children":5803},{"style":497},[5804],{"type":47,"value":4115},{"type":41,"tag":118,"props":5806,"children":5807},{"style":611},[5808],{"type":47,"value":539},{"type":41,"tag":118,"props":5810,"children":5811},{"style":339},[5812],{"type":47,"value":377},{"type":41,"tag":118,"props":5814,"children":5816},{"class":120,"line":5815},84,[5817,5821,5826,5830,5834,5838,5842,5847,5851],{"type":41,"tag":118,"props":5818,"children":5819},{"style":477},[5820],{"type":47,"value":4701},{"type":41,"tag":118,"props":5822,"children":5823},{"style":345},[5824],{"type":47,"value":5825}," wei",{"type":41,"tag":118,"props":5827,"children":5828},{"style":339},[5829],{"type":47,"value":647},{"type":41,"tag":118,"props":5831,"children":5832},{"style":333},[5833],{"type":47,"value":4005},{"type":41,"tag":118,"props":5835,"children":5836},{"style":345},[5837],{"type":47,"value":4098},{"type":41,"tag":118,"props":5839,"children":5840},{"style":339},[5841],{"type":47,"value":417},{"type":41,"tag":118,"props":5843,"children":5844},{"style":497},[5845],{"type":47,"value":5846},"request",{"type":41,"tag":118,"props":5848,"children":5849},{"style":611},[5850],{"type":47,"value":884},{"type":41,"tag":118,"props":5852,"children":5853},{"style":339},[5854],{"type":47,"value":604},{"type":41,"tag":118,"props":5856,"children":5858},{"class":120,"line":5857},85,[5859,5864,5868,5872,5877,5881],{"type":41,"tag":118,"props":5860,"children":5861},{"style":611},[5862],{"type":47,"value":5863},"      method",{"type":41,"tag":118,"props":5865,"children":5866},{"style":339},[5867],{"type":47,"value":666},{"type":41,"tag":118,"props":5869,"children":5870},{"style":339},[5871],{"type":47,"value":363},{"type":41,"tag":118,"props":5873,"children":5874},{"style":131},[5875],{"type":47,"value":5876},"eth_getBalance",{"type":41,"tag":118,"props":5878,"children":5879},{"style":339},[5880],{"type":47,"value":372},{"type":41,"tag":118,"props":5882,"children":5883},{"style":339},[5884],{"type":47,"value":701},{"type":41,"tag":118,"props":5886,"children":5888},{"class":120,"line":5887},86,[5889,5894,5898,5902,5906,5911,5916,5920,5924,5928,5933,5937,5941],{"type":41,"tag":118,"props":5890,"children":5891},{"style":611},[5892],{"type":47,"value":5893},"      params",{"type":41,"tag":118,"props":5895,"children":5896},{"style":339},[5897],{"type":47,"value":666},{"type":41,"tag":118,"props":5899,"children":5900},{"style":611},[5901],{"type":47,"value":2684},{"type":41,"tag":118,"props":5903,"children":5904},{"style":345},[5905],{"type":47,"value":3652},{"type":41,"tag":118,"props":5907,"children":5908},{"style":611},[5909],{"type":47,"value":5910},"[",{"type":41,"tag":118,"props":5912,"children":5913},{"style":5042},[5914],{"type":47,"value":5915},"0",{"type":41,"tag":118,"props":5917,"children":5918},{"style":611},[5919],{"type":47,"value":3666},{"type":41,"tag":118,"props":5921,"children":5922},{"style":339},[5923],{"type":47,"value":515},{"type":41,"tag":118,"props":5925,"children":5926},{"style":339},[5927],{"type":47,"value":363},{"type":41,"tag":118,"props":5929,"children":5930},{"style":131},[5931],{"type":47,"value":5932},"latest",{"type":41,"tag":118,"props":5934,"children":5935},{"style":339},[5936],{"type":47,"value":372},{"type":41,"tag":118,"props":5938,"children":5939},{"style":611},[5940],{"type":47,"value":3666},{"type":41,"tag":118,"props":5942,"children":5943},{"style":339},[5944],{"type":47,"value":701},{"type":41,"tag":118,"props":5946,"children":5948},{"class":120,"line":5947},87,[5949,5953,5957,5962,5966],{"type":41,"tag":118,"props":5950,"children":5951},{"style":339},[5952],{"type":47,"value":3175},{"type":41,"tag":118,"props":5954,"children":5955},{"style":611},[5956],{"type":47,"value":599},{"type":41,"tag":118,"props":5958,"children":5959},{"style":333},[5960],{"type":47,"value":5961},"as",{"type":41,"tag":118,"props":5963,"children":5964},{"style":125},[5965],{"type":47,"value":3514},{"type":41,"tag":118,"props":5967,"children":5968},{"style":339},[5969],{"type":47,"value":377},{"type":41,"tag":118,"props":5971,"children":5973},{"class":120,"line":5972},88,[5974],{"type":41,"tag":118,"props":5975,"children":5976},{"emptyLinePlaceholder":323},[5977],{"type":47,"value":326},{"type":41,"tag":118,"props":5979,"children":5981},{"class":120,"line":5980},89,[5982,5986,5991,5995,6000,6004,6009,6013,6018,6022,6027,6032],{"type":41,"tag":118,"props":5983,"children":5984},{"style":477},[5985],{"type":47,"value":4701},{"type":41,"tag":118,"props":5987,"children":5988},{"style":345},[5989],{"type":47,"value":5990}," ethBalance",{"type":41,"tag":118,"props":5992,"children":5993},{"style":339},[5994],{"type":47,"value":647},{"type":41,"tag":118,"props":5996,"children":5997},{"style":497},[5998],{"type":47,"value":5999}," parseInt",{"type":41,"tag":118,"props":6001,"children":6002},{"style":611},[6003],{"type":47,"value":884},{"type":41,"tag":118,"props":6005,"children":6006},{"style":345},[6007],{"type":47,"value":6008},"wei",{"type":41,"tag":118,"props":6010,"children":6011},{"style":339},[6012],{"type":47,"value":515},{"type":41,"tag":118,"props":6014,"children":6015},{"style":5042},[6016],{"type":47,"value":6017}," 16",{"type":41,"tag":118,"props":6019,"children":6020},{"style":611},[6021],{"type":47,"value":599},{"type":41,"tag":118,"props":6023,"children":6024},{"style":339},[6025],{"type":47,"value":6026},"\u002F",{"type":41,"tag":118,"props":6028,"children":6029},{"style":5042},[6030],{"type":47,"value":6031}," 1e18",{"type":41,"tag":118,"props":6033,"children":6034},{"style":339},[6035],{"type":47,"value":377},{"type":41,"tag":118,"props":6037,"children":6039},{"class":120,"line":6038},90,[6040,6044,6048,6053,6057,6062,6066,6071,6076],{"type":41,"tag":118,"props":6041,"children":6042},{"style":497},[6043],{"type":47,"value":5596},{"type":41,"tag":118,"props":6045,"children":6046},{"style":611},[6047],{"type":47,"value":884},{"type":41,"tag":118,"props":6049,"children":6050},{"style":345},[6051],{"type":47,"value":6052},"ethBalance",{"type":41,"tag":118,"props":6054,"children":6055},{"style":339},[6056],{"type":47,"value":417},{"type":41,"tag":118,"props":6058,"children":6059},{"style":497},[6060],{"type":47,"value":6061},"toFixed",{"type":41,"tag":118,"props":6063,"children":6064},{"style":611},[6065],{"type":47,"value":884},{"type":41,"tag":118,"props":6067,"children":6068},{"style":5042},[6069],{"type":47,"value":6070},"6",{"type":41,"tag":118,"props":6072,"children":6073},{"style":611},[6074],{"type":47,"value":6075},"))",{"type":41,"tag":118,"props":6077,"children":6078},{"style":339},[6079],{"type":47,"value":377},{"type":41,"tag":118,"props":6081,"children":6083},{"class":120,"line":6082},91,[6084,6088,6092,6096,6101],{"type":41,"tag":118,"props":6085,"children":6086},{"style":339},[6087],{"type":47,"value":4633},{"type":41,"tag":118,"props":6089,"children":6090},{"style":611},[6091],{"type":47,"value":2684},{"type":41,"tag":118,"props":6093,"children":6094},{"style":345},[6095],{"type":47,"value":3652},{"type":41,"tag":118,"props":6097,"children":6098},{"style":611},[6099],{"type":47,"value":6100},"])",{"type":41,"tag":118,"props":6102,"children":6103},{"style":339},[6104],{"type":47,"value":377},{"type":41,"tag":118,"props":6106,"children":6108},{"class":120,"line":6107},92,[6109],{"type":41,"tag":118,"props":6110,"children":6111},{"emptyLinePlaceholder":323},[6112],{"type":47,"value":326},{"type":41,"tag":118,"props":6114,"children":6116},{"class":120,"line":6115},93,[6117,6121,6126,6130,6134,6138,6142,6147,6151],{"type":41,"tag":118,"props":6118,"children":6119},{"style":477},[6120],{"type":47,"value":3586},{"type":41,"tag":118,"props":6122,"children":6123},{"style":345},[6124],{"type":47,"value":6125}," isConnected",{"type":41,"tag":118,"props":6127,"children":6128},{"style":339},[6129],{"type":47,"value":647},{"type":41,"tag":118,"props":6131,"children":6132},{"style":345},[6133],{"type":47,"value":3044},{"type":41,"tag":118,"props":6135,"children":6136},{"style":339},[6137],{"type":47,"value":417},{"type":41,"tag":118,"props":6139,"children":6140},{"style":345},[6141],{"type":47,"value":5747},{"type":41,"tag":118,"props":6143,"children":6144},{"style":339},[6145],{"type":47,"value":6146}," >",{"type":41,"tag":118,"props":6148,"children":6149},{"style":5042},[6150],{"type":47,"value":5756},{"type":41,"tag":118,"props":6152,"children":6153},{"style":339},[6154],{"type":47,"value":377},{"type":41,"tag":118,"props":6156,"children":6158},{"class":120,"line":6157},94,[6159],{"type":41,"tag":118,"props":6160,"children":6161},{"emptyLinePlaceholder":323},[6162],{"type":47,"value":326},{"type":41,"tag":118,"props":6164,"children":6166},{"class":120,"line":6165},95,[6167,6171],{"type":41,"tag":118,"props":6168,"children":6169},{"style":333},[6170],{"type":47,"value":3201},{"type":41,"tag":118,"props":6172,"children":6173},{"style":611},[6174],{"type":47,"value":6175}," (\n",{"type":41,"tag":118,"props":6177,"children":6179},{"class":120,"line":6178},96,[6180,6185,6190,6195,6200,6205,6209,6214],{"type":41,"tag":118,"props":6181,"children":6182},{"style":339},[6183],{"type":47,"value":6184},"    \u003C",{"type":41,"tag":118,"props":6186,"children":6187},{"style":125},[6188],{"type":47,"value":6189},"View",{"type":41,"tag":118,"props":6191,"children":6192},{"style":477},[6193],{"type":47,"value":6194}," style",{"type":41,"tag":118,"props":6196,"children":6197},{"style":339},[6198],{"type":47,"value":6199},"={",{"type":41,"tag":118,"props":6201,"children":6202},{"style":345},[6203],{"type":47,"value":6204},"styles",{"type":41,"tag":118,"props":6206,"children":6207},{"style":339},[6208],{"type":47,"value":417},{"type":41,"tag":118,"props":6210,"children":6211},{"style":345},[6212],{"type":47,"value":6213},"container",{"type":41,"tag":118,"props":6215,"children":6216},{"style":339},[6217],{"type":47,"value":6218},"}>\n",{"type":41,"tag":118,"props":6220,"children":6222},{"class":120,"line":6221},97,[6223,6228,6233,6238],{"type":41,"tag":118,"props":6224,"children":6225},{"style":339},[6226],{"type":47,"value":6227},"      {!",{"type":41,"tag":118,"props":6229,"children":6230},{"style":345},[6231],{"type":47,"value":6232},"isConnected ",{"type":41,"tag":118,"props":6234,"children":6235},{"style":339},[6236],{"type":47,"value":6237},"?",{"type":41,"tag":118,"props":6239,"children":6240},{"style":345},[6241],{"type":47,"value":6175},{"type":41,"tag":118,"props":6243,"children":6245},{"class":120,"line":6244},98,[6246,6251],{"type":41,"tag":118,"props":6247,"children":6248},{"style":339},[6249],{"type":47,"value":6250},"        \u003C",{"type":41,"tag":118,"props":6252,"children":6253},{"style":125},[6254],{"type":47,"value":6255},"TouchableOpacity\n",{"type":41,"tag":118,"props":6257,"children":6259},{"class":120,"line":6258},99,[6260,6265,6269,6273,6277,6282],{"type":41,"tag":118,"props":6261,"children":6262},{"style":477},[6263],{"type":47,"value":6264},"          style",{"type":41,"tag":118,"props":6266,"children":6267},{"style":339},[6268],{"type":47,"value":6199},{"type":41,"tag":118,"props":6270,"children":6271},{"style":345},[6272],{"type":47,"value":6204},{"type":41,"tag":118,"props":6274,"children":6275},{"style":339},[6276],{"type":47,"value":417},{"type":41,"tag":118,"props":6278,"children":6279},{"style":345},[6280],{"type":47,"value":6281},"button",{"type":41,"tag":118,"props":6283,"children":6284},{"style":339},[6285],{"type":47,"value":1185},{"type":41,"tag":118,"props":6287,"children":6289},{"class":120,"line":6288},100,[6290,6295,6299,6304],{"type":41,"tag":118,"props":6291,"children":6292},{"style":477},[6293],{"type":47,"value":6294},"          onPress",{"type":41,"tag":118,"props":6296,"children":6297},{"style":339},[6298],{"type":47,"value":6199},{"type":41,"tag":118,"props":6300,"children":6301},{"style":345},[6302],{"type":47,"value":6303},"handleConnect",{"type":41,"tag":118,"props":6305,"children":6306},{"style":339},[6307],{"type":47,"value":1185},{"type":41,"tag":118,"props":6309,"children":6311},{"class":120,"line":6310},101,[6312,6317,6321,6325],{"type":41,"tag":118,"props":6313,"children":6314},{"style":477},[6315],{"type":47,"value":6316},"          disabled",{"type":41,"tag":118,"props":6318,"children":6319},{"style":339},[6320],{"type":47,"value":6199},{"type":41,"tag":118,"props":6322,"children":6323},{"style":345},[6324],{"type":47,"value":3857},{"type":41,"tag":118,"props":6326,"children":6327},{"style":339},[6328],{"type":47,"value":1185},{"type":41,"tag":118,"props":6330,"children":6332},{"class":120,"line":6331},102,[6333],{"type":41,"tag":118,"props":6334,"children":6335},{"style":339},[6336],{"type":47,"value":6337},"        >\n",{"type":41,"tag":118,"props":6339,"children":6341},{"class":120,"line":6340},103,[6342,6347,6352,6356,6360,6364,6368,6373],{"type":41,"tag":118,"props":6343,"children":6344},{"style":339},[6345],{"type":47,"value":6346},"          \u003C",{"type":41,"tag":118,"props":6348,"children":6349},{"style":125},[6350],{"type":47,"value":6351},"Text",{"type":41,"tag":118,"props":6353,"children":6354},{"style":477},[6355],{"type":47,"value":6194},{"type":41,"tag":118,"props":6357,"children":6358},{"style":339},[6359],{"type":47,"value":6199},{"type":41,"tag":118,"props":6361,"children":6362},{"style":345},[6363],{"type":47,"value":6204},{"type":41,"tag":118,"props":6365,"children":6366},{"style":339},[6367],{"type":47,"value":417},{"type":41,"tag":118,"props":6369,"children":6370},{"style":345},[6371],{"type":47,"value":6372},"buttonText",{"type":41,"tag":118,"props":6374,"children":6375},{"style":339},[6376],{"type":47,"value":6218},{"type":41,"tag":118,"props":6378,"children":6380},{"class":120,"line":6379},104,[6381,6386,6391,6395,6399,6404,6408,6413,6417,6422,6426],{"type":41,"tag":118,"props":6382,"children":6383},{"style":339},[6384],{"type":47,"value":6385},"            {",{"type":41,"tag":118,"props":6387,"children":6388},{"style":345},[6389],{"type":47,"value":6390},"connecting ",{"type":41,"tag":118,"props":6392,"children":6393},{"style":339},[6394],{"type":47,"value":6237},{"type":41,"tag":118,"props":6396,"children":6397},{"style":339},[6398],{"type":47,"value":363},{"type":41,"tag":118,"props":6400,"children":6401},{"style":131},[6402],{"type":47,"value":6403},"Connecting...",{"type":41,"tag":118,"props":6405,"children":6406},{"style":339},[6407],{"type":47,"value":372},{"type":41,"tag":118,"props":6409,"children":6410},{"style":339},[6411],{"type":47,"value":6412}," :",{"type":41,"tag":118,"props":6414,"children":6415},{"style":339},[6416],{"type":47,"value":363},{"type":41,"tag":118,"props":6418,"children":6419},{"style":131},[6420],{"type":47,"value":6421},"Connect MetaMask",{"type":41,"tag":118,"props":6423,"children":6424},{"style":339},[6425],{"type":47,"value":372},{"type":41,"tag":118,"props":6427,"children":6428},{"style":339},[6429],{"type":47,"value":1185},{"type":41,"tag":118,"props":6431,"children":6433},{"class":120,"line":6432},105,[6434,6439,6443],{"type":41,"tag":118,"props":6435,"children":6436},{"style":339},[6437],{"type":47,"value":6438},"          \u003C\u002F",{"type":41,"tag":118,"props":6440,"children":6441},{"style":125},[6442],{"type":47,"value":6351},{"type":41,"tag":118,"props":6444,"children":6445},{"style":339},[6446],{"type":47,"value":6447},">\n",{"type":41,"tag":118,"props":6449,"children":6451},{"class":120,"line":6450},106,[6452,6457,6462],{"type":41,"tag":118,"props":6453,"children":6454},{"style":339},[6455],{"type":47,"value":6456},"        \u003C\u002F",{"type":41,"tag":118,"props":6458,"children":6459},{"style":125},[6460],{"type":47,"value":6461},"TouchableOpacity",{"type":41,"tag":118,"props":6463,"children":6464},{"style":339},[6465],{"type":47,"value":6447},{"type":41,"tag":118,"props":6467,"children":6469},{"class":120,"line":6468},107,[6470,6475,6479],{"type":41,"tag":118,"props":6471,"children":6472},{"style":345},[6473],{"type":47,"value":6474},"      ) ",{"type":41,"tag":118,"props":6476,"children":6477},{"style":339},[6478],{"type":47,"value":666},{"type":41,"tag":118,"props":6480,"children":6481},{"style":345},[6482],{"type":47,"value":6175},{"type":41,"tag":118,"props":6484,"children":6486},{"class":120,"line":6485},108,[6487,6491,6495],{"type":41,"tag":118,"props":6488,"children":6489},{"style":339},[6490],{"type":47,"value":6250},{"type":41,"tag":118,"props":6492,"children":6493},{"style":125},[6494],{"type":47,"value":6189},{"type":41,"tag":118,"props":6496,"children":6497},{"style":339},[6498],{"type":47,"value":6447},{"type":41,"tag":118,"props":6500,"children":6502},{"class":120,"line":6501},109,[6503,6507,6511,6515,6519,6523,6527,6532,6537,6542,6546,6551,6555,6559,6564,6568],{"type":41,"tag":118,"props":6504,"children":6505},{"style":339},[6506],{"type":47,"value":6346},{"type":41,"tag":118,"props":6508,"children":6509},{"style":125},[6510],{"type":47,"value":6351},{"type":41,"tag":118,"props":6512,"children":6513},{"style":477},[6514],{"type":47,"value":6194},{"type":41,"tag":118,"props":6516,"children":6517},{"style":339},[6518],{"type":47,"value":6199},{"type":41,"tag":118,"props":6520,"children":6521},{"style":345},[6522],{"type":47,"value":6204},{"type":41,"tag":118,"props":6524,"children":6525},{"style":339},[6526],{"type":47,"value":417},{"type":41,"tag":118,"props":6528,"children":6529},{"style":345},[6530],{"type":47,"value":6531},"label",{"type":41,"tag":118,"props":6533,"children":6534},{"style":339},[6535],{"type":47,"value":6536},"}>",{"type":41,"tag":118,"props":6538,"children":6539},{"style":345},[6540],{"type":47,"value":6541},"Account: ",{"type":41,"tag":118,"props":6543,"children":6544},{"style":339},[6545],{"type":47,"value":2644},{"type":41,"tag":118,"props":6547,"children":6548},{"style":345},[6549],{"type":47,"value":6550},"accounts[",{"type":41,"tag":118,"props":6552,"children":6553},{"style":5042},[6554],{"type":47,"value":5915},{"type":41,"tag":118,"props":6556,"children":6557},{"style":345},[6558],{"type":47,"value":3666},{"type":41,"tag":118,"props":6560,"children":6561},{"style":339},[6562],{"type":47,"value":6563},"}\u003C\u002F",{"type":41,"tag":118,"props":6565,"children":6566},{"style":125},[6567],{"type":47,"value":6351},{"type":41,"tag":118,"props":6569,"children":6570},{"style":339},[6571],{"type":47,"value":6447},{"type":41,"tag":118,"props":6573,"children":6575},{"class":120,"line":6574},110,[6576,6580,6584,6588,6592,6596,6600,6604,6608,6613,6617,6621,6625,6629],{"type":41,"tag":118,"props":6577,"children":6578},{"style":339},[6579],{"type":47,"value":6346},{"type":41,"tag":118,"props":6581,"children":6582},{"style":125},[6583],{"type":47,"value":6351},{"type":41,"tag":118,"props":6585,"children":6586},{"style":477},[6587],{"type":47,"value":6194},{"type":41,"tag":118,"props":6589,"children":6590},{"style":339},[6591],{"type":47,"value":6199},{"type":41,"tag":118,"props":6593,"children":6594},{"style":345},[6595],{"type":47,"value":6204},{"type":41,"tag":118,"props":6597,"children":6598},{"style":339},[6599],{"type":47,"value":417},{"type":41,"tag":118,"props":6601,"children":6602},{"style":345},[6603],{"type":47,"value":6531},{"type":41,"tag":118,"props":6605,"children":6606},{"style":339},[6607],{"type":47,"value":6536},{"type":41,"tag":118,"props":6609,"children":6610},{"style":345},[6611],{"type":47,"value":6612},"Chain: ",{"type":41,"tag":118,"props":6614,"children":6615},{"style":339},[6616],{"type":47,"value":2644},{"type":41,"tag":118,"props":6618,"children":6619},{"style":345},[6620],{"type":47,"value":3717},{"type":41,"tag":118,"props":6622,"children":6623},{"style":339},[6624],{"type":47,"value":6563},{"type":41,"tag":118,"props":6626,"children":6627},{"style":125},[6628],{"type":47,"value":6351},{"type":41,"tag":118,"props":6630,"children":6631},{"style":339},[6632],{"type":47,"value":6447},{"type":41,"tag":118,"props":6634,"children":6636},{"class":120,"line":6635},111,[6637,6641,6645,6649,6653,6657,6661,6665,6669,6674,6678,6683,6688,6692,6697,6701,6705,6710,6715,6719],{"type":41,"tag":118,"props":6638,"children":6639},{"style":339},[6640],{"type":47,"value":6346},{"type":41,"tag":118,"props":6642,"children":6643},{"style":125},[6644],{"type":47,"value":6351},{"type":41,"tag":118,"props":6646,"children":6647},{"style":477},[6648],{"type":47,"value":6194},{"type":41,"tag":118,"props":6650,"children":6651},{"style":339},[6652],{"type":47,"value":6199},{"type":41,"tag":118,"props":6654,"children":6655},{"style":345},[6656],{"type":47,"value":6204},{"type":41,"tag":118,"props":6658,"children":6659},{"style":339},[6660],{"type":47,"value":417},{"type":41,"tag":118,"props":6662,"children":6663},{"style":345},[6664],{"type":47,"value":6531},{"type":41,"tag":118,"props":6666,"children":6667},{"style":339},[6668],{"type":47,"value":6536},{"type":41,"tag":118,"props":6670,"children":6671},{"style":345},[6672],{"type":47,"value":6673},"Balance: ",{"type":41,"tag":118,"props":6675,"children":6676},{"style":339},[6677],{"type":47,"value":2644},{"type":41,"tag":118,"props":6679,"children":6680},{"style":345},[6681],{"type":47,"value":6682},"balance ",{"type":41,"tag":118,"props":6684,"children":6685},{"style":339},[6686],{"type":47,"value":6687},"||",{"type":41,"tag":118,"props":6689,"children":6690},{"style":339},[6691],{"type":47,"value":363},{"type":41,"tag":118,"props":6693,"children":6694},{"style":131},[6695],{"type":47,"value":6696},"—",{"type":41,"tag":118,"props":6698,"children":6699},{"style":339},[6700],{"type":47,"value":372},{"type":41,"tag":118,"props":6702,"children":6703},{"style":339},[6704],{"type":47,"value":1278},{"type":41,"tag":118,"props":6706,"children":6707},{"style":345},[6708],{"type":47,"value":6709}," ETH",{"type":41,"tag":118,"props":6711,"children":6712},{"style":339},[6713],{"type":47,"value":6714},"\u003C\u002F",{"type":41,"tag":118,"props":6716,"children":6717},{"style":125},[6718],{"type":47,"value":6351},{"type":41,"tag":118,"props":6720,"children":6721},{"style":339},[6722],{"type":47,"value":6447},{"type":41,"tag":118,"props":6724,"children":6726},{"class":120,"line":6725},112,[6727,6731,6735,6739,6743,6747,6751,6755,6760,6765,6769,6774],{"type":41,"tag":118,"props":6728,"children":6729},{"style":339},[6730],{"type":47,"value":6346},{"type":41,"tag":118,"props":6732,"children":6733},{"style":125},[6734],{"type":47,"value":6461},{"type":41,"tag":118,"props":6736,"children":6737},{"style":477},[6738],{"type":47,"value":6194},{"type":41,"tag":118,"props":6740,"children":6741},{"style":339},[6742],{"type":47,"value":6199},{"type":41,"tag":118,"props":6744,"children":6745},{"style":345},[6746],{"type":47,"value":6204},{"type":41,"tag":118,"props":6748,"children":6749},{"style":339},[6750],{"type":47,"value":417},{"type":41,"tag":118,"props":6752,"children":6753},{"style":345},[6754],{"type":47,"value":6281},{"type":41,"tag":118,"props":6756,"children":6757},{"style":339},[6758],{"type":47,"value":6759},"} ",{"type":41,"tag":118,"props":6761,"children":6762},{"style":477},[6763],{"type":47,"value":6764},"onPress",{"type":41,"tag":118,"props":6766,"children":6767},{"style":339},[6768],{"type":47,"value":6199},{"type":41,"tag":118,"props":6770,"children":6771},{"style":345},[6772],{"type":47,"value":6773},"fetchBalance",{"type":41,"tag":118,"props":6775,"children":6776},{"style":339},[6777],{"type":47,"value":6218},{"type":41,"tag":118,"props":6779,"children":6781},{"class":120,"line":6780},113,[6782,6787,6791,6795,6799,6803,6807,6811,6815,6820,6824,6828],{"type":41,"tag":118,"props":6783,"children":6784},{"style":339},[6785],{"type":47,"value":6786},"            \u003C",{"type":41,"tag":118,"props":6788,"children":6789},{"style":125},[6790],{"type":47,"value":6351},{"type":41,"tag":118,"props":6792,"children":6793},{"style":477},[6794],{"type":47,"value":6194},{"type":41,"tag":118,"props":6796,"children":6797},{"style":339},[6798],{"type":47,"value":6199},{"type":41,"tag":118,"props":6800,"children":6801},{"style":345},[6802],{"type":47,"value":6204},{"type":41,"tag":118,"props":6804,"children":6805},{"style":339},[6806],{"type":47,"value":417},{"type":41,"tag":118,"props":6808,"children":6809},{"style":345},[6810],{"type":47,"value":6372},{"type":41,"tag":118,"props":6812,"children":6813},{"style":339},[6814],{"type":47,"value":6536},{"type":41,"tag":118,"props":6816,"children":6817},{"style":345},[6818],{"type":47,"value":6819},"Refresh Balance",{"type":41,"tag":118,"props":6821,"children":6822},{"style":339},[6823],{"type":47,"value":6714},{"type":41,"tag":118,"props":6825,"children":6826},{"style":125},[6827],{"type":47,"value":6351},{"type":41,"tag":118,"props":6829,"children":6830},{"style":339},[6831],{"type":47,"value":6447},{"type":41,"tag":118,"props":6833,"children":6835},{"class":120,"line":6834},114,[6836,6840,6844],{"type":41,"tag":118,"props":6837,"children":6838},{"style":339},[6839],{"type":47,"value":6438},{"type":41,"tag":118,"props":6841,"children":6842},{"style":125},[6843],{"type":47,"value":6461},{"type":41,"tag":118,"props":6845,"children":6846},{"style":339},[6847],{"type":47,"value":6447},{"type":41,"tag":118,"props":6849,"children":6851},{"class":120,"line":6850},115,[6852,6856,6860,6864,6868,6872,6876,6880,6884,6888,6892,6897],{"type":41,"tag":118,"props":6853,"children":6854},{"style":339},[6855],{"type":47,"value":6346},{"type":41,"tag":118,"props":6857,"children":6858},{"style":125},[6859],{"type":47,"value":6461},{"type":41,"tag":118,"props":6861,"children":6862},{"style":477},[6863],{"type":47,"value":6194},{"type":41,"tag":118,"props":6865,"children":6866},{"style":339},[6867],{"type":47,"value":6199},{"type":41,"tag":118,"props":6869,"children":6870},{"style":345},[6871],{"type":47,"value":6204},{"type":41,"tag":118,"props":6873,"children":6874},{"style":339},[6875],{"type":47,"value":417},{"type":41,"tag":118,"props":6877,"children":6878},{"style":345},[6879],{"type":47,"value":6281},{"type":41,"tag":118,"props":6881,"children":6882},{"style":339},[6883],{"type":47,"value":6759},{"type":41,"tag":118,"props":6885,"children":6886},{"style":477},[6887],{"type":47,"value":6764},{"type":41,"tag":118,"props":6889,"children":6890},{"style":339},[6891],{"type":47,"value":6199},{"type":41,"tag":118,"props":6893,"children":6894},{"style":345},[6895],{"type":47,"value":6896},"handleDisconnect",{"type":41,"tag":118,"props":6898,"children":6899},{"style":339},[6900],{"type":47,"value":6218},{"type":41,"tag":118,"props":6902,"children":6904},{"class":120,"line":6903},116,[6905,6909,6913,6917,6921,6925,6929,6933,6937,6942,6946,6950],{"type":41,"tag":118,"props":6906,"children":6907},{"style":339},[6908],{"type":47,"value":6786},{"type":41,"tag":118,"props":6910,"children":6911},{"style":125},[6912],{"type":47,"value":6351},{"type":41,"tag":118,"props":6914,"children":6915},{"style":477},[6916],{"type":47,"value":6194},{"type":41,"tag":118,"props":6918,"children":6919},{"style":339},[6920],{"type":47,"value":6199},{"type":41,"tag":118,"props":6922,"children":6923},{"style":345},[6924],{"type":47,"value":6204},{"type":41,"tag":118,"props":6926,"children":6927},{"style":339},[6928],{"type":47,"value":417},{"type":41,"tag":118,"props":6930,"children":6931},{"style":345},[6932],{"type":47,"value":6372},{"type":41,"tag":118,"props":6934,"children":6935},{"style":339},[6936],{"type":47,"value":6536},{"type":41,"tag":118,"props":6938,"children":6939},{"style":345},[6940],{"type":47,"value":6941},"Disconnect",{"type":41,"tag":118,"props":6943,"children":6944},{"style":339},[6945],{"type":47,"value":6714},{"type":41,"tag":118,"props":6947,"children":6948},{"style":125},[6949],{"type":47,"value":6351},{"type":41,"tag":118,"props":6951,"children":6952},{"style":339},[6953],{"type":47,"value":6447},{"type":41,"tag":118,"props":6955,"children":6957},{"class":120,"line":6956},117,[6958,6962,6966],{"type":41,"tag":118,"props":6959,"children":6960},{"style":339},[6961],{"type":47,"value":6438},{"type":41,"tag":118,"props":6963,"children":6964},{"style":125},[6965],{"type":47,"value":6461},{"type":41,"tag":118,"props":6967,"children":6968},{"style":339},[6969],{"type":47,"value":6447},{"type":41,"tag":118,"props":6971,"children":6973},{"class":120,"line":6972},118,[6974,6978,6982],{"type":41,"tag":118,"props":6975,"children":6976},{"style":339},[6977],{"type":47,"value":6456},{"type":41,"tag":118,"props":6979,"children":6980},{"style":125},[6981],{"type":47,"value":6189},{"type":41,"tag":118,"props":6983,"children":6984},{"style":339},[6985],{"type":47,"value":6447},{"type":41,"tag":118,"props":6987,"children":6989},{"class":120,"line":6988},119,[6990,6995],{"type":41,"tag":118,"props":6991,"children":6992},{"style":345},[6993],{"type":47,"value":6994},"      )",{"type":41,"tag":118,"props":6996,"children":6997},{"style":339},[6998],{"type":47,"value":1185},{"type":41,"tag":118,"props":7000,"children":7002},{"class":120,"line":7001},120,[7003,7008,7012],{"type":41,"tag":118,"props":7004,"children":7005},{"style":339},[7006],{"type":47,"value":7007},"    \u003C\u002F",{"type":41,"tag":118,"props":7009,"children":7010},{"style":125},[7011],{"type":47,"value":6189},{"type":41,"tag":118,"props":7013,"children":7014},{"style":339},[7015],{"type":47,"value":6447},{"type":41,"tag":118,"props":7017,"children":7019},{"class":120,"line":7018},121,[7020,7025],{"type":41,"tag":118,"props":7021,"children":7022},{"style":611},[7023],{"type":47,"value":7024},"  )",{"type":41,"tag":118,"props":7026,"children":7027},{"style":339},[7028],{"type":47,"value":377},{"type":41,"tag":118,"props":7030,"children":7032},{"class":120,"line":7031},122,[7033],{"type":41,"tag":118,"props":7034,"children":7035},{"style":339},[7036],{"type":47,"value":1185},{"type":41,"tag":118,"props":7038,"children":7040},{"class":120,"line":7039},123,[7041],{"type":41,"tag":118,"props":7042,"children":7043},{"emptyLinePlaceholder":323},[7044],{"type":47,"value":326},{"type":41,"tag":118,"props":7046,"children":7048},{"class":120,"line":7047},124,[7049,7053,7058,7062,7066,7070,7075,7079],{"type":41,"tag":118,"props":7050,"children":7051},{"style":477},[7052],{"type":47,"value":480},{"type":41,"tag":118,"props":7054,"children":7055},{"style":345},[7056],{"type":47,"value":7057}," styles ",{"type":41,"tag":118,"props":7059,"children":7060},{"style":339},[7061],{"type":47,"value":427},{"type":41,"tag":118,"props":7063,"children":7064},{"style":345},[7065],{"type":47,"value":3378},{"type":41,"tag":118,"props":7067,"children":7068},{"style":339},[7069],{"type":47,"value":417},{"type":41,"tag":118,"props":7071,"children":7072},{"style":497},[7073],{"type":47,"value":7074},"create",{"type":41,"tag":118,"props":7076,"children":7077},{"style":345},[7078],{"type":47,"value":884},{"type":41,"tag":118,"props":7080,"children":7081},{"style":339},[7082],{"type":47,"value":604},{"type":41,"tag":118,"props":7084,"children":7086},{"class":120,"line":7085},125,[7087,7092,7096,7100,7105,7109,7114,7118,7123,7127,7131,7136,7140,7144,7149,7153,7157,7161,7165,7169,7174,7178,7183],{"type":41,"tag":118,"props":7088,"children":7089},{"style":611},[7090],{"type":47,"value":7091},"  container",{"type":41,"tag":118,"props":7093,"children":7094},{"style":339},[7095],{"type":47,"value":666},{"type":41,"tag":118,"props":7097,"children":7098},{"style":339},[7099],{"type":47,"value":342},{"type":41,"tag":118,"props":7101,"children":7102},{"style":611},[7103],{"type":47,"value":7104}," flex",{"type":41,"tag":118,"props":7106,"children":7107},{"style":339},[7108],{"type":47,"value":666},{"type":41,"tag":118,"props":7110,"children":7111},{"style":5042},[7112],{"type":47,"value":7113}," 1",{"type":41,"tag":118,"props":7115,"children":7116},{"style":339},[7117],{"type":47,"value":515},{"type":41,"tag":118,"props":7119,"children":7120},{"style":611},[7121],{"type":47,"value":7122}," justifyContent",{"type":41,"tag":118,"props":7124,"children":7125},{"style":339},[7126],{"type":47,"value":666},{"type":41,"tag":118,"props":7128,"children":7129},{"style":339},[7130],{"type":47,"value":363},{"type":41,"tag":118,"props":7132,"children":7133},{"style":131},[7134],{"type":47,"value":7135},"center",{"type":41,"tag":118,"props":7137,"children":7138},{"style":339},[7139],{"type":47,"value":372},{"type":41,"tag":118,"props":7141,"children":7142},{"style":339},[7143],{"type":47,"value":515},{"type":41,"tag":118,"props":7145,"children":7146},{"style":611},[7147],{"type":47,"value":7148}," alignItems",{"type":41,"tag":118,"props":7150,"children":7151},{"style":339},[7152],{"type":47,"value":666},{"type":41,"tag":118,"props":7154,"children":7155},{"style":339},[7156],{"type":47,"value":363},{"type":41,"tag":118,"props":7158,"children":7159},{"style":131},[7160],{"type":47,"value":7135},{"type":41,"tag":118,"props":7162,"children":7163},{"style":339},[7164],{"type":47,"value":372},{"type":41,"tag":118,"props":7166,"children":7167},{"style":339},[7168],{"type":47,"value":515},{"type":41,"tag":118,"props":7170,"children":7171},{"style":611},[7172],{"type":47,"value":7173}," padding",{"type":41,"tag":118,"props":7175,"children":7176},{"style":339},[7177],{"type":47,"value":666},{"type":41,"tag":118,"props":7179,"children":7180},{"style":5042},[7181],{"type":47,"value":7182}," 20",{"type":41,"tag":118,"props":7184,"children":7185},{"style":339},[7186],{"type":47,"value":784},{"type":41,"tag":118,"props":7188,"children":7190},{"class":120,"line":7189},126,[7191,7196,7200,7204,7209,7213,7217,7222,7226,7230,7234,7238,7243,7247,7252,7256,7261,7265,7270,7274,7278],{"type":41,"tag":118,"props":7192,"children":7193},{"style":611},[7194],{"type":47,"value":7195},"  button",{"type":41,"tag":118,"props":7197,"children":7198},{"style":339},[7199],{"type":47,"value":666},{"type":41,"tag":118,"props":7201,"children":7202},{"style":339},[7203],{"type":47,"value":342},{"type":41,"tag":118,"props":7205,"children":7206},{"style":611},[7207],{"type":47,"value":7208}," backgroundColor",{"type":41,"tag":118,"props":7210,"children":7211},{"style":339},[7212],{"type":47,"value":666},{"type":41,"tag":118,"props":7214,"children":7215},{"style":339},[7216],{"type":47,"value":363},{"type":41,"tag":118,"props":7218,"children":7219},{"style":131},[7220],{"type":47,"value":7221},"#037DD6",{"type":41,"tag":118,"props":7223,"children":7224},{"style":339},[7225],{"type":47,"value":372},{"type":41,"tag":118,"props":7227,"children":7228},{"style":339},[7229],{"type":47,"value":515},{"type":41,"tag":118,"props":7231,"children":7232},{"style":611},[7233],{"type":47,"value":7173},{"type":41,"tag":118,"props":7235,"children":7236},{"style":339},[7237],{"type":47,"value":666},{"type":41,"tag":118,"props":7239,"children":7240},{"style":5042},[7241],{"type":47,"value":7242}," 14",{"type":41,"tag":118,"props":7244,"children":7245},{"style":339},[7246],{"type":47,"value":515},{"type":41,"tag":118,"props":7248,"children":7249},{"style":611},[7250],{"type":47,"value":7251}," borderRadius",{"type":41,"tag":118,"props":7253,"children":7254},{"style":339},[7255],{"type":47,"value":666},{"type":41,"tag":118,"props":7257,"children":7258},{"style":5042},[7259],{"type":47,"value":7260}," 8",{"type":41,"tag":118,"props":7262,"children":7263},{"style":339},[7264],{"type":47,"value":515},{"type":41,"tag":118,"props":7266,"children":7267},{"style":611},[7268],{"type":47,"value":7269}," marginVertical",{"type":41,"tag":118,"props":7271,"children":7272},{"style":339},[7273],{"type":47,"value":666},{"type":41,"tag":118,"props":7275,"children":7276},{"style":5042},[7277],{"type":47,"value":7260},{"type":41,"tag":118,"props":7279,"children":7280},{"style":339},[7281],{"type":47,"value":784},{"type":41,"tag":118,"props":7283,"children":7285},{"class":120,"line":7284},127,[7286,7291,7295,7299,7304,7308,7312,7317,7321,7325,7330,7334,7338,7342,7347,7351,7355,7359,7363],{"type":41,"tag":118,"props":7287,"children":7288},{"style":611},[7289],{"type":47,"value":7290},"  buttonText",{"type":41,"tag":118,"props":7292,"children":7293},{"style":339},[7294],{"type":47,"value":666},{"type":41,"tag":118,"props":7296,"children":7297},{"style":339},[7298],{"type":47,"value":342},{"type":41,"tag":118,"props":7300,"children":7301},{"style":611},[7302],{"type":47,"value":7303}," color",{"type":41,"tag":118,"props":7305,"children":7306},{"style":339},[7307],{"type":47,"value":666},{"type":41,"tag":118,"props":7309,"children":7310},{"style":339},[7311],{"type":47,"value":363},{"type":41,"tag":118,"props":7313,"children":7314},{"style":131},[7315],{"type":47,"value":7316},"#fff",{"type":41,"tag":118,"props":7318,"children":7319},{"style":339},[7320],{"type":47,"value":372},{"type":41,"tag":118,"props":7322,"children":7323},{"style":339},[7324],{"type":47,"value":515},{"type":41,"tag":118,"props":7326,"children":7327},{"style":611},[7328],{"type":47,"value":7329}," fontSize",{"type":41,"tag":118,"props":7331,"children":7332},{"style":339},[7333],{"type":47,"value":666},{"type":41,"tag":118,"props":7335,"children":7336},{"style":5042},[7337],{"type":47,"value":6017},{"type":41,"tag":118,"props":7339,"children":7340},{"style":339},[7341],{"type":47,"value":515},{"type":41,"tag":118,"props":7343,"children":7344},{"style":611},[7345],{"type":47,"value":7346}," textAlign",{"type":41,"tag":118,"props":7348,"children":7349},{"style":339},[7350],{"type":47,"value":666},{"type":41,"tag":118,"props":7352,"children":7353},{"style":339},[7354],{"type":47,"value":363},{"type":41,"tag":118,"props":7356,"children":7357},{"style":131},[7358],{"type":47,"value":7135},{"type":41,"tag":118,"props":7360,"children":7361},{"style":339},[7362],{"type":47,"value":372},{"type":41,"tag":118,"props":7364,"children":7365},{"style":339},[7366],{"type":47,"value":784},{"type":41,"tag":118,"props":7368,"children":7370},{"class":120,"line":7369},128,[7371,7376,7380,7384,7388,7392,7396,7400,7404,7408,7413],{"type":41,"tag":118,"props":7372,"children":7373},{"style":611},[7374],{"type":47,"value":7375},"  label",{"type":41,"tag":118,"props":7377,"children":7378},{"style":339},[7379],{"type":47,"value":666},{"type":41,"tag":118,"props":7381,"children":7382},{"style":339},[7383],{"type":47,"value":342},{"type":41,"tag":118,"props":7385,"children":7386},{"style":611},[7387],{"type":47,"value":7329},{"type":41,"tag":118,"props":7389,"children":7390},{"style":339},[7391],{"type":47,"value":666},{"type":41,"tag":118,"props":7393,"children":7394},{"style":5042},[7395],{"type":47,"value":7242},{"type":41,"tag":118,"props":7397,"children":7398},{"style":339},[7399],{"type":47,"value":515},{"type":41,"tag":118,"props":7401,"children":7402},{"style":611},[7403],{"type":47,"value":7269},{"type":41,"tag":118,"props":7405,"children":7406},{"style":339},[7407],{"type":47,"value":666},{"type":41,"tag":118,"props":7409,"children":7410},{"style":5042},[7411],{"type":47,"value":7412}," 4",{"type":41,"tag":118,"props":7414,"children":7415},{"style":339},[7416],{"type":47,"value":784},{"type":41,"tag":118,"props":7418,"children":7420},{"class":120,"line":7419},129,[7421,7425,7429],{"type":41,"tag":118,"props":7422,"children":7423},{"style":339},[7424],{"type":47,"value":1278},{"type":41,"tag":118,"props":7426,"children":7427},{"style":345},[7428],{"type":47,"value":633},{"type":41,"tag":118,"props":7430,"children":7431},{"style":339},[7432],{"type":47,"value":377},{"type":41,"tag":50,"props":7434,"children":7436},{"id":7435},"important-notes",[7437],{"type":47,"value":7438},"Important Notes",{"type":41,"tag":63,"props":7440,"children":7441},{},[7442,7467,7482,7510,7543,7566,7596,7612,7659],{"type":41,"tag":67,"props":7443,"children":7444},{},[7445,7450,7452,7457,7459,7465],{"type":41,"tag":209,"props":7446,"children":7447},{},[7448],{"type":47,"value":7449},"Import order is critical",{"type":47,"value":7451}," — ",{"type":41,"tag":114,"props":7453,"children":7455},{"className":7454},[],[7456],{"type":47,"value":189},{"type":47,"value":7458}," must be the very first import in the entry file, followed by ",{"type":41,"tag":114,"props":7460,"children":7462},{"className":7461},[],[7463],{"type":47,"value":7464},"polyfills.ts",{"type":47,"value":7466},", before any SDK or application code.",{"type":41,"tag":67,"props":7468,"children":7469},{},[7470,7480],{"type":41,"tag":209,"props":7471,"children":7472},{},[7473,7478],{"type":41,"tag":114,"props":7474,"children":7476},{"className":7475},[],[7477],{"type":47,"value":3226},{"type":47,"value":7479}," is required",{"type":47,"value":7481}," — without it, the SDK cannot open deeplinks to MetaMask Mobile and the connection flow will silently fail.",{"type":41,"tag":67,"props":7483,"children":7484},{},[7485,7501,7503,7508],{"type":41,"tag":209,"props":7486,"children":7487},{},[7488,7494,7496],{"type":41,"tag":114,"props":7489,"children":7491},{"className":7490},[],[7492],{"type":47,"value":7493},"ui.preferExtension",{"type":47,"value":7495}," should be ",{"type":41,"tag":114,"props":7497,"children":7499},{"className":7498},[],[7500],{"type":47,"value":3887},{"type":47,"value":7502}," — React Native has no browser extension. Setting this to ",{"type":41,"tag":114,"props":7504,"children":7506},{"className":7505},[],[7507],{"type":47,"value":3887},{"type":47,"value":7509}," (or omitting it) ensures the SDK uses the mobile deeplink\u002FQR flow.",{"type":41,"tag":67,"props":7511,"children":7512},{},[7513,7518,7520,7526,7528,7534,7535,7541],{"type":41,"tag":209,"props":7514,"children":7515},{},[7516],{"type":47,"value":7517},"Chain IDs are always hex strings",{"type":47,"value":7519}," — use ",{"type":41,"tag":114,"props":7521,"children":7523},{"className":7522},[],[7524],{"type":47,"value":7525},"'0x1'",{"type":47,"value":7527},", ",{"type":41,"tag":114,"props":7529,"children":7531},{"className":7530},[],[7532],{"type":47,"value":7533},"'0x89'",{"type":47,"value":7527},{"type":41,"tag":114,"props":7536,"children":7538},{"className":7537},[],[7539],{"type":47,"value":7540},"'0xaa36a7'",{"type":47,"value":7542},". Never decimal.",{"type":41,"tag":67,"props":7544,"children":7545},{},[7546,7556,7558,7564],{"type":41,"tag":209,"props":7547,"children":7548},{},[7549,7554],{"type":41,"tag":114,"props":7550,"children":7552},{"className":7551},[],[7553],{"type":47,"value":2693},{"type":47,"value":7555}," is auto-included",{"type":47,"value":7557}," in every ",{"type":41,"tag":114,"props":7559,"children":7561},{"className":7560},[],[7562],{"type":47,"value":7563},"connect()",{"type":47,"value":7565}," call.",{"type":41,"tag":67,"props":7567,"children":7568},{},[7569,7574,7575,7580,7582,7587,7589,7594],{"type":41,"tag":209,"props":7570,"children":7571},{},[7572],{"type":47,"value":7573},"The empty module stub",{"type":47,"value":557},{"type":41,"tag":114,"props":7576,"children":7578},{"className":7577},[],[7579],{"type":47,"value":1420},{"type":47,"value":7581},") is used for Node built-ins the SDK's transitive dependencies reference but never actually call at runtime in React Native. The ",{"type":41,"tag":114,"props":7583,"children":7585},{"className":7584},[],[7586],{"type":47,"value":229},{"type":47,"value":7588}," module is the exception — it needs a real shim (",{"type":41,"tag":114,"props":7590,"children":7592},{"className":7591},[],[7593],{"type":47,"value":221},{"type":47,"value":7595},").",{"type":41,"tag":67,"props":7597,"children":7598},{},[7599,7610],{"type":41,"tag":209,"props":7600,"children":7601},{},[7602,7608],{"type":41,"tag":114,"props":7603,"children":7605},{"className":7604},[],[7606],{"type":47,"value":7607},"createEVMClient",{"type":47,"value":7609}," is a singleton",{"type":47,"value":7611}," — do not call it on every render or in a component body. Initialize once and store the promise.",{"type":41,"tag":67,"props":7613,"children":7614},{},[7615,7620,7622,7627,7629,7634,7636,7641,7643,7649,7651,7657],{"type":41,"tag":209,"props":7616,"children":7617},{},[7618],{"type":47,"value":7619},"Session restoration",{"type":47,"value":7621}," — the EVM client syncs any persisted session before ",{"type":41,"tag":114,"props":7623,"children":7625},{"className":7624},[],[7626],{"type":47,"value":7607},{"type":47,"value":7628}," resolves; detect restores via the ",{"type":41,"tag":114,"props":7630,"children":7632},{"className":7631},[],[7633],{"type":47,"value":4840},{"type":47,"value":7635}," \u002F ",{"type":41,"tag":114,"props":7637,"children":7639},{"className":7638},[],[7640],{"type":47,"value":4160},{"type":47,"value":7642}," events (in ",{"type":41,"tag":114,"props":7644,"children":7646},{"className":7645},[],[7647],{"type":47,"value":7648},"eventHandlers",{"type":47,"value":7650}," or on the provider). There is no ",{"type":41,"tag":114,"props":7652,"children":7654},{"className":7653},[],[7655],{"type":47,"value":7656},"wallet_sessionChanged",{"type":47,"value":7658}," handler on the EVM client — that event belongs to the multichain client.",{"type":41,"tag":67,"props":7660,"children":7661},{},[7662,7675,7677,7683,7685,7690,7692,7698,7700,7706],{"type":41,"tag":209,"props":7663,"children":7664},{},[7665,7667,7673],{"type":47,"value":7666},"iOS requires ",{"type":41,"tag":114,"props":7668,"children":7670},{"className":7669},[],[7671],{"type":47,"value":7672},"Linking",{"type":47,"value":7674}," permissions",{"type":47,"value":7676}," — ensure your ",{"type":41,"tag":114,"props":7678,"children":7680},{"className":7679},[],[7681],{"type":47,"value":7682},"Info.plist",{"type":47,"value":7684}," includes the ",{"type":41,"tag":114,"props":7686,"children":7688},{"className":7687},[],[7689],{"type":47,"value":8},{"type":47,"value":7691}," URL scheme in ",{"type":41,"tag":114,"props":7693,"children":7695},{"className":7694},[],[7696],{"type":47,"value":7697},"LSApplicationQueriesSchemes",{"type":47,"value":7699}," so ",{"type":41,"tag":114,"props":7701,"children":7703},{"className":7702},[],[7704],{"type":47,"value":7705},"Linking.openURL",{"type":47,"value":7707}," can open the MetaMask app.",{"type":41,"tag":7709,"props":7710,"children":7711},"style",{},[7712],{"type":47,"value":7713},"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":7715,"total":1003},[7716,7735,7749,7761,7770,7780,7796,7812,7827,7838,7848,7858],{"slug":7717,"name":7717,"fn":7718,"description":7719,"org":7720,"tags":7721,"stars":4934,"repoUrl":7733,"updatedAt":7734},"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},[7722,7725,7728,7729,7732],{"name":7723,"slug":7724,"type":15},"API Development","api-development",{"name":7726,"slug":7727,"type":15},"Auth","auth",{"name":23,"slug":24,"type":15},{"name":7730,"slug":7731,"type":15},"Permissions","permissions",{"name":20,"slug":21,"type":15},"https:\u002F\u002Fgithub.com\u002FMetaMask\u002Fsmart-accounts-kit","2026-07-13T06:11:32.8327",{"slug":7736,"name":7736,"fn":7737,"description":7738,"org":7739,"tags":7740,"stars":4934,"repoUrl":7733,"updatedAt":7748},"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},[7741,7742,7745,7746],{"name":7723,"slug":7724,"type":15},{"name":7743,"slug":7744,"type":15},"Payments","payments",{"name":20,"slug":21,"type":15},{"name":7747,"slug":7747,"type":15},"x402","2026-07-13T06:11:30.877136",{"slug":7750,"name":7750,"fn":7751,"description":7752,"org":7753,"tags":7754,"stars":406,"repoUrl":7759,"updatedAt":7760},"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},[7755,7756],{"name":7723,"slug":7724,"type":15},{"name":7757,"slug":7758,"type":15},"Search","search","https:\u002F\u002Fgithub.com\u002FMetaMask\u002Focap-kernel","2026-07-13T06:12:37.024095",{"slug":8,"name":8,"fn":7762,"description":7763,"org":7764,"tags":7765,"stars":406,"repoUrl":7759,"updatedAt":7769},"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},[7766,7767,7768],{"name":7723,"slug":7724,"type":15},{"name":23,"slug":24,"type":15},{"name":20,"slug":21,"type":15},"2026-07-13T06:12:33.955806",{"slug":7771,"name":7771,"fn":7772,"description":7773,"org":7774,"tags":7775,"stars":406,"repoUrl":7759,"updatedAt":7779},"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},[7776,7777,7778],{"name":23,"slug":24,"type":15},{"name":7743,"slug":7744,"type":15},{"name":20,"slug":21,"type":15},"2026-07-13T06:12:35.380244",{"slug":7781,"name":7781,"fn":7782,"description":7783,"org":7784,"tags":7785,"stars":388,"repoUrl":7794,"updatedAt":7795},"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},[7786,7787,7788,7791,7793],{"name":7723,"slug":7724,"type":15},{"name":23,"slug":24,"type":15},{"name":7789,"slug":7790,"type":15},"Solana","solana",{"name":7792,"slug":7792,"type":15},"wagmi",{"name":20,"slug":21,"type":15},"https:\u002F\u002Fgithub.com\u002FMetaMask\u002Fconnect-monorepo","2026-07-13T06:11:34.445665",{"slug":7797,"name":7797,"fn":7798,"description":7799,"org":7800,"tags":7801,"stars":329,"repoUrl":7810,"updatedAt":7811},"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},[7802,7805,7808,7809],{"name":7803,"slug":7804,"type":15},"Blockchain","blockchain",{"name":7806,"slug":7807,"type":15},"DeFi","defi",{"name":23,"slug":24,"type":15},{"name":20,"slug":21,"type":15},"https:\u002F\u002Fgithub.com\u002FMetaMask\u002Fagent-skills","2026-08-01T05:45:07.976522",{"slug":7813,"name":7813,"fn":7814,"description":7815,"org":7816,"tags":7817,"stars":25,"repoUrl":26,"updatedAt":7826},"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},[7818,7819,7822,7825],{"name":23,"slug":24,"type":15},{"name":7820,"slug":7821,"type":15},"Migration","migration",{"name":7823,"slug":7824,"type":15},"SDK","sdk",{"name":20,"slug":21,"type":15},"2026-07-13T06:11:46.427441",{"slug":7828,"name":7828,"fn":7829,"description":7830,"org":7831,"tags":7832,"stars":25,"repoUrl":26,"updatedAt":7837},"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},[7833,7834,7835,7836],{"name":23,"slug":24,"type":15},{"name":7820,"slug":7821,"type":15},{"name":7792,"slug":7792,"type":15},{"name":20,"slug":21,"type":15},"2026-07-13T06:12:23.110706",{"slug":7839,"name":7839,"fn":7840,"description":7841,"org":7842,"tags":7843,"stars":25,"repoUrl":26,"updatedAt":7847},"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},[7844,7845,7846],{"name":7723,"slug":7724,"type":15},{"name":23,"slug":24,"type":15},{"name":20,"slug":21,"type":15},"2026-07-13T06:11:56.866623",{"slug":7849,"name":7849,"fn":7850,"description":7851,"org":7852,"tags":7853,"stars":25,"repoUrl":26,"updatedAt":7857},"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},[7854,7855,7856],{"name":7743,"slug":7744,"type":15},{"name":7789,"slug":7790,"type":15},{"name":20,"slug":21,"type":15},"2026-07-13T06:12:03.942378",{"slug":7859,"name":7859,"fn":7860,"description":7861,"org":7862,"tags":7863,"stars":25,"repoUrl":26,"updatedAt":7873},"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},[7864,7865,7868,7870,7872],{"name":23,"slug":24,"type":15},{"name":7866,"slug":7867,"type":15},"Frontend","frontend",{"name":7869,"slug":1236,"type":15},"JavaScript",{"name":7871,"slug":286,"type":15},"TypeScript",{"name":20,"slug":21,"type":15},"2026-07-13T06:12:01.334051",{"items":7875,"total":673},[7876,7883,7890,7896,7902,7910,7923],{"slug":7813,"name":7813,"fn":7814,"description":7815,"org":7877,"tags":7878,"stars":25,"repoUrl":26,"updatedAt":7826},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[7879,7880,7881,7882],{"name":23,"slug":24,"type":15},{"name":7820,"slug":7821,"type":15},{"name":7823,"slug":7824,"type":15},{"name":20,"slug":21,"type":15},{"slug":7828,"name":7828,"fn":7829,"description":7830,"org":7884,"tags":7885,"stars":25,"repoUrl":26,"updatedAt":7837},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[7886,7887,7888,7889],{"name":23,"slug":24,"type":15},{"name":7820,"slug":7821,"type":15},{"name":7792,"slug":7792,"type":15},{"name":20,"slug":21,"type":15},{"slug":7839,"name":7839,"fn":7840,"description":7841,"org":7891,"tags":7892,"stars":25,"repoUrl":26,"updatedAt":7847},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[7893,7894,7895],{"name":7723,"slug":7724,"type":15},{"name":23,"slug":24,"type":15},{"name":20,"slug":21,"type":15},{"slug":7849,"name":7849,"fn":7850,"description":7851,"org":7897,"tags":7898,"stars":25,"repoUrl":26,"updatedAt":7857},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[7899,7900,7901],{"name":7743,"slug":7744,"type":15},{"name":7789,"slug":7790,"type":15},{"name":20,"slug":21,"type":15},{"slug":7859,"name":7859,"fn":7860,"description":7861,"org":7903,"tags":7904,"stars":25,"repoUrl":26,"updatedAt":7873},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[7905,7906,7907,7908,7909],{"name":23,"slug":24,"type":15},{"name":7866,"slug":7867,"type":15},{"name":7869,"slug":1236,"type":15},{"name":7871,"slug":286,"type":15},{"name":20,"slug":21,"type":15},{"slug":7911,"name":7911,"fn":7912,"description":7913,"org":7914,"tags":7915,"stars":25,"repoUrl":26,"updatedAt":7922},"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},[7916,7917,7918,7919,7921],{"name":7723,"slug":7724,"type":15},{"name":23,"slug":24,"type":15},{"name":7866,"slug":7867,"type":15},{"name":7920,"slug":3327,"type":15},"React",{"name":20,"slug":21,"type":15},"2026-07-13T06:11:52.764143",{"slug":4,"name":4,"fn":5,"description":6,"org":7924,"tags":7925,"stars":25,"repoUrl":26,"updatedAt":27},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[7926,7927,7928,7929],{"name":23,"slug":24,"type":15},{"name":17,"slug":18,"type":15},{"name":13,"slug":14,"type":15},{"name":20,"slug":21,"type":15}]