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