[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-aptos-ts-sdk-wallet-adapter":3,"mdc--3r3ms-key":39,"related-org-aptos-ts-sdk-wallet-adapter":2774,"related-repo-aptos-ts-sdk-wallet-adapter":2933},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":12,"stars":26,"repoUrl":27,"updatedAt":28,"license":29,"forks":30,"topics":31,"repo":34,"sourceUrl":37,"mdContent":38},"ts-sdk-wallet-adapter","integrate Aptos wallets in React apps","How to integrate wallet connection in React frontends using @aptos-labs\u002Fwallet-adapter-react. Covers AptosWalletAdapterProvider setup, useWallet() hook, frontend transaction submission, and wallet connection UI. Triggers on: 'wallet adapter', 'connect wallet', 'useWallet', 'AptosWalletAdapterProvider', 'wallet-adapter-react', 'wallet connection'.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},"aptos","Aptos Labs","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Faptos.png","aptos-labs",[13,17,20,23],{"name":14,"slug":15,"type":16},"React","react","tag",{"name":18,"slug":19,"type":16},"TypeScript","typescript",{"name":21,"slug":22,"type":16},"Web3","web3",{"name":24,"slug":25,"type":16},"Frontend","frontend",18,"https:\u002F\u002Fgithub.com\u002Faptos-labs\u002Faptos-agent-skills","2026-07-12T08:07:25.033388","MIT",8,[32,33],"agent-skills","blockchain",{"repoUrl":27,"stars":26,"forks":30,"topics":35,"description":36},[32,33],"AI skills for building secure, modern Aptos dApps — Move contracts, TypeScript SDK, and frontend integration for Claude Code, Cursor, and Copilot.","https:\u002F\u002Fgithub.com\u002Faptos-labs\u002Faptos-agent-skills\u002Ftree\u002FHEAD\u002Fskills\u002Fsdk\u002Ftypescript\u002Fts-sdk-wallet-adapter","---\nname: ts-sdk-wallet-adapter\ndescription:\n  \"How to integrate wallet connection in React frontends using @aptos-labs\u002Fwallet-adapter-react. Covers\n  AptosWalletAdapterProvider setup, useWallet() hook, frontend transaction submission, and wallet connection UI.\n  Triggers on: 'wallet adapter', 'connect wallet', 'useWallet', 'AptosWalletAdapterProvider', 'wallet-adapter-react',\n  'wallet connection'.\"\nlicense: MIT\nmetadata:\n  author: aptos-labs\n  version: \"1.0\"\n  category: sdk\n  tags: [\"typescript\", \"sdk\", \"wallet\", \"react\", \"frontend\", \"adapter\"]\n  priority: high\n---\n\n# TypeScript SDK: Wallet Adapter (React)\n\n## Purpose\n\nGuide **wallet connection and frontend transaction submission** in React using `@aptos-labs\u002Fwallet-adapter-react`. End\nusers sign transactions via their browser wallet (Petra, Nightly, etc.) — never via raw private keys.\n\n## ALWAYS\n\n1. **Use `@aptos-labs\u002Fwallet-adapter-react` for frontend wallet integration** — this is the standard React adapter.\n2. **Wrap your app root with `AptosWalletAdapterProvider`** — all `useWallet()` calls require this context.\n3. **Use `useWallet()` hook** to access wallet functions in React components.\n4. **Use the wallet adapter's `signAndSubmitTransaction`** (from `useWallet()`) in frontend — NOT the SDK's direct\n   `aptos.signAndSubmitTransaction`.\n5. **Always call `aptos.waitForTransaction({ transactionHash })` after submit** — the wallet returns when the tx is\n   accepted, not committed.\n\n## NEVER\n\n1. **Do not use `Account.generate()` or raw private keys in browser\u002Ffrontend** — use wallet adapter for end users.\n2. **Do not use the SDK's `aptos.signAndSubmitTransaction` in React components** — use the wallet adapter's version from\n   `useWallet()`.\n3. **Do not hardcode wallet names** — use the `wallets` array from `useWallet()` for a dynamic list.\n\n---\n\n## Installation\n\n```bash\nnpm install @aptos-labs\u002Fwallet-adapter-react\n```\n\nModern AIP-62 standard wallets (Petra, Nightly, etc.) are autodetected and do NOT require additional packages. Legacy\nwallets need their plugin package installed separately.\n\n---\n\n## Provider setup\n\nWrap your app root with `AptosWalletAdapterProvider`:\n\n```tsx\n\u002F\u002F main.tsx or App.tsx\nimport { AptosWalletAdapterProvider } from \"@aptos-labs\u002Fwallet-adapter-react\";\nimport { Network } from \"@aptos-labs\u002Fts-sdk\";\n\nfunction App() {\n  return (\n    \u003CAptosWalletAdapterProvider\n      autoConnect={true}\n      dappConfig={{\n        network: Network.TESTNET\n      }}\n      onError={(error) => console.error(\"Wallet error:\", error)}\n    >\n      \u003CYourApp \u002F>\n    \u003C\u002FAptosWalletAdapterProvider>\n  );\n}\n```\n\n---\n\n## useWallet() hook\n\n```tsx\nimport { useWallet } from \"@aptos-labs\u002Fwallet-adapter-react\";\n\nfunction MyComponent() {\n  const {\n    account, \u002F\u002F Current connected account { address, publicKey }\n    connected, \u002F\u002F Boolean: is wallet connected?\n    wallet, \u002F\u002F Current wallet info { name, icon, url }\n    wallets, \u002F\u002F Array of available wallets\n    connect, \u002F\u002F (walletName) => Promise\u003Cvoid>\n    disconnect, \u002F\u002F () => Promise\u003Cvoid>\n    signAndSubmitTransaction, \u002F\u002F Submit entry function calls (use THIS in frontend)\n    signTransaction, \u002F\u002F Sign without submitting\n    submitTransaction, \u002F\u002F Submit a signed transaction\n    signMessage, \u002F\u002F Sign an arbitrary message\n    signMessageAndVerify, \u002F\u002F Sign and verify a message\n    changeNetwork, \u002F\u002F Switch networks (not all wallets support this)\n    network \u002F\u002F Current network info\n  } = useWallet();\n}\n```\n\n---\n\n## Frontend transaction pattern\n\nUse typed payloads with `InputTransactionData`:\n\n```tsx\n\u002F\u002F entry-functions\u002Fincrement.ts\nimport { InputTransactionData } from \"@aptos-labs\u002Fwallet-adapter-react\";\nimport { MODULE_ADDRESS } from \"..\u002Flib\u002Faptos\";\n\nexport function buildIncrementPayload(): InputTransactionData {\n  return {\n    data: {\n      function: `${MODULE_ADDRESS}::counter::increment`,\n      functionArguments: []\n    }\n  };\n}\n```\n\n```tsx\n\u002F\u002F components\u002FIncrementButton.tsx\nimport { useWallet } from \"@aptos-labs\u002Fwallet-adapter-react\";\nimport { aptos } from \"..\u002Flib\u002Faptos\";\nimport { buildIncrementPayload } from \"..\u002Fentry-functions\u002Fincrement\";\n\nfunction IncrementButton() {\n  const { signAndSubmitTransaction } = useWallet();\n\n  const handleClick = async () => {\n    try {\n      const response = await signAndSubmitTransaction(buildIncrementPayload());\n      await aptos.waitForTransaction({\n        transactionHash: response.hash\n      });\n    } catch (error) {\n      console.error(\"Transaction failed:\", error);\n    }\n  };\n\n  return \u003Cbutton onClick={handleClick}>Increment\u003C\u002Fbutton>;\n}\n```\n\n---\n\n## Wallet connection UI\n\n```tsx\nimport { useWallet } from \"@aptos-labs\u002Fwallet-adapter-react\";\n\nfunction WalletInfo() {\n  const { account, connected, connect, disconnect, wallet, wallets } = useWallet();\n\n  if (!connected) {\n    return (\n      \u003Cdiv>\n        {wallets.map((w) => (\n          \u003Cbutton key={w.name} onClick={() => connect(w.name)}>\n            Connect {w.name}\n          \u003C\u002Fbutton>\n        ))}\n      \u003C\u002Fdiv>\n    );\n  }\n\n  return (\n    \u003Cdiv>\n      \u003Cp>Connected: {account?.address}\u003C\u002Fp>\n      \u003Cp>Wallet: {wallet?.name}\u003C\u002Fp>\n      \u003Cbutton onClick={disconnect}>Disconnect\u003C\u002Fbutton>\n    \u003C\u002Fdiv>\n  );\n}\n```\n\n---\n\n## Common mistakes\n\n| Mistake                                             | Correct approach                                                       |\n| --------------------------------------------------- | ---------------------------------------------------------------------- |\n| Missing `AptosWalletAdapterProvider` wrapper        | Wrap app root with the provider                                        |\n| Not waiting for transaction after submit            | Always call `aptos.waitForTransaction()`                               |\n| Using SDK `aptos.signAndSubmitTransaction` in React | Use the wallet adapter's `signAndSubmitTransaction` from `useWallet()` |\n| Using `Account.generate()` in frontend              | Use wallet adapter; generate only in server\u002Fscripts                    |\n| Not handling user rejection                         | Catch and check for rejection-related error messages                   |\n| Hardcoding wallet names                             | Use `wallets` array from `useWallet()` for dynamic list                |\n\n---\n\n## References\n\n- Wallet Adapter: https:\u002F\u002Faptos.dev\u002Fbuild\u002Fsdks\u002Fwallet-adapter\u002Fdapp\n- Pattern: [TYPESCRIPT_SDK.md](..\u002F..\u002F..\u002F..\u002Fpatterns\u002Ffullstack\u002FTYPESCRIPT_SDK.md)\n- Related: [ts-sdk-transactions](..\u002Fts-sdk-transactions\u002FSKILL.md), [ts-sdk-client](..\u002Fts-sdk-client\u002FSKILL.md),\n  [use-ts-sdk](..\u002Fuse-ts-sdk\u002FSKILL.md)\n",{"data":40,"body":48},{"name":4,"description":6,"license":29,"metadata":41},{"author":11,"version":42,"category":43,"tags":44,"priority":47},"1.0","sdk",[19,43,45,15,25,46],"wallet","adapter","high",{"type":49,"children":50},"root",[51,60,67,90,96,207,213,282,286,292,326,331,334,340,351,742,745,751,1087,1090,1096,1108,1351,1882,1885,1891,2541,2544,2550,2705,2708,2714,2768],{"type":52,"tag":53,"props":54,"children":56},"element","h1",{"id":55},"typescript-sdk-wallet-adapter-react",[57],{"type":58,"value":59},"text","TypeScript SDK: Wallet Adapter (React)",{"type":52,"tag":61,"props":62,"children":64},"h2",{"id":63},"purpose",[65],{"type":58,"value":66},"Purpose",{"type":52,"tag":68,"props":69,"children":70},"p",{},[71,73,79,81,88],{"type":58,"value":72},"Guide ",{"type":52,"tag":74,"props":75,"children":76},"strong",{},[77],{"type":58,"value":78},"wallet connection and frontend transaction submission",{"type":58,"value":80}," in React using ",{"type":52,"tag":82,"props":83,"children":85},"code",{"className":84},[],[86],{"type":58,"value":87},"@aptos-labs\u002Fwallet-adapter-react",{"type":58,"value":89},". End\nusers sign transactions via their browser wallet (Petra, Nightly, etc.) — never via raw private keys.",{"type":52,"tag":61,"props":91,"children":93},{"id":92},"always",[94],{"type":58,"value":95},"ALWAYS",{"type":52,"tag":97,"props":98,"children":99},"ol",{},[100,118,142,158,189],{"type":52,"tag":101,"props":102,"children":103},"li",{},[104,116],{"type":52,"tag":74,"props":105,"children":106},{},[107,109,114],{"type":58,"value":108},"Use ",{"type":52,"tag":82,"props":110,"children":112},{"className":111},[],[113],{"type":58,"value":87},{"type":58,"value":115}," for frontend wallet integration",{"type":58,"value":117}," — this is the standard React adapter.",{"type":52,"tag":101,"props":119,"children":120},{},[121,132,134,140],{"type":52,"tag":74,"props":122,"children":123},{},[124,126],{"type":58,"value":125},"Wrap your app root with ",{"type":52,"tag":82,"props":127,"children":129},{"className":128},[],[130],{"type":58,"value":131},"AptosWalletAdapterProvider",{"type":58,"value":133}," — all ",{"type":52,"tag":82,"props":135,"children":137},{"className":136},[],[138],{"type":58,"value":139},"useWallet()",{"type":58,"value":141}," calls require this context.",{"type":52,"tag":101,"props":143,"children":144},{},[145,156],{"type":52,"tag":74,"props":146,"children":147},{},[148,149,154],{"type":58,"value":108},{"type":52,"tag":82,"props":150,"children":152},{"className":151},[],[153],{"type":58,"value":139},{"type":58,"value":155}," hook",{"type":58,"value":157}," to access wallet functions in React components.",{"type":52,"tag":101,"props":159,"children":160},{},[161,172,174,179,181,187],{"type":52,"tag":74,"props":162,"children":163},{},[164,166],{"type":58,"value":165},"Use the wallet adapter's ",{"type":52,"tag":82,"props":167,"children":169},{"className":168},[],[170],{"type":58,"value":171},"signAndSubmitTransaction",{"type":58,"value":173}," (from ",{"type":52,"tag":82,"props":175,"children":177},{"className":176},[],[178],{"type":58,"value":139},{"type":58,"value":180},") in frontend — NOT the SDK's direct\n",{"type":52,"tag":82,"props":182,"children":184},{"className":183},[],[185],{"type":58,"value":186},"aptos.signAndSubmitTransaction",{"type":58,"value":188},".",{"type":52,"tag":101,"props":190,"children":191},{},[192,205],{"type":52,"tag":74,"props":193,"children":194},{},[195,197,203],{"type":58,"value":196},"Always call ",{"type":52,"tag":82,"props":198,"children":200},{"className":199},[],[201],{"type":58,"value":202},"aptos.waitForTransaction({ transactionHash })",{"type":58,"value":204}," after submit",{"type":58,"value":206}," — the wallet returns when the tx is\naccepted, not committed.",{"type":52,"tag":61,"props":208,"children":210},{"id":209},"never",[211],{"type":58,"value":212},"NEVER",{"type":52,"tag":97,"props":214,"children":215},{},[216,234,257],{"type":52,"tag":101,"props":217,"children":218},{},[219,232],{"type":52,"tag":74,"props":220,"children":221},{},[222,224,230],{"type":58,"value":223},"Do not use ",{"type":52,"tag":82,"props":225,"children":227},{"className":226},[],[228],{"type":58,"value":229},"Account.generate()",{"type":58,"value":231}," or raw private keys in browser\u002Ffrontend",{"type":58,"value":233}," — use wallet adapter for end users.",{"type":52,"tag":101,"props":235,"children":236},{},[237,249,251,256],{"type":52,"tag":74,"props":238,"children":239},{},[240,242,247],{"type":58,"value":241},"Do not use the SDK's ",{"type":52,"tag":82,"props":243,"children":245},{"className":244},[],[246],{"type":58,"value":186},{"type":58,"value":248}," in React components",{"type":58,"value":250}," — use the wallet adapter's version from\n",{"type":52,"tag":82,"props":252,"children":254},{"className":253},[],[255],{"type":58,"value":139},{"type":58,"value":188},{"type":52,"tag":101,"props":258,"children":259},{},[260,265,267,273,275,280],{"type":52,"tag":74,"props":261,"children":262},{},[263],{"type":58,"value":264},"Do not hardcode wallet names",{"type":58,"value":266}," — use the ",{"type":52,"tag":82,"props":268,"children":270},{"className":269},[],[271],{"type":58,"value":272},"wallets",{"type":58,"value":274}," array from ",{"type":52,"tag":82,"props":276,"children":278},{"className":277},[],[279],{"type":58,"value":139},{"type":58,"value":281}," for a dynamic list.",{"type":52,"tag":283,"props":284,"children":285},"hr",{},[],{"type":52,"tag":61,"props":287,"children":289},{"id":288},"installation",[290],{"type":58,"value":291},"Installation",{"type":52,"tag":293,"props":294,"children":299},"pre",{"className":295,"code":296,"language":297,"meta":298,"style":298},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","npm install @aptos-labs\u002Fwallet-adapter-react\n","bash","",[300],{"type":52,"tag":82,"props":301,"children":302},{"__ignoreMap":298},[303],{"type":52,"tag":304,"props":305,"children":308},"span",{"class":306,"line":307},"line",1,[309,315,321],{"type":52,"tag":304,"props":310,"children":312},{"style":311},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[313],{"type":58,"value":314},"npm",{"type":52,"tag":304,"props":316,"children":318},{"style":317},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[319],{"type":58,"value":320}," install",{"type":52,"tag":304,"props":322,"children":323},{"style":317},[324],{"type":58,"value":325}," @aptos-labs\u002Fwallet-adapter-react\n",{"type":52,"tag":68,"props":327,"children":328},{},[329],{"type":58,"value":330},"Modern AIP-62 standard wallets (Petra, Nightly, etc.) are autodetected and do NOT require additional packages. Legacy\nwallets need their plugin package installed separately.",{"type":52,"tag":283,"props":332,"children":333},{},[],{"type":52,"tag":61,"props":335,"children":337},{"id":336},"provider-setup",[338],{"type":58,"value":339},"Provider setup",{"type":52,"tag":68,"props":341,"children":342},{},[343,344,349],{"type":58,"value":125},{"type":52,"tag":82,"props":345,"children":347},{"className":346},[],[348],{"type":58,"value":131},{"type":58,"value":350},":",{"type":52,"tag":293,"props":352,"children":356},{"className":353,"code":354,"language":355,"meta":298,"style":298},"language-tsx shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u002F\u002F main.tsx or App.tsx\nimport { AptosWalletAdapterProvider } from \"@aptos-labs\u002Fwallet-adapter-react\";\nimport { Network } from \"@aptos-labs\u002Fts-sdk\";\n\nfunction App() {\n  return (\n    \u003CAptosWalletAdapterProvider\n      autoConnect={true}\n      dappConfig={{\n        network: Network.TESTNET\n      }}\n      onError={(error) => console.error(\"Wallet error:\", error)}\n    >\n      \u003CYourApp \u002F>\n    \u003C\u002FAptosWalletAdapterProvider>\n  );\n}\n","tsx",[357],{"type":52,"tag":82,"props":358,"children":359},{"__ignoreMap":298},[360,369,420,462,472,498,513,527,551,565,591,600,675,684,703,721,734],{"type":52,"tag":304,"props":361,"children":362},{"class":306,"line":307},[363],{"type":52,"tag":304,"props":364,"children":366},{"style":365},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[367],{"type":58,"value":368},"\u002F\u002F main.tsx or App.tsx\n",{"type":52,"tag":304,"props":370,"children":372},{"class":306,"line":371},2,[373,379,385,391,396,401,406,410,415],{"type":52,"tag":304,"props":374,"children":376},{"style":375},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[377],{"type":58,"value":378},"import",{"type":52,"tag":304,"props":380,"children":382},{"style":381},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[383],{"type":58,"value":384}," {",{"type":52,"tag":304,"props":386,"children":388},{"style":387},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[389],{"type":58,"value":390}," AptosWalletAdapterProvider",{"type":52,"tag":304,"props":392,"children":393},{"style":381},[394],{"type":58,"value":395}," }",{"type":52,"tag":304,"props":397,"children":398},{"style":375},[399],{"type":58,"value":400}," from",{"type":52,"tag":304,"props":402,"children":403},{"style":381},[404],{"type":58,"value":405}," \"",{"type":52,"tag":304,"props":407,"children":408},{"style":317},[409],{"type":58,"value":87},{"type":52,"tag":304,"props":411,"children":412},{"style":381},[413],{"type":58,"value":414},"\"",{"type":52,"tag":304,"props":416,"children":417},{"style":381},[418],{"type":58,"value":419},";\n",{"type":52,"tag":304,"props":421,"children":423},{"class":306,"line":422},3,[424,428,432,437,441,445,449,454,458],{"type":52,"tag":304,"props":425,"children":426},{"style":375},[427],{"type":58,"value":378},{"type":52,"tag":304,"props":429,"children":430},{"style":381},[431],{"type":58,"value":384},{"type":52,"tag":304,"props":433,"children":434},{"style":387},[435],{"type":58,"value":436}," Network",{"type":52,"tag":304,"props":438,"children":439},{"style":381},[440],{"type":58,"value":395},{"type":52,"tag":304,"props":442,"children":443},{"style":375},[444],{"type":58,"value":400},{"type":52,"tag":304,"props":446,"children":447},{"style":381},[448],{"type":58,"value":405},{"type":52,"tag":304,"props":450,"children":451},{"style":317},[452],{"type":58,"value":453},"@aptos-labs\u002Fts-sdk",{"type":52,"tag":304,"props":455,"children":456},{"style":381},[457],{"type":58,"value":414},{"type":52,"tag":304,"props":459,"children":460},{"style":381},[461],{"type":58,"value":419},{"type":52,"tag":304,"props":463,"children":465},{"class":306,"line":464},4,[466],{"type":52,"tag":304,"props":467,"children":469},{"emptyLinePlaceholder":468},true,[470],{"type":58,"value":471},"\n",{"type":52,"tag":304,"props":473,"children":475},{"class":306,"line":474},5,[476,482,488,493],{"type":52,"tag":304,"props":477,"children":479},{"style":478},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[480],{"type":58,"value":481},"function",{"type":52,"tag":304,"props":483,"children":485},{"style":484},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[486],{"type":58,"value":487}," App",{"type":52,"tag":304,"props":489,"children":490},{"style":381},[491],{"type":58,"value":492},"()",{"type":52,"tag":304,"props":494,"children":495},{"style":381},[496],{"type":58,"value":497}," {\n",{"type":52,"tag":304,"props":499,"children":501},{"class":306,"line":500},6,[502,507],{"type":52,"tag":304,"props":503,"children":504},{"style":375},[505],{"type":58,"value":506},"  return",{"type":52,"tag":304,"props":508,"children":510},{"style":509},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[511],{"type":58,"value":512}," (\n",{"type":52,"tag":304,"props":514,"children":516},{"class":306,"line":515},7,[517,522],{"type":52,"tag":304,"props":518,"children":519},{"style":381},[520],{"type":58,"value":521},"    \u003C",{"type":52,"tag":304,"props":523,"children":524},{"style":311},[525],{"type":58,"value":526},"AptosWalletAdapterProvider\n",{"type":52,"tag":304,"props":528,"children":529},{"class":306,"line":30},[530,535,540,546],{"type":52,"tag":304,"props":531,"children":532},{"style":478},[533],{"type":58,"value":534},"      autoConnect",{"type":52,"tag":304,"props":536,"children":537},{"style":381},[538],{"type":58,"value":539},"={",{"type":52,"tag":304,"props":541,"children":543},{"style":542},"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC",[544],{"type":58,"value":545},"true",{"type":52,"tag":304,"props":547,"children":548},{"style":381},[549],{"type":58,"value":550},"}\n",{"type":52,"tag":304,"props":552,"children":554},{"class":306,"line":553},9,[555,560],{"type":52,"tag":304,"props":556,"children":557},{"style":478},[558],{"type":58,"value":559},"      dappConfig",{"type":52,"tag":304,"props":561,"children":562},{"style":381},[563],{"type":58,"value":564},"={{\n",{"type":52,"tag":304,"props":566,"children":568},{"class":306,"line":567},10,[569,574,578,582,586],{"type":52,"tag":304,"props":570,"children":571},{"style":509},[572],{"type":58,"value":573},"        network",{"type":52,"tag":304,"props":575,"children":576},{"style":381},[577],{"type":58,"value":350},{"type":52,"tag":304,"props":579,"children":580},{"style":387},[581],{"type":58,"value":436},{"type":52,"tag":304,"props":583,"children":584},{"style":381},[585],{"type":58,"value":188},{"type":52,"tag":304,"props":587,"children":588},{"style":387},[589],{"type":58,"value":590},"TESTNET\n",{"type":52,"tag":304,"props":592,"children":594},{"class":306,"line":593},11,[595],{"type":52,"tag":304,"props":596,"children":597},{"style":381},[598],{"type":58,"value":599},"      }}\n",{"type":52,"tag":304,"props":601,"children":603},{"class":306,"line":602},12,[604,609,614,620,625,630,635,639,643,648,652,657,661,666,671],{"type":52,"tag":304,"props":605,"children":606},{"style":478},[607],{"type":58,"value":608},"      onError",{"type":52,"tag":304,"props":610,"children":611},{"style":381},[612],{"type":58,"value":613},"={(",{"type":52,"tag":304,"props":615,"children":617},{"style":616},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic",[618],{"type":58,"value":619},"error",{"type":52,"tag":304,"props":621,"children":622},{"style":381},[623],{"type":58,"value":624},")",{"type":52,"tag":304,"props":626,"children":627},{"style":478},[628],{"type":58,"value":629}," =>",{"type":52,"tag":304,"props":631,"children":632},{"style":387},[633],{"type":58,"value":634}," console",{"type":52,"tag":304,"props":636,"children":637},{"style":381},[638],{"type":58,"value":188},{"type":52,"tag":304,"props":640,"children":641},{"style":484},[642],{"type":58,"value":619},{"type":52,"tag":304,"props":644,"children":645},{"style":387},[646],{"type":58,"value":647},"(",{"type":52,"tag":304,"props":649,"children":650},{"style":381},[651],{"type":58,"value":414},{"type":52,"tag":304,"props":653,"children":654},{"style":317},[655],{"type":58,"value":656},"Wallet error:",{"type":52,"tag":304,"props":658,"children":659},{"style":381},[660],{"type":58,"value":414},{"type":52,"tag":304,"props":662,"children":663},{"style":381},[664],{"type":58,"value":665},",",{"type":52,"tag":304,"props":667,"children":668},{"style":387},[669],{"type":58,"value":670}," error)",{"type":52,"tag":304,"props":672,"children":673},{"style":381},[674],{"type":58,"value":550},{"type":52,"tag":304,"props":676,"children":678},{"class":306,"line":677},13,[679],{"type":52,"tag":304,"props":680,"children":681},{"style":381},[682],{"type":58,"value":683},"    >\n",{"type":52,"tag":304,"props":685,"children":687},{"class":306,"line":686},14,[688,693,698],{"type":52,"tag":304,"props":689,"children":690},{"style":381},[691],{"type":58,"value":692},"      \u003C",{"type":52,"tag":304,"props":694,"children":695},{"style":311},[696],{"type":58,"value":697},"YourApp",{"type":52,"tag":304,"props":699,"children":700},{"style":381},[701],{"type":58,"value":702}," \u002F>\n",{"type":52,"tag":304,"props":704,"children":706},{"class":306,"line":705},15,[707,712,716],{"type":52,"tag":304,"props":708,"children":709},{"style":381},[710],{"type":58,"value":711},"    \u003C\u002F",{"type":52,"tag":304,"props":713,"children":714},{"style":311},[715],{"type":58,"value":131},{"type":52,"tag":304,"props":717,"children":718},{"style":381},[719],{"type":58,"value":720},">\n",{"type":52,"tag":304,"props":722,"children":724},{"class":306,"line":723},16,[725,730],{"type":52,"tag":304,"props":726,"children":727},{"style":509},[728],{"type":58,"value":729},"  )",{"type":52,"tag":304,"props":731,"children":732},{"style":381},[733],{"type":58,"value":419},{"type":52,"tag":304,"props":735,"children":737},{"class":306,"line":736},17,[738],{"type":52,"tag":304,"props":739,"children":740},{"style":381},[741],{"type":58,"value":550},{"type":52,"tag":283,"props":743,"children":744},{},[],{"type":52,"tag":61,"props":746,"children":748},{"id":747},"usewallet-hook",[749],{"type":58,"value":750},"useWallet() hook",{"type":52,"tag":293,"props":752,"children":754},{"className":353,"code":753,"language":355,"meta":298,"style":298},"import { useWallet } from \"@aptos-labs\u002Fwallet-adapter-react\";\n\nfunction MyComponent() {\n  const {\n    account, \u002F\u002F Current connected account { address, publicKey }\n    connected, \u002F\u002F Boolean: is wallet connected?\n    wallet, \u002F\u002F Current wallet info { name, icon, url }\n    wallets, \u002F\u002F Array of available wallets\n    connect, \u002F\u002F (walletName) => Promise\u003Cvoid>\n    disconnect, \u002F\u002F () => Promise\u003Cvoid>\n    signAndSubmitTransaction, \u002F\u002F Submit entry function calls (use THIS in frontend)\n    signTransaction, \u002F\u002F Sign without submitting\n    submitTransaction, \u002F\u002F Submit a signed transaction\n    signMessage, \u002F\u002F Sign an arbitrary message\n    signMessageAndVerify, \u002F\u002F Sign and verify a message\n    changeNetwork, \u002F\u002F Switch networks (not all wallets support this)\n    network \u002F\u002F Current network info\n  } = useWallet();\n}\n",[755],{"type":52,"tag":82,"props":756,"children":757},{"__ignoreMap":298},[758,798,805,825,837,854,871,888,905,922,939,956,973,990,1007,1024,1041,1054,1079],{"type":52,"tag":304,"props":759,"children":760},{"class":306,"line":307},[761,765,769,774,778,782,786,790,794],{"type":52,"tag":304,"props":762,"children":763},{"style":375},[764],{"type":58,"value":378},{"type":52,"tag":304,"props":766,"children":767},{"style":381},[768],{"type":58,"value":384},{"type":52,"tag":304,"props":770,"children":771},{"style":387},[772],{"type":58,"value":773}," useWallet",{"type":52,"tag":304,"props":775,"children":776},{"style":381},[777],{"type":58,"value":395},{"type":52,"tag":304,"props":779,"children":780},{"style":375},[781],{"type":58,"value":400},{"type":52,"tag":304,"props":783,"children":784},{"style":381},[785],{"type":58,"value":405},{"type":52,"tag":304,"props":787,"children":788},{"style":317},[789],{"type":58,"value":87},{"type":52,"tag":304,"props":791,"children":792},{"style":381},[793],{"type":58,"value":414},{"type":52,"tag":304,"props":795,"children":796},{"style":381},[797],{"type":58,"value":419},{"type":52,"tag":304,"props":799,"children":800},{"class":306,"line":371},[801],{"type":52,"tag":304,"props":802,"children":803},{"emptyLinePlaceholder":468},[804],{"type":58,"value":471},{"type":52,"tag":304,"props":806,"children":807},{"class":306,"line":422},[808,812,817,821],{"type":52,"tag":304,"props":809,"children":810},{"style":478},[811],{"type":58,"value":481},{"type":52,"tag":304,"props":813,"children":814},{"style":484},[815],{"type":58,"value":816}," MyComponent",{"type":52,"tag":304,"props":818,"children":819},{"style":381},[820],{"type":58,"value":492},{"type":52,"tag":304,"props":822,"children":823},{"style":381},[824],{"type":58,"value":497},{"type":52,"tag":304,"props":826,"children":827},{"class":306,"line":464},[828,833],{"type":52,"tag":304,"props":829,"children":830},{"style":478},[831],{"type":58,"value":832},"  const",{"type":52,"tag":304,"props":834,"children":835},{"style":381},[836],{"type":58,"value":497},{"type":52,"tag":304,"props":838,"children":839},{"class":306,"line":474},[840,845,849],{"type":52,"tag":304,"props":841,"children":842},{"style":387},[843],{"type":58,"value":844},"    account",{"type":52,"tag":304,"props":846,"children":847},{"style":381},[848],{"type":58,"value":665},{"type":52,"tag":304,"props":850,"children":851},{"style":365},[852],{"type":58,"value":853}," \u002F\u002F Current connected account { address, publicKey }\n",{"type":52,"tag":304,"props":855,"children":856},{"class":306,"line":500},[857,862,866],{"type":52,"tag":304,"props":858,"children":859},{"style":387},[860],{"type":58,"value":861},"    connected",{"type":52,"tag":304,"props":863,"children":864},{"style":381},[865],{"type":58,"value":665},{"type":52,"tag":304,"props":867,"children":868},{"style":365},[869],{"type":58,"value":870}," \u002F\u002F Boolean: is wallet connected?\n",{"type":52,"tag":304,"props":872,"children":873},{"class":306,"line":515},[874,879,883],{"type":52,"tag":304,"props":875,"children":876},{"style":387},[877],{"type":58,"value":878},"    wallet",{"type":52,"tag":304,"props":880,"children":881},{"style":381},[882],{"type":58,"value":665},{"type":52,"tag":304,"props":884,"children":885},{"style":365},[886],{"type":58,"value":887}," \u002F\u002F Current wallet info { name, icon, url }\n",{"type":52,"tag":304,"props":889,"children":890},{"class":306,"line":30},[891,896,900],{"type":52,"tag":304,"props":892,"children":893},{"style":387},[894],{"type":58,"value":895},"    wallets",{"type":52,"tag":304,"props":897,"children":898},{"style":381},[899],{"type":58,"value":665},{"type":52,"tag":304,"props":901,"children":902},{"style":365},[903],{"type":58,"value":904}," \u002F\u002F Array of available wallets\n",{"type":52,"tag":304,"props":906,"children":907},{"class":306,"line":553},[908,913,917],{"type":52,"tag":304,"props":909,"children":910},{"style":387},[911],{"type":58,"value":912},"    connect",{"type":52,"tag":304,"props":914,"children":915},{"style":381},[916],{"type":58,"value":665},{"type":52,"tag":304,"props":918,"children":919},{"style":365},[920],{"type":58,"value":921}," \u002F\u002F (walletName) => Promise\u003Cvoid>\n",{"type":52,"tag":304,"props":923,"children":924},{"class":306,"line":567},[925,930,934],{"type":52,"tag":304,"props":926,"children":927},{"style":387},[928],{"type":58,"value":929},"    disconnect",{"type":52,"tag":304,"props":931,"children":932},{"style":381},[933],{"type":58,"value":665},{"type":52,"tag":304,"props":935,"children":936},{"style":365},[937],{"type":58,"value":938}," \u002F\u002F () => Promise\u003Cvoid>\n",{"type":52,"tag":304,"props":940,"children":941},{"class":306,"line":593},[942,947,951],{"type":52,"tag":304,"props":943,"children":944},{"style":387},[945],{"type":58,"value":946},"    signAndSubmitTransaction",{"type":52,"tag":304,"props":948,"children":949},{"style":381},[950],{"type":58,"value":665},{"type":52,"tag":304,"props":952,"children":953},{"style":365},[954],{"type":58,"value":955}," \u002F\u002F Submit entry function calls (use THIS in frontend)\n",{"type":52,"tag":304,"props":957,"children":958},{"class":306,"line":602},[959,964,968],{"type":52,"tag":304,"props":960,"children":961},{"style":387},[962],{"type":58,"value":963},"    signTransaction",{"type":52,"tag":304,"props":965,"children":966},{"style":381},[967],{"type":58,"value":665},{"type":52,"tag":304,"props":969,"children":970},{"style":365},[971],{"type":58,"value":972}," \u002F\u002F Sign without submitting\n",{"type":52,"tag":304,"props":974,"children":975},{"class":306,"line":677},[976,981,985],{"type":52,"tag":304,"props":977,"children":978},{"style":387},[979],{"type":58,"value":980},"    submitTransaction",{"type":52,"tag":304,"props":982,"children":983},{"style":381},[984],{"type":58,"value":665},{"type":52,"tag":304,"props":986,"children":987},{"style":365},[988],{"type":58,"value":989}," \u002F\u002F Submit a signed transaction\n",{"type":52,"tag":304,"props":991,"children":992},{"class":306,"line":686},[993,998,1002],{"type":52,"tag":304,"props":994,"children":995},{"style":387},[996],{"type":58,"value":997},"    signMessage",{"type":52,"tag":304,"props":999,"children":1000},{"style":381},[1001],{"type":58,"value":665},{"type":52,"tag":304,"props":1003,"children":1004},{"style":365},[1005],{"type":58,"value":1006}," \u002F\u002F Sign an arbitrary message\n",{"type":52,"tag":304,"props":1008,"children":1009},{"class":306,"line":705},[1010,1015,1019],{"type":52,"tag":304,"props":1011,"children":1012},{"style":387},[1013],{"type":58,"value":1014},"    signMessageAndVerify",{"type":52,"tag":304,"props":1016,"children":1017},{"style":381},[1018],{"type":58,"value":665},{"type":52,"tag":304,"props":1020,"children":1021},{"style":365},[1022],{"type":58,"value":1023}," \u002F\u002F Sign and verify a message\n",{"type":52,"tag":304,"props":1025,"children":1026},{"class":306,"line":723},[1027,1032,1036],{"type":52,"tag":304,"props":1028,"children":1029},{"style":387},[1030],{"type":58,"value":1031},"    changeNetwork",{"type":52,"tag":304,"props":1033,"children":1034},{"style":381},[1035],{"type":58,"value":665},{"type":52,"tag":304,"props":1037,"children":1038},{"style":365},[1039],{"type":58,"value":1040}," \u002F\u002F Switch networks (not all wallets support this)\n",{"type":52,"tag":304,"props":1042,"children":1043},{"class":306,"line":736},[1044,1049],{"type":52,"tag":304,"props":1045,"children":1046},{"style":387},[1047],{"type":58,"value":1048},"    network",{"type":52,"tag":304,"props":1050,"children":1051},{"style":365},[1052],{"type":58,"value":1053}," \u002F\u002F Current network info\n",{"type":52,"tag":304,"props":1055,"children":1056},{"class":306,"line":26},[1057,1062,1067,1071,1075],{"type":52,"tag":304,"props":1058,"children":1059},{"style":381},[1060],{"type":58,"value":1061},"  }",{"type":52,"tag":304,"props":1063,"children":1064},{"style":381},[1065],{"type":58,"value":1066}," =",{"type":52,"tag":304,"props":1068,"children":1069},{"style":484},[1070],{"type":58,"value":773},{"type":52,"tag":304,"props":1072,"children":1073},{"style":509},[1074],{"type":58,"value":492},{"type":52,"tag":304,"props":1076,"children":1077},{"style":381},[1078],{"type":58,"value":419},{"type":52,"tag":304,"props":1080,"children":1082},{"class":306,"line":1081},19,[1083],{"type":52,"tag":304,"props":1084,"children":1085},{"style":381},[1086],{"type":58,"value":550},{"type":52,"tag":283,"props":1088,"children":1089},{},[],{"type":52,"tag":61,"props":1091,"children":1093},{"id":1092},"frontend-transaction-pattern",[1094],{"type":58,"value":1095},"Frontend transaction pattern",{"type":52,"tag":68,"props":1097,"children":1098},{},[1099,1101,1107],{"type":58,"value":1100},"Use typed payloads with ",{"type":52,"tag":82,"props":1102,"children":1104},{"className":1103},[],[1105],{"type":58,"value":1106},"InputTransactionData",{"type":58,"value":350},{"type":52,"tag":293,"props":1109,"children":1111},{"className":353,"code":1110,"language":355,"meta":298,"style":298},"\u002F\u002F entry-functions\u002Fincrement.ts\nimport { InputTransactionData } from \"@aptos-labs\u002Fwallet-adapter-react\";\nimport { MODULE_ADDRESS } from \"..\u002Flib\u002Faptos\";\n\nexport function buildIncrementPayload(): InputTransactionData {\n  return {\n    data: {\n      function: `${MODULE_ADDRESS}::counter::increment`,\n      functionArguments: []\n    }\n  };\n}\n",[1112],{"type":52,"tag":82,"props":1113,"children":1114},{"__ignoreMap":298},[1115,1123,1163,1204,1211,1242,1253,1269,1311,1328,1336,1344],{"type":52,"tag":304,"props":1116,"children":1117},{"class":306,"line":307},[1118],{"type":52,"tag":304,"props":1119,"children":1120},{"style":365},[1121],{"type":58,"value":1122},"\u002F\u002F entry-functions\u002Fincrement.ts\n",{"type":52,"tag":304,"props":1124,"children":1125},{"class":306,"line":371},[1126,1130,1134,1139,1143,1147,1151,1155,1159],{"type":52,"tag":304,"props":1127,"children":1128},{"style":375},[1129],{"type":58,"value":378},{"type":52,"tag":304,"props":1131,"children":1132},{"style":381},[1133],{"type":58,"value":384},{"type":52,"tag":304,"props":1135,"children":1136},{"style":387},[1137],{"type":58,"value":1138}," InputTransactionData",{"type":52,"tag":304,"props":1140,"children":1141},{"style":381},[1142],{"type":58,"value":395},{"type":52,"tag":304,"props":1144,"children":1145},{"style":375},[1146],{"type":58,"value":400},{"type":52,"tag":304,"props":1148,"children":1149},{"style":381},[1150],{"type":58,"value":405},{"type":52,"tag":304,"props":1152,"children":1153},{"style":317},[1154],{"type":58,"value":87},{"type":52,"tag":304,"props":1156,"children":1157},{"style":381},[1158],{"type":58,"value":414},{"type":52,"tag":304,"props":1160,"children":1161},{"style":381},[1162],{"type":58,"value":419},{"type":52,"tag":304,"props":1164,"children":1165},{"class":306,"line":422},[1166,1170,1174,1179,1183,1187,1191,1196,1200],{"type":52,"tag":304,"props":1167,"children":1168},{"style":375},[1169],{"type":58,"value":378},{"type":52,"tag":304,"props":1171,"children":1172},{"style":381},[1173],{"type":58,"value":384},{"type":52,"tag":304,"props":1175,"children":1176},{"style":387},[1177],{"type":58,"value":1178}," MODULE_ADDRESS",{"type":52,"tag":304,"props":1180,"children":1181},{"style":381},[1182],{"type":58,"value":395},{"type":52,"tag":304,"props":1184,"children":1185},{"style":375},[1186],{"type":58,"value":400},{"type":52,"tag":304,"props":1188,"children":1189},{"style":381},[1190],{"type":58,"value":405},{"type":52,"tag":304,"props":1192,"children":1193},{"style":317},[1194],{"type":58,"value":1195},"..\u002Flib\u002Faptos",{"type":52,"tag":304,"props":1197,"children":1198},{"style":381},[1199],{"type":58,"value":414},{"type":52,"tag":304,"props":1201,"children":1202},{"style":381},[1203],{"type":58,"value":419},{"type":52,"tag":304,"props":1205,"children":1206},{"class":306,"line":464},[1207],{"type":52,"tag":304,"props":1208,"children":1209},{"emptyLinePlaceholder":468},[1210],{"type":58,"value":471},{"type":52,"tag":304,"props":1212,"children":1213},{"class":306,"line":474},[1214,1219,1224,1229,1234,1238],{"type":52,"tag":304,"props":1215,"children":1216},{"style":375},[1217],{"type":58,"value":1218},"export",{"type":52,"tag":304,"props":1220,"children":1221},{"style":478},[1222],{"type":58,"value":1223}," function",{"type":52,"tag":304,"props":1225,"children":1226},{"style":484},[1227],{"type":58,"value":1228}," buildIncrementPayload",{"type":52,"tag":304,"props":1230,"children":1231},{"style":381},[1232],{"type":58,"value":1233},"():",{"type":52,"tag":304,"props":1235,"children":1236},{"style":311},[1237],{"type":58,"value":1138},{"type":52,"tag":304,"props":1239,"children":1240},{"style":381},[1241],{"type":58,"value":497},{"type":52,"tag":304,"props":1243,"children":1244},{"class":306,"line":500},[1245,1249],{"type":52,"tag":304,"props":1246,"children":1247},{"style":375},[1248],{"type":58,"value":506},{"type":52,"tag":304,"props":1250,"children":1251},{"style":381},[1252],{"type":58,"value":497},{"type":52,"tag":304,"props":1254,"children":1255},{"class":306,"line":515},[1256,1261,1265],{"type":52,"tag":304,"props":1257,"children":1258},{"style":509},[1259],{"type":58,"value":1260},"    data",{"type":52,"tag":304,"props":1262,"children":1263},{"style":381},[1264],{"type":58,"value":350},{"type":52,"tag":304,"props":1266,"children":1267},{"style":381},[1268],{"type":58,"value":497},{"type":52,"tag":304,"props":1270,"children":1271},{"class":306,"line":30},[1272,1277,1281,1286,1291,1296,1301,1306],{"type":52,"tag":304,"props":1273,"children":1274},{"style":509},[1275],{"type":58,"value":1276},"      function",{"type":52,"tag":304,"props":1278,"children":1279},{"style":381},[1280],{"type":58,"value":350},{"type":52,"tag":304,"props":1282,"children":1283},{"style":381},[1284],{"type":58,"value":1285}," `${",{"type":52,"tag":304,"props":1287,"children":1288},{"style":387},[1289],{"type":58,"value":1290},"MODULE_ADDRESS",{"type":52,"tag":304,"props":1292,"children":1293},{"style":381},[1294],{"type":58,"value":1295},"}",{"type":52,"tag":304,"props":1297,"children":1298},{"style":317},[1299],{"type":58,"value":1300},"::counter::increment",{"type":52,"tag":304,"props":1302,"children":1303},{"style":381},[1304],{"type":58,"value":1305},"`",{"type":52,"tag":304,"props":1307,"children":1308},{"style":381},[1309],{"type":58,"value":1310},",\n",{"type":52,"tag":304,"props":1312,"children":1313},{"class":306,"line":553},[1314,1319,1323],{"type":52,"tag":304,"props":1315,"children":1316},{"style":509},[1317],{"type":58,"value":1318},"      functionArguments",{"type":52,"tag":304,"props":1320,"children":1321},{"style":381},[1322],{"type":58,"value":350},{"type":52,"tag":304,"props":1324,"children":1325},{"style":509},[1326],{"type":58,"value":1327}," []\n",{"type":52,"tag":304,"props":1329,"children":1330},{"class":306,"line":567},[1331],{"type":52,"tag":304,"props":1332,"children":1333},{"style":381},[1334],{"type":58,"value":1335},"    }\n",{"type":52,"tag":304,"props":1337,"children":1338},{"class":306,"line":593},[1339],{"type":52,"tag":304,"props":1340,"children":1341},{"style":381},[1342],{"type":58,"value":1343},"  };\n",{"type":52,"tag":304,"props":1345,"children":1346},{"class":306,"line":602},[1347],{"type":52,"tag":304,"props":1348,"children":1349},{"style":381},[1350],{"type":58,"value":550},{"type":52,"tag":293,"props":1352,"children":1354},{"className":353,"code":1353,"language":355,"meta":298,"style":298},"\u002F\u002F components\u002FIncrementButton.tsx\nimport { useWallet } from \"@aptos-labs\u002Fwallet-adapter-react\";\nimport { aptos } from \"..\u002Flib\u002Faptos\";\nimport { buildIncrementPayload } from \"..\u002Fentry-functions\u002Fincrement\";\n\nfunction IncrementButton() {\n  const { signAndSubmitTransaction } = useWallet();\n\n  const handleClick = async () => {\n    try {\n      const response = await signAndSubmitTransaction(buildIncrementPayload());\n      await aptos.waitForTransaction({\n        transactionHash: response.hash\n      });\n    } catch (error) {\n      console.error(\"Transaction failed:\", error);\n    }\n  };\n\n  return \u003Cbutton onClick={handleClick}>Increment\u003C\u002Fbutton>;\n}\n",[1355],{"type":52,"tag":82,"props":1356,"children":1357},{"__ignoreMap":298},[1358,1366,1405,1445,1485,1492,1512,1548,1555,1589,1601,1645,1675,1700,1716,1747,1797,1804,1811,1818,1874],{"type":52,"tag":304,"props":1359,"children":1360},{"class":306,"line":307},[1361],{"type":52,"tag":304,"props":1362,"children":1363},{"style":365},[1364],{"type":58,"value":1365},"\u002F\u002F components\u002FIncrementButton.tsx\n",{"type":52,"tag":304,"props":1367,"children":1368},{"class":306,"line":371},[1369,1373,1377,1381,1385,1389,1393,1397,1401],{"type":52,"tag":304,"props":1370,"children":1371},{"style":375},[1372],{"type":58,"value":378},{"type":52,"tag":304,"props":1374,"children":1375},{"style":381},[1376],{"type":58,"value":384},{"type":52,"tag":304,"props":1378,"children":1379},{"style":387},[1380],{"type":58,"value":773},{"type":52,"tag":304,"props":1382,"children":1383},{"style":381},[1384],{"type":58,"value":395},{"type":52,"tag":304,"props":1386,"children":1387},{"style":375},[1388],{"type":58,"value":400},{"type":52,"tag":304,"props":1390,"children":1391},{"style":381},[1392],{"type":58,"value":405},{"type":52,"tag":304,"props":1394,"children":1395},{"style":317},[1396],{"type":58,"value":87},{"type":52,"tag":304,"props":1398,"children":1399},{"style":381},[1400],{"type":58,"value":414},{"type":52,"tag":304,"props":1402,"children":1403},{"style":381},[1404],{"type":58,"value":419},{"type":52,"tag":304,"props":1406,"children":1407},{"class":306,"line":422},[1408,1412,1416,1421,1425,1429,1433,1437,1441],{"type":52,"tag":304,"props":1409,"children":1410},{"style":375},[1411],{"type":58,"value":378},{"type":52,"tag":304,"props":1413,"children":1414},{"style":381},[1415],{"type":58,"value":384},{"type":52,"tag":304,"props":1417,"children":1418},{"style":387},[1419],{"type":58,"value":1420}," aptos",{"type":52,"tag":304,"props":1422,"children":1423},{"style":381},[1424],{"type":58,"value":395},{"type":52,"tag":304,"props":1426,"children":1427},{"style":375},[1428],{"type":58,"value":400},{"type":52,"tag":304,"props":1430,"children":1431},{"style":381},[1432],{"type":58,"value":405},{"type":52,"tag":304,"props":1434,"children":1435},{"style":317},[1436],{"type":58,"value":1195},{"type":52,"tag":304,"props":1438,"children":1439},{"style":381},[1440],{"type":58,"value":414},{"type":52,"tag":304,"props":1442,"children":1443},{"style":381},[1444],{"type":58,"value":419},{"type":52,"tag":304,"props":1446,"children":1447},{"class":306,"line":464},[1448,1452,1456,1460,1464,1468,1472,1477,1481],{"type":52,"tag":304,"props":1449,"children":1450},{"style":375},[1451],{"type":58,"value":378},{"type":52,"tag":304,"props":1453,"children":1454},{"style":381},[1455],{"type":58,"value":384},{"type":52,"tag":304,"props":1457,"children":1458},{"style":387},[1459],{"type":58,"value":1228},{"type":52,"tag":304,"props":1461,"children":1462},{"style":381},[1463],{"type":58,"value":395},{"type":52,"tag":304,"props":1465,"children":1466},{"style":375},[1467],{"type":58,"value":400},{"type":52,"tag":304,"props":1469,"children":1470},{"style":381},[1471],{"type":58,"value":405},{"type":52,"tag":304,"props":1473,"children":1474},{"style":317},[1475],{"type":58,"value":1476},"..\u002Fentry-functions\u002Fincrement",{"type":52,"tag":304,"props":1478,"children":1479},{"style":381},[1480],{"type":58,"value":414},{"type":52,"tag":304,"props":1482,"children":1483},{"style":381},[1484],{"type":58,"value":419},{"type":52,"tag":304,"props":1486,"children":1487},{"class":306,"line":474},[1488],{"type":52,"tag":304,"props":1489,"children":1490},{"emptyLinePlaceholder":468},[1491],{"type":58,"value":471},{"type":52,"tag":304,"props":1493,"children":1494},{"class":306,"line":500},[1495,1499,1504,1508],{"type":52,"tag":304,"props":1496,"children":1497},{"style":478},[1498],{"type":58,"value":481},{"type":52,"tag":304,"props":1500,"children":1501},{"style":484},[1502],{"type":58,"value":1503}," IncrementButton",{"type":52,"tag":304,"props":1505,"children":1506},{"style":381},[1507],{"type":58,"value":492},{"type":52,"tag":304,"props":1509,"children":1510},{"style":381},[1511],{"type":58,"value":497},{"type":52,"tag":304,"props":1513,"children":1514},{"class":306,"line":515},[1515,1519,1523,1528,1532,1536,1540,1544],{"type":52,"tag":304,"props":1516,"children":1517},{"style":478},[1518],{"type":58,"value":832},{"type":52,"tag":304,"props":1520,"children":1521},{"style":381},[1522],{"type":58,"value":384},{"type":52,"tag":304,"props":1524,"children":1525},{"style":387},[1526],{"type":58,"value":1527}," signAndSubmitTransaction",{"type":52,"tag":304,"props":1529,"children":1530},{"style":381},[1531],{"type":58,"value":395},{"type":52,"tag":304,"props":1533,"children":1534},{"style":381},[1535],{"type":58,"value":1066},{"type":52,"tag":304,"props":1537,"children":1538},{"style":484},[1539],{"type":58,"value":773},{"type":52,"tag":304,"props":1541,"children":1542},{"style":509},[1543],{"type":58,"value":492},{"type":52,"tag":304,"props":1545,"children":1546},{"style":381},[1547],{"type":58,"value":419},{"type":52,"tag":304,"props":1549,"children":1550},{"class":306,"line":30},[1551],{"type":52,"tag":304,"props":1552,"children":1553},{"emptyLinePlaceholder":468},[1554],{"type":58,"value":471},{"type":52,"tag":304,"props":1556,"children":1557},{"class":306,"line":553},[1558,1562,1567,1571,1576,1581,1585],{"type":52,"tag":304,"props":1559,"children":1560},{"style":478},[1561],{"type":58,"value":832},{"type":52,"tag":304,"props":1563,"children":1564},{"style":387},[1565],{"type":58,"value":1566}," handleClick",{"type":52,"tag":304,"props":1568,"children":1569},{"style":381},[1570],{"type":58,"value":1066},{"type":52,"tag":304,"props":1572,"children":1573},{"style":478},[1574],{"type":58,"value":1575}," async",{"type":52,"tag":304,"props":1577,"children":1578},{"style":381},[1579],{"type":58,"value":1580}," ()",{"type":52,"tag":304,"props":1582,"children":1583},{"style":478},[1584],{"type":58,"value":629},{"type":52,"tag":304,"props":1586,"children":1587},{"style":381},[1588],{"type":58,"value":497},{"type":52,"tag":304,"props":1590,"children":1591},{"class":306,"line":567},[1592,1597],{"type":52,"tag":304,"props":1593,"children":1594},{"style":375},[1595],{"type":58,"value":1596},"    try",{"type":52,"tag":304,"props":1598,"children":1599},{"style":381},[1600],{"type":58,"value":497},{"type":52,"tag":304,"props":1602,"children":1603},{"class":306,"line":593},[1604,1609,1614,1618,1623,1627,1631,1636,1641],{"type":52,"tag":304,"props":1605,"children":1606},{"style":478},[1607],{"type":58,"value":1608},"      const",{"type":52,"tag":304,"props":1610,"children":1611},{"style":387},[1612],{"type":58,"value":1613}," response",{"type":52,"tag":304,"props":1615,"children":1616},{"style":381},[1617],{"type":58,"value":1066},{"type":52,"tag":304,"props":1619,"children":1620},{"style":375},[1621],{"type":58,"value":1622}," await",{"type":52,"tag":304,"props":1624,"children":1625},{"style":484},[1626],{"type":58,"value":1527},{"type":52,"tag":304,"props":1628,"children":1629},{"style":509},[1630],{"type":58,"value":647},{"type":52,"tag":304,"props":1632,"children":1633},{"style":484},[1634],{"type":58,"value":1635},"buildIncrementPayload",{"type":52,"tag":304,"props":1637,"children":1638},{"style":509},[1639],{"type":58,"value":1640},"())",{"type":52,"tag":304,"props":1642,"children":1643},{"style":381},[1644],{"type":58,"value":419},{"type":52,"tag":304,"props":1646,"children":1647},{"class":306,"line":602},[1648,1653,1657,1661,1666,1670],{"type":52,"tag":304,"props":1649,"children":1650},{"style":375},[1651],{"type":58,"value":1652},"      await",{"type":52,"tag":304,"props":1654,"children":1655},{"style":387},[1656],{"type":58,"value":1420},{"type":52,"tag":304,"props":1658,"children":1659},{"style":381},[1660],{"type":58,"value":188},{"type":52,"tag":304,"props":1662,"children":1663},{"style":484},[1664],{"type":58,"value":1665},"waitForTransaction",{"type":52,"tag":304,"props":1667,"children":1668},{"style":509},[1669],{"type":58,"value":647},{"type":52,"tag":304,"props":1671,"children":1672},{"style":381},[1673],{"type":58,"value":1674},"{\n",{"type":52,"tag":304,"props":1676,"children":1677},{"class":306,"line":677},[1678,1683,1687,1691,1695],{"type":52,"tag":304,"props":1679,"children":1680},{"style":509},[1681],{"type":58,"value":1682},"        transactionHash",{"type":52,"tag":304,"props":1684,"children":1685},{"style":381},[1686],{"type":58,"value":350},{"type":52,"tag":304,"props":1688,"children":1689},{"style":387},[1690],{"type":58,"value":1613},{"type":52,"tag":304,"props":1692,"children":1693},{"style":381},[1694],{"type":58,"value":188},{"type":52,"tag":304,"props":1696,"children":1697},{"style":387},[1698],{"type":58,"value":1699},"hash\n",{"type":52,"tag":304,"props":1701,"children":1702},{"class":306,"line":686},[1703,1708,1712],{"type":52,"tag":304,"props":1704,"children":1705},{"style":381},[1706],{"type":58,"value":1707},"      }",{"type":52,"tag":304,"props":1709,"children":1710},{"style":509},[1711],{"type":58,"value":624},{"type":52,"tag":304,"props":1713,"children":1714},{"style":381},[1715],{"type":58,"value":419},{"type":52,"tag":304,"props":1717,"children":1718},{"class":306,"line":705},[1719,1724,1729,1734,1738,1743],{"type":52,"tag":304,"props":1720,"children":1721},{"style":381},[1722],{"type":58,"value":1723},"    }",{"type":52,"tag":304,"props":1725,"children":1726},{"style":375},[1727],{"type":58,"value":1728}," catch",{"type":52,"tag":304,"props":1730,"children":1731},{"style":509},[1732],{"type":58,"value":1733}," (",{"type":52,"tag":304,"props":1735,"children":1736},{"style":387},[1737],{"type":58,"value":619},{"type":52,"tag":304,"props":1739,"children":1740},{"style":509},[1741],{"type":58,"value":1742},") ",{"type":52,"tag":304,"props":1744,"children":1745},{"style":381},[1746],{"type":58,"value":1674},{"type":52,"tag":304,"props":1748,"children":1749},{"class":306,"line":723},[1750,1755,1759,1763,1767,1771,1776,1780,1784,1789,1793],{"type":52,"tag":304,"props":1751,"children":1752},{"style":387},[1753],{"type":58,"value":1754},"      console",{"type":52,"tag":304,"props":1756,"children":1757},{"style":381},[1758],{"type":58,"value":188},{"type":52,"tag":304,"props":1760,"children":1761},{"style":484},[1762],{"type":58,"value":619},{"type":52,"tag":304,"props":1764,"children":1765},{"style":509},[1766],{"type":58,"value":647},{"type":52,"tag":304,"props":1768,"children":1769},{"style":381},[1770],{"type":58,"value":414},{"type":52,"tag":304,"props":1772,"children":1773},{"style":317},[1774],{"type":58,"value":1775},"Transaction failed:",{"type":52,"tag":304,"props":1777,"children":1778},{"style":381},[1779],{"type":58,"value":414},{"type":52,"tag":304,"props":1781,"children":1782},{"style":381},[1783],{"type":58,"value":665},{"type":52,"tag":304,"props":1785,"children":1786},{"style":387},[1787],{"type":58,"value":1788}," error",{"type":52,"tag":304,"props":1790,"children":1791},{"style":509},[1792],{"type":58,"value":624},{"type":52,"tag":304,"props":1794,"children":1795},{"style":381},[1796],{"type":58,"value":419},{"type":52,"tag":304,"props":1798,"children":1799},{"class":306,"line":736},[1800],{"type":52,"tag":304,"props":1801,"children":1802},{"style":381},[1803],{"type":58,"value":1335},{"type":52,"tag":304,"props":1805,"children":1806},{"class":306,"line":26},[1807],{"type":52,"tag":304,"props":1808,"children":1809},{"style":381},[1810],{"type":58,"value":1343},{"type":52,"tag":304,"props":1812,"children":1813},{"class":306,"line":1081},[1814],{"type":52,"tag":304,"props":1815,"children":1816},{"emptyLinePlaceholder":468},[1817],{"type":58,"value":471},{"type":52,"tag":304,"props":1819,"children":1821},{"class":306,"line":1820},20,[1822,1826,1831,1836,1841,1845,1850,1855,1860,1865,1869],{"type":52,"tag":304,"props":1823,"children":1824},{"style":375},[1825],{"type":58,"value":506},{"type":52,"tag":304,"props":1827,"children":1828},{"style":381},[1829],{"type":58,"value":1830}," \u003C",{"type":52,"tag":304,"props":1832,"children":1833},{"style":509},[1834],{"type":58,"value":1835},"button",{"type":52,"tag":304,"props":1837,"children":1838},{"style":478},[1839],{"type":58,"value":1840}," onClick",{"type":52,"tag":304,"props":1842,"children":1843},{"style":381},[1844],{"type":58,"value":539},{"type":52,"tag":304,"props":1846,"children":1847},{"style":387},[1848],{"type":58,"value":1849},"handleClick",{"type":52,"tag":304,"props":1851,"children":1852},{"style":381},[1853],{"type":58,"value":1854},"}>",{"type":52,"tag":304,"props":1856,"children":1857},{"style":387},[1858],{"type":58,"value":1859},"Increment",{"type":52,"tag":304,"props":1861,"children":1862},{"style":381},[1863],{"type":58,"value":1864},"\u003C\u002F",{"type":52,"tag":304,"props":1866,"children":1867},{"style":509},[1868],{"type":58,"value":1835},{"type":52,"tag":304,"props":1870,"children":1871},{"style":381},[1872],{"type":58,"value":1873},">;\n",{"type":52,"tag":304,"props":1875,"children":1877},{"class":306,"line":1876},21,[1878],{"type":52,"tag":304,"props":1879,"children":1880},{"style":381},[1881],{"type":58,"value":550},{"type":52,"tag":283,"props":1883,"children":1884},{},[],{"type":52,"tag":61,"props":1886,"children":1888},{"id":1887},"wallet-connection-ui",[1889],{"type":58,"value":1890},"Wallet connection UI",{"type":52,"tag":293,"props":1892,"children":1894},{"className":353,"code":1893,"language":355,"meta":298,"style":298},"import { useWallet } from \"@aptos-labs\u002Fwallet-adapter-react\";\n\nfunction WalletInfo() {\n  const { account, connected, connect, disconnect, wallet, wallets } = useWallet();\n\n  if (!connected) {\n    return (\n      \u003Cdiv>\n        {wallets.map((w) => (\n          \u003Cbutton key={w.name} onClick={() => connect(w.name)}>\n            Connect {w.name}\n          \u003C\u002Fbutton>\n        ))}\n      \u003C\u002Fdiv>\n    );\n  }\n\n  return (\n    \u003Cdiv>\n      \u003Cp>Connected: {account?.address}\u003C\u002Fp>\n      \u003Cp>Wallet: {wallet?.name}\u003C\u002Fp>\n      \u003Cbutton onClick={disconnect}>Disconnect\u003C\u002Fbutton>\n    \u003C\u002Fdiv>\n  );\n}\n",[1895],{"type":52,"tag":82,"props":1896,"children":1897},{"__ignoreMap":298},[1898,1937,1944,1964,2045,2052,2082,2094,2110,2156,2232,2261,2277,2289,2305,2317,2325,2332,2343,2358,2411,2459,2505,2521,2533],{"type":52,"tag":304,"props":1899,"children":1900},{"class":306,"line":307},[1901,1905,1909,1913,1917,1921,1925,1929,1933],{"type":52,"tag":304,"props":1902,"children":1903},{"style":375},[1904],{"type":58,"value":378},{"type":52,"tag":304,"props":1906,"children":1907},{"style":381},[1908],{"type":58,"value":384},{"type":52,"tag":304,"props":1910,"children":1911},{"style":387},[1912],{"type":58,"value":773},{"type":52,"tag":304,"props":1914,"children":1915},{"style":381},[1916],{"type":58,"value":395},{"type":52,"tag":304,"props":1918,"children":1919},{"style":375},[1920],{"type":58,"value":400},{"type":52,"tag":304,"props":1922,"children":1923},{"style":381},[1924],{"type":58,"value":405},{"type":52,"tag":304,"props":1926,"children":1927},{"style":317},[1928],{"type":58,"value":87},{"type":52,"tag":304,"props":1930,"children":1931},{"style":381},[1932],{"type":58,"value":414},{"type":52,"tag":304,"props":1934,"children":1935},{"style":381},[1936],{"type":58,"value":419},{"type":52,"tag":304,"props":1938,"children":1939},{"class":306,"line":371},[1940],{"type":52,"tag":304,"props":1941,"children":1942},{"emptyLinePlaceholder":468},[1943],{"type":58,"value":471},{"type":52,"tag":304,"props":1945,"children":1946},{"class":306,"line":422},[1947,1951,1956,1960],{"type":52,"tag":304,"props":1948,"children":1949},{"style":478},[1950],{"type":58,"value":481},{"type":52,"tag":304,"props":1952,"children":1953},{"style":484},[1954],{"type":58,"value":1955}," WalletInfo",{"type":52,"tag":304,"props":1957,"children":1958},{"style":381},[1959],{"type":58,"value":492},{"type":52,"tag":304,"props":1961,"children":1962},{"style":381},[1963],{"type":58,"value":497},{"type":52,"tag":304,"props":1965,"children":1966},{"class":306,"line":464},[1967,1971,1975,1980,1984,1989,1993,1998,2002,2007,2011,2016,2020,2025,2029,2033,2037,2041],{"type":52,"tag":304,"props":1968,"children":1969},{"style":478},[1970],{"type":58,"value":832},{"type":52,"tag":304,"props":1972,"children":1973},{"style":381},[1974],{"type":58,"value":384},{"type":52,"tag":304,"props":1976,"children":1977},{"style":387},[1978],{"type":58,"value":1979}," account",{"type":52,"tag":304,"props":1981,"children":1982},{"style":381},[1983],{"type":58,"value":665},{"type":52,"tag":304,"props":1985,"children":1986},{"style":387},[1987],{"type":58,"value":1988}," connected",{"type":52,"tag":304,"props":1990,"children":1991},{"style":381},[1992],{"type":58,"value":665},{"type":52,"tag":304,"props":1994,"children":1995},{"style":387},[1996],{"type":58,"value":1997}," connect",{"type":52,"tag":304,"props":1999,"children":2000},{"style":381},[2001],{"type":58,"value":665},{"type":52,"tag":304,"props":2003,"children":2004},{"style":387},[2005],{"type":58,"value":2006}," disconnect",{"type":52,"tag":304,"props":2008,"children":2009},{"style":381},[2010],{"type":58,"value":665},{"type":52,"tag":304,"props":2012,"children":2013},{"style":387},[2014],{"type":58,"value":2015}," wallet",{"type":52,"tag":304,"props":2017,"children":2018},{"style":381},[2019],{"type":58,"value":665},{"type":52,"tag":304,"props":2021,"children":2022},{"style":387},[2023],{"type":58,"value":2024}," wallets",{"type":52,"tag":304,"props":2026,"children":2027},{"style":381},[2028],{"type":58,"value":395},{"type":52,"tag":304,"props":2030,"children":2031},{"style":381},[2032],{"type":58,"value":1066},{"type":52,"tag":304,"props":2034,"children":2035},{"style":484},[2036],{"type":58,"value":773},{"type":52,"tag":304,"props":2038,"children":2039},{"style":509},[2040],{"type":58,"value":492},{"type":52,"tag":304,"props":2042,"children":2043},{"style":381},[2044],{"type":58,"value":419},{"type":52,"tag":304,"props":2046,"children":2047},{"class":306,"line":474},[2048],{"type":52,"tag":304,"props":2049,"children":2050},{"emptyLinePlaceholder":468},[2051],{"type":58,"value":471},{"type":52,"tag":304,"props":2053,"children":2054},{"class":306,"line":500},[2055,2060,2064,2069,2074,2078],{"type":52,"tag":304,"props":2056,"children":2057},{"style":375},[2058],{"type":58,"value":2059},"  if",{"type":52,"tag":304,"props":2061,"children":2062},{"style":509},[2063],{"type":58,"value":1733},{"type":52,"tag":304,"props":2065,"children":2066},{"style":381},[2067],{"type":58,"value":2068},"!",{"type":52,"tag":304,"props":2070,"children":2071},{"style":387},[2072],{"type":58,"value":2073},"connected",{"type":52,"tag":304,"props":2075,"children":2076},{"style":509},[2077],{"type":58,"value":1742},{"type":52,"tag":304,"props":2079,"children":2080},{"style":381},[2081],{"type":58,"value":1674},{"type":52,"tag":304,"props":2083,"children":2084},{"class":306,"line":515},[2085,2090],{"type":52,"tag":304,"props":2086,"children":2087},{"style":375},[2088],{"type":58,"value":2089},"    return",{"type":52,"tag":304,"props":2091,"children":2092},{"style":509},[2093],{"type":58,"value":512},{"type":52,"tag":304,"props":2095,"children":2096},{"class":306,"line":30},[2097,2101,2106],{"type":52,"tag":304,"props":2098,"children":2099},{"style":381},[2100],{"type":58,"value":692},{"type":52,"tag":304,"props":2102,"children":2103},{"style":509},[2104],{"type":58,"value":2105},"div",{"type":52,"tag":304,"props":2107,"children":2108},{"style":381},[2109],{"type":58,"value":720},{"type":52,"tag":304,"props":2111,"children":2112},{"class":306,"line":553},[2113,2118,2122,2126,2131,2135,2139,2144,2148,2152],{"type":52,"tag":304,"props":2114,"children":2115},{"style":381},[2116],{"type":58,"value":2117},"        {",{"type":52,"tag":304,"props":2119,"children":2120},{"style":387},[2121],{"type":58,"value":272},{"type":52,"tag":304,"props":2123,"children":2124},{"style":381},[2125],{"type":58,"value":188},{"type":52,"tag":304,"props":2127,"children":2128},{"style":484},[2129],{"type":58,"value":2130},"map",{"type":52,"tag":304,"props":2132,"children":2133},{"style":387},[2134],{"type":58,"value":647},{"type":52,"tag":304,"props":2136,"children":2137},{"style":381},[2138],{"type":58,"value":647},{"type":52,"tag":304,"props":2140,"children":2141},{"style":616},[2142],{"type":58,"value":2143},"w",{"type":52,"tag":304,"props":2145,"children":2146},{"style":381},[2147],{"type":58,"value":624},{"type":52,"tag":304,"props":2149,"children":2150},{"style":478},[2151],{"type":58,"value":629},{"type":52,"tag":304,"props":2153,"children":2154},{"style":387},[2155],{"type":58,"value":512},{"type":52,"tag":304,"props":2157,"children":2158},{"class":306,"line":567},[2159,2164,2168,2173,2177,2181,2185,2190,2195,2200,2205,2209,2213,2218,2222,2227],{"type":52,"tag":304,"props":2160,"children":2161},{"style":381},[2162],{"type":58,"value":2163},"          \u003C",{"type":52,"tag":304,"props":2165,"children":2166},{"style":509},[2167],{"type":58,"value":1835},{"type":52,"tag":304,"props":2169,"children":2170},{"style":478},[2171],{"type":58,"value":2172}," key",{"type":52,"tag":304,"props":2174,"children":2175},{"style":381},[2176],{"type":58,"value":539},{"type":52,"tag":304,"props":2178,"children":2179},{"style":387},[2180],{"type":58,"value":2143},{"type":52,"tag":304,"props":2182,"children":2183},{"style":381},[2184],{"type":58,"value":188},{"type":52,"tag":304,"props":2186,"children":2187},{"style":387},[2188],{"type":58,"value":2189},"name",{"type":52,"tag":304,"props":2191,"children":2192},{"style":381},[2193],{"type":58,"value":2194},"} ",{"type":52,"tag":304,"props":2196,"children":2197},{"style":478},[2198],{"type":58,"value":2199},"onClick",{"type":52,"tag":304,"props":2201,"children":2202},{"style":381},[2203],{"type":58,"value":2204},"={()",{"type":52,"tag":304,"props":2206,"children":2207},{"style":478},[2208],{"type":58,"value":629},{"type":52,"tag":304,"props":2210,"children":2211},{"style":484},[2212],{"type":58,"value":1997},{"type":52,"tag":304,"props":2214,"children":2215},{"style":387},[2216],{"type":58,"value":2217},"(w",{"type":52,"tag":304,"props":2219,"children":2220},{"style":381},[2221],{"type":58,"value":188},{"type":52,"tag":304,"props":2223,"children":2224},{"style":387},[2225],{"type":58,"value":2226},"name)",{"type":52,"tag":304,"props":2228,"children":2229},{"style":381},[2230],{"type":58,"value":2231},"}>\n",{"type":52,"tag":304,"props":2233,"children":2234},{"class":306,"line":593},[2235,2240,2245,2249,2253,2257],{"type":52,"tag":304,"props":2236,"children":2237},{"style":387},[2238],{"type":58,"value":2239},"            Connect ",{"type":52,"tag":304,"props":2241,"children":2242},{"style":381},[2243],{"type":58,"value":2244},"{",{"type":52,"tag":304,"props":2246,"children":2247},{"style":387},[2248],{"type":58,"value":2143},{"type":52,"tag":304,"props":2250,"children":2251},{"style":381},[2252],{"type":58,"value":188},{"type":52,"tag":304,"props":2254,"children":2255},{"style":387},[2256],{"type":58,"value":2189},{"type":52,"tag":304,"props":2258,"children":2259},{"style":381},[2260],{"type":58,"value":550},{"type":52,"tag":304,"props":2262,"children":2263},{"class":306,"line":602},[2264,2269,2273],{"type":52,"tag":304,"props":2265,"children":2266},{"style":381},[2267],{"type":58,"value":2268},"          \u003C\u002F",{"type":52,"tag":304,"props":2270,"children":2271},{"style":509},[2272],{"type":58,"value":1835},{"type":52,"tag":304,"props":2274,"children":2275},{"style":381},[2276],{"type":58,"value":720},{"type":52,"tag":304,"props":2278,"children":2279},{"class":306,"line":677},[2280,2285],{"type":52,"tag":304,"props":2281,"children":2282},{"style":387},[2283],{"type":58,"value":2284},"        ))",{"type":52,"tag":304,"props":2286,"children":2287},{"style":381},[2288],{"type":58,"value":550},{"type":52,"tag":304,"props":2290,"children":2291},{"class":306,"line":686},[2292,2297,2301],{"type":52,"tag":304,"props":2293,"children":2294},{"style":381},[2295],{"type":58,"value":2296},"      \u003C\u002F",{"type":52,"tag":304,"props":2298,"children":2299},{"style":509},[2300],{"type":58,"value":2105},{"type":52,"tag":304,"props":2302,"children":2303},{"style":381},[2304],{"type":58,"value":720},{"type":52,"tag":304,"props":2306,"children":2307},{"class":306,"line":705},[2308,2313],{"type":52,"tag":304,"props":2309,"children":2310},{"style":509},[2311],{"type":58,"value":2312},"    )",{"type":52,"tag":304,"props":2314,"children":2315},{"style":381},[2316],{"type":58,"value":419},{"type":52,"tag":304,"props":2318,"children":2319},{"class":306,"line":723},[2320],{"type":52,"tag":304,"props":2321,"children":2322},{"style":381},[2323],{"type":58,"value":2324},"  }\n",{"type":52,"tag":304,"props":2326,"children":2327},{"class":306,"line":736},[2328],{"type":52,"tag":304,"props":2329,"children":2330},{"emptyLinePlaceholder":468},[2331],{"type":58,"value":471},{"type":52,"tag":304,"props":2333,"children":2334},{"class":306,"line":26},[2335,2339],{"type":52,"tag":304,"props":2336,"children":2337},{"style":375},[2338],{"type":58,"value":506},{"type":52,"tag":304,"props":2340,"children":2341},{"style":509},[2342],{"type":58,"value":512},{"type":52,"tag":304,"props":2344,"children":2345},{"class":306,"line":1081},[2346,2350,2354],{"type":52,"tag":304,"props":2347,"children":2348},{"style":381},[2349],{"type":58,"value":521},{"type":52,"tag":304,"props":2351,"children":2352},{"style":509},[2353],{"type":58,"value":2105},{"type":52,"tag":304,"props":2355,"children":2356},{"style":381},[2357],{"type":58,"value":720},{"type":52,"tag":304,"props":2359,"children":2360},{"class":306,"line":1820},[2361,2365,2369,2374,2379,2383,2388,2393,2398,2403,2407],{"type":52,"tag":304,"props":2362,"children":2363},{"style":381},[2364],{"type":58,"value":692},{"type":52,"tag":304,"props":2366,"children":2367},{"style":509},[2368],{"type":58,"value":68},{"type":52,"tag":304,"props":2370,"children":2371},{"style":381},[2372],{"type":58,"value":2373},">",{"type":52,"tag":304,"props":2375,"children":2376},{"style":387},[2377],{"type":58,"value":2378},"Connected: ",{"type":52,"tag":304,"props":2380,"children":2381},{"style":381},[2382],{"type":58,"value":2244},{"type":52,"tag":304,"props":2384,"children":2385},{"style":387},[2386],{"type":58,"value":2387},"account",{"type":52,"tag":304,"props":2389,"children":2390},{"style":381},[2391],{"type":58,"value":2392},"?.",{"type":52,"tag":304,"props":2394,"children":2395},{"style":387},[2396],{"type":58,"value":2397},"address",{"type":52,"tag":304,"props":2399,"children":2400},{"style":381},[2401],{"type":58,"value":2402},"}\u003C\u002F",{"type":52,"tag":304,"props":2404,"children":2405},{"style":509},[2406],{"type":58,"value":68},{"type":52,"tag":304,"props":2408,"children":2409},{"style":381},[2410],{"type":58,"value":720},{"type":52,"tag":304,"props":2412,"children":2413},{"class":306,"line":1876},[2414,2418,2422,2426,2431,2435,2439,2443,2447,2451,2455],{"type":52,"tag":304,"props":2415,"children":2416},{"style":381},[2417],{"type":58,"value":692},{"type":52,"tag":304,"props":2419,"children":2420},{"style":509},[2421],{"type":58,"value":68},{"type":52,"tag":304,"props":2423,"children":2424},{"style":381},[2425],{"type":58,"value":2373},{"type":52,"tag":304,"props":2427,"children":2428},{"style":387},[2429],{"type":58,"value":2430},"Wallet: ",{"type":52,"tag":304,"props":2432,"children":2433},{"style":381},[2434],{"type":58,"value":2244},{"type":52,"tag":304,"props":2436,"children":2437},{"style":387},[2438],{"type":58,"value":45},{"type":52,"tag":304,"props":2440,"children":2441},{"style":381},[2442],{"type":58,"value":2392},{"type":52,"tag":304,"props":2444,"children":2445},{"style":387},[2446],{"type":58,"value":2189},{"type":52,"tag":304,"props":2448,"children":2449},{"style":381},[2450],{"type":58,"value":2402},{"type":52,"tag":304,"props":2452,"children":2453},{"style":509},[2454],{"type":58,"value":68},{"type":52,"tag":304,"props":2456,"children":2457},{"style":381},[2458],{"type":58,"value":720},{"type":52,"tag":304,"props":2460,"children":2462},{"class":306,"line":2461},22,[2463,2467,2471,2475,2479,2484,2488,2493,2497,2501],{"type":52,"tag":304,"props":2464,"children":2465},{"style":381},[2466],{"type":58,"value":692},{"type":52,"tag":304,"props":2468,"children":2469},{"style":509},[2470],{"type":58,"value":1835},{"type":52,"tag":304,"props":2472,"children":2473},{"style":478},[2474],{"type":58,"value":1840},{"type":52,"tag":304,"props":2476,"children":2477},{"style":381},[2478],{"type":58,"value":539},{"type":52,"tag":304,"props":2480,"children":2481},{"style":387},[2482],{"type":58,"value":2483},"disconnect",{"type":52,"tag":304,"props":2485,"children":2486},{"style":381},[2487],{"type":58,"value":1854},{"type":52,"tag":304,"props":2489,"children":2490},{"style":387},[2491],{"type":58,"value":2492},"Disconnect",{"type":52,"tag":304,"props":2494,"children":2495},{"style":381},[2496],{"type":58,"value":1864},{"type":52,"tag":304,"props":2498,"children":2499},{"style":509},[2500],{"type":58,"value":1835},{"type":52,"tag":304,"props":2502,"children":2503},{"style":381},[2504],{"type":58,"value":720},{"type":52,"tag":304,"props":2506,"children":2508},{"class":306,"line":2507},23,[2509,2513,2517],{"type":52,"tag":304,"props":2510,"children":2511},{"style":381},[2512],{"type":58,"value":711},{"type":52,"tag":304,"props":2514,"children":2515},{"style":509},[2516],{"type":58,"value":2105},{"type":52,"tag":304,"props":2518,"children":2519},{"style":381},[2520],{"type":58,"value":720},{"type":52,"tag":304,"props":2522,"children":2524},{"class":306,"line":2523},24,[2525,2529],{"type":52,"tag":304,"props":2526,"children":2527},{"style":509},[2528],{"type":58,"value":729},{"type":52,"tag":304,"props":2530,"children":2531},{"style":381},[2532],{"type":58,"value":419},{"type":52,"tag":304,"props":2534,"children":2536},{"class":306,"line":2535},25,[2537],{"type":52,"tag":304,"props":2538,"children":2539},{"style":381},[2540],{"type":58,"value":550},{"type":52,"tag":283,"props":2542,"children":2543},{},[],{"type":52,"tag":61,"props":2545,"children":2547},{"id":2546},"common-mistakes",[2548],{"type":58,"value":2549},"Common mistakes",{"type":52,"tag":2551,"props":2552,"children":2553},"table",{},[2554,2573],{"type":52,"tag":2555,"props":2556,"children":2557},"thead",{},[2558],{"type":52,"tag":2559,"props":2560,"children":2561},"tr",{},[2562,2568],{"type":52,"tag":2563,"props":2564,"children":2565},"th",{},[2566],{"type":58,"value":2567},"Mistake",{"type":52,"tag":2563,"props":2569,"children":2570},{},[2571],{"type":58,"value":2572},"Correct approach",{"type":52,"tag":2574,"props":2575,"children":2576},"tbody",{},[2577,2598,2616,2647,2667,2680],{"type":52,"tag":2559,"props":2578,"children":2579},{},[2580,2593],{"type":52,"tag":2581,"props":2582,"children":2583},"td",{},[2584,2586,2591],{"type":58,"value":2585},"Missing ",{"type":52,"tag":82,"props":2587,"children":2589},{"className":2588},[],[2590],{"type":58,"value":131},{"type":58,"value":2592}," wrapper",{"type":52,"tag":2581,"props":2594,"children":2595},{},[2596],{"type":58,"value":2597},"Wrap app root with the provider",{"type":52,"tag":2559,"props":2599,"children":2600},{},[2601,2606],{"type":52,"tag":2581,"props":2602,"children":2603},{},[2604],{"type":58,"value":2605},"Not waiting for transaction after submit",{"type":52,"tag":2581,"props":2607,"children":2608},{},[2609,2610],{"type":58,"value":196},{"type":52,"tag":82,"props":2611,"children":2613},{"className":2612},[],[2614],{"type":58,"value":2615},"aptos.waitForTransaction()",{"type":52,"tag":2559,"props":2617,"children":2618},{},[2619,2631],{"type":52,"tag":2581,"props":2620,"children":2621},{},[2622,2624,2629],{"type":58,"value":2623},"Using SDK ",{"type":52,"tag":82,"props":2625,"children":2627},{"className":2626},[],[2628],{"type":58,"value":186},{"type":58,"value":2630}," in React",{"type":52,"tag":2581,"props":2632,"children":2633},{},[2634,2635,2640,2642],{"type":58,"value":165},{"type":52,"tag":82,"props":2636,"children":2638},{"className":2637},[],[2639],{"type":58,"value":171},{"type":58,"value":2641}," from ",{"type":52,"tag":82,"props":2643,"children":2645},{"className":2644},[],[2646],{"type":58,"value":139},{"type":52,"tag":2559,"props":2648,"children":2649},{},[2650,2662],{"type":52,"tag":2581,"props":2651,"children":2652},{},[2653,2655,2660],{"type":58,"value":2654},"Using ",{"type":52,"tag":82,"props":2656,"children":2658},{"className":2657},[],[2659],{"type":58,"value":229},{"type":58,"value":2661}," in frontend",{"type":52,"tag":2581,"props":2663,"children":2664},{},[2665],{"type":58,"value":2666},"Use wallet adapter; generate only in server\u002Fscripts",{"type":52,"tag":2559,"props":2668,"children":2669},{},[2670,2675],{"type":52,"tag":2581,"props":2671,"children":2672},{},[2673],{"type":58,"value":2674},"Not handling user rejection",{"type":52,"tag":2581,"props":2676,"children":2677},{},[2678],{"type":58,"value":2679},"Catch and check for rejection-related error messages",{"type":52,"tag":2559,"props":2681,"children":2682},{},[2683,2688],{"type":52,"tag":2581,"props":2684,"children":2685},{},[2686],{"type":58,"value":2687},"Hardcoding wallet names",{"type":52,"tag":2581,"props":2689,"children":2690},{},[2691,2692,2697,2698,2703],{"type":58,"value":108},{"type":52,"tag":82,"props":2693,"children":2695},{"className":2694},[],[2696],{"type":58,"value":272},{"type":58,"value":274},{"type":52,"tag":82,"props":2699,"children":2701},{"className":2700},[],[2702],{"type":58,"value":139},{"type":58,"value":2704}," for dynamic list",{"type":52,"tag":283,"props":2706,"children":2707},{},[],{"type":52,"tag":61,"props":2709,"children":2711},{"id":2710},"references",[2712],{"type":58,"value":2713},"References",{"type":52,"tag":2715,"props":2716,"children":2717},"ul",{},[2718,2731,2742],{"type":52,"tag":101,"props":2719,"children":2720},{},[2721,2723],{"type":58,"value":2722},"Wallet Adapter: ",{"type":52,"tag":2724,"props":2725,"children":2729},"a",{"href":2726,"rel":2727},"https:\u002F\u002Faptos.dev\u002Fbuild\u002Fsdks\u002Fwallet-adapter\u002Fdapp",[2728],"nofollow",[2730],{"type":58,"value":2726},{"type":52,"tag":101,"props":2732,"children":2733},{},[2734,2736],{"type":58,"value":2735},"Pattern: ",{"type":52,"tag":2724,"props":2737,"children":2739},{"href":2738},"..\u002F..\u002F..\u002F..\u002Fpatterns\u002Ffullstack\u002FTYPESCRIPT_SDK.md",[2740],{"type":58,"value":2741},"TYPESCRIPT_SDK.md",{"type":52,"tag":101,"props":2743,"children":2744},{},[2745,2747,2753,2755,2761,2762],{"type":58,"value":2746},"Related: ",{"type":52,"tag":2724,"props":2748,"children":2750},{"href":2749},"..\u002Fts-sdk-transactions\u002FSKILL.md",[2751],{"type":58,"value":2752},"ts-sdk-transactions",{"type":58,"value":2754},", ",{"type":52,"tag":2724,"props":2756,"children":2758},{"href":2757},"..\u002Fts-sdk-client\u002FSKILL.md",[2759],{"type":58,"value":2760},"ts-sdk-client",{"type":58,"value":1310},{"type":52,"tag":2724,"props":2763,"children":2765},{"href":2764},"..\u002Fuse-ts-sdk\u002FSKILL.md",[2766],{"type":58,"value":2767},"use-ts-sdk",{"type":52,"tag":2769,"props":2770,"children":2771},"style",{},[2772],{"type":58,"value":2773},"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":2775,"total":2523},[2776,2791,2806,2820,2834,2848,2862,2877,2891,2905,2915,2924],{"slug":2777,"name":2777,"fn":2778,"description":2779,"org":2780,"tags":2781,"stars":26,"repoUrl":27,"updatedAt":2790},"analyze-gas-optimization","optimize Aptos Move contracts for gas","Analyze and optimize Aptos Move contracts for gas efficiency, identifying expensive operations and suggesting optimizations. Triggers on: 'optimize gas', 'reduce gas costs', 'gas analysis', 'make contract cheaper', 'gas efficiency', 'analyze gas usage', 'reduce transaction costs'.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2782,2784,2787],{"name":2783,"slug":33,"type":16},"Blockchain",{"name":2785,"slug":2786,"type":16},"Performance","performance",{"name":2788,"slug":2789,"type":16},"Smart Contracts","smart-contracts","2026-07-12T08:07:14.117466",{"slug":2792,"name":2792,"fn":2793,"description":2794,"org":2795,"tags":2796,"stars":26,"repoUrl":27,"updatedAt":2805},"create-aptos-project","scaffold new Aptos dApp projects","Scaffolds new Aptos projects using npx create-aptos-dapp. Supports fullstack (Vite or Next.js) and contract-only templates with network selection and optional API key. Triggers on: 'build app', 'create app', 'make app', 'new app', 'build dApp', 'create dApp', 'new dApp', 'build project', 'new project', 'create project', 'scaffold', 'start project', 'set up project', 'build me a', 'I want to build', 'make me a', 'help me build'.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2797,2800,2801,2804],{"name":2798,"slug":2799,"type":16},"Next.js","next-js",{"name":18,"slug":19,"type":16},{"name":2802,"slug":2803,"type":16},"Vite","vite",{"name":21,"slug":22,"type":16},"2026-07-12T08:07:30.595111",{"slug":2807,"name":2807,"fn":2808,"description":2809,"org":2810,"tags":2811,"stars":26,"repoUrl":27,"updatedAt":2819},"deploy-contracts","deploy Move contracts to Aptos networks","Safely deploys Move contracts to Aptos networks (devnet, testnet, mainnet) with pre-deployment verification. Triggers on: 'deploy contract', 'publish to testnet', 'deploy to mainnet', 'how to deploy', 'publish module', 'deployment checklist', 'deploy to devnet'.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2812,2815,2818],{"name":2813,"slug":2814,"type":16},"Deployment","deployment",{"name":2816,"slug":2817,"type":16},"Engineering","engineering",{"name":2788,"slug":2789,"type":16},"2026-07-12T08:07:16.798352",{"slug":2821,"name":2821,"fn":2822,"description":2823,"org":2824,"tags":2825,"stars":26,"repoUrl":27,"updatedAt":2833},"generate-tests","generate test suites for Move contracts","Creates comprehensive test suites for Move contracts with 100% coverage requirement. Triggers on: 'generate tests', 'create tests', 'write test suite', 'test this contract', 'how to test', 'add test coverage', 'write unit tests'.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2826,2827,2830],{"name":2816,"slug":2817,"type":16},{"name":2828,"slug":2829,"type":16},"QA","qa",{"name":2831,"slug":2832,"type":16},"Testing","testing","2026-07-12T08:07:18.0205",{"slug":2835,"name":2835,"fn":2836,"description":2837,"org":2838,"tags":2839,"stars":26,"repoUrl":27,"updatedAt":2847},"modernize-move","modernize Move V1 contracts to V2","Detects and modernizes outdated Move V1 syntax, patterns, and APIs to Move V2+. Use when upgrading legacy contracts, migrating to modern syntax, or converting old patterns to current best practices. NOT for writing new contracts (use write-contracts) or fixing bugs.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2840,2843,2844],{"name":2841,"slug":2842,"type":16},"Code Analysis","code-analysis",{"name":2816,"slug":2817,"type":16},{"name":2845,"slug":2846,"type":16},"Migration","migration","2026-07-12T08:07:10.226223",{"slug":2849,"name":2849,"fn":2850,"description":2851,"org":2852,"tags":2853,"stars":26,"repoUrl":27,"updatedAt":2861},"search-aptos-examples","search Aptos reference implementations","Searches aptos-core and daily-move for reference implementations before writing contracts. Triggers on: 'search examples', 'find example', 'check aptos-core', 'is there an example', 'reference implementation', 'how does aptos implement', 'similar contract', 'daily-move'.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2854,2855,2858],{"name":2783,"slug":33,"type":16},{"name":2856,"slug":2857,"type":16},"Documentation","documentation",{"name":2859,"slug":2860,"type":16},"Search","search","2026-07-12T08:07:15.382039",{"slug":2863,"name":2863,"fn":2864,"description":2865,"org":2866,"tags":2867,"stars":26,"repoUrl":27,"updatedAt":2876},"security-audit","audit Move smart contracts for security","Audits Move contracts for security vulnerabilities before deployment using 7-category checklist. Triggers on: 'audit contract', 'security check', 'review security', 'check for vulnerabilities', 'security audit', 'is this secure', 'find security issues'.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2868,2871,2872,2875],{"name":2869,"slug":2870,"type":16},"Audit","audit",{"name":2841,"slug":2842,"type":16},{"name":2873,"slug":2874,"type":16},"Security","security",{"name":2788,"slug":2789,"type":16},"2026-07-12T08:07:11.680215",{"slug":2878,"name":2878,"fn":2879,"description":2880,"org":2881,"tags":2882,"stars":26,"repoUrl":27,"updatedAt":2890},"smoothsend-gasless","sponsor gas fees for Aptos dApps","How to sponsor gas fees for Aptos dApp users using SmoothSend. Paid commercial service: free on testnet, credit-based on mainnet. Covers 3-line wallet adapter integration (transactionSubmitter), Script Composer for fee-in-token stablecoin transfers. Triggers on: 'gasless', 'sponsor gas', 'users pay no APT', 'transactionSubmitter', 'SmoothSend', 'fee payer', 'pay gas for users', 'no gas required'.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2883,2886,2889],{"name":2884,"slug":2885,"type":16},"API Development","api-development",{"name":2887,"slug":2888,"type":16},"Payments","payments",{"name":21,"slug":22,"type":16},"2026-07-12T08:07:31.843242",{"slug":2892,"name":2892,"fn":2893,"description":2894,"org":2895,"tags":2896,"stars":26,"repoUrl":27,"updatedAt":2904},"ts-sdk-account","manage Aptos accounts with TS SDK","How to create and use Account (signer) in @aptos-labs\u002Fts-sdk. Covers Account.generate(), fromPrivateKey(), fromDerivationPath(), Ed25519 vs SingleKey vs MultiKey vs Keyless, serialization (fromHex\u002FtoHex). Triggers on: 'Account.generate', 'Account.fromPrivateKey', 'Ed25519PrivateKey', 'SDK account', 'mnemonic', 'SingleKeyAccount', 'KeylessAccount'.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2897,2900,2901,2903],{"name":2898,"slug":2899,"type":16},"Auth","auth",{"name":2783,"slug":33,"type":16},{"name":2902,"slug":43,"type":16},"SDK",{"name":18,"slug":19,"type":16},"2026-07-12T08:07:29.297415",{"slug":2906,"name":2906,"fn":2907,"description":2908,"org":2909,"tags":2910,"stars":26,"repoUrl":27,"updatedAt":2914},"ts-sdk-address","manage AccountAddress in Aptos TypeScript SDK","How to create and use AccountAddress in @aptos-labs\u002Fts-sdk. Covers address format (AIP-40), from\u002FfromString\u002FfromStrict, special addresses, LONG vs SHORT form, and derived addresses (object, resource, token, user-derived). Triggers on: 'AccountAddress', 'AccountAddress.from', 'AIP-40', 'derived address', 'createObjectAddress', 'createResourceAddress', 'createTokenAddress'.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2911,2912,2913],{"name":2783,"slug":33,"type":16},{"name":2902,"slug":43,"type":16},{"name":18,"slug":19,"type":16},"2026-07-12T08:07:26.430378",{"slug":2760,"name":2760,"fn":2916,"description":2917,"org":2918,"tags":2919,"stars":26,"repoUrl":27,"updatedAt":2923},"configure Aptos SDK clients","How to create and configure the Aptos client (Aptos, AptosConfig) in @aptos-labs\u002Fts-sdk. Covers Network, fullnode\u002Findexer\u002Ffaucet URLs, singleton pattern, and Bun compatibility. Triggers on: 'Aptos client', 'AptosConfig', 'SDK client', 'client setup', 'new Aptos(', 'Network.TESTNET', 'Network.MAINNET'.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2920,2921,2922],{"name":2884,"slug":2885,"type":16},{"name":2902,"slug":43,"type":16},{"name":18,"slug":19,"type":16},"2026-07-12T08:07:21.933342",{"slug":2752,"name":2752,"fn":2925,"description":2926,"org":2927,"tags":2928,"stars":26,"repoUrl":27,"updatedAt":2932},"manage Aptos blockchain transactions","How to build, sign, submit, and simulate transactions in @aptos-labs\u002Fts-sdk. Covers build.simple(), signAndSubmitTransaction(), waitForTransaction(), simulate, sponsored (fee payer), and multi-agent. Triggers on: 'build.simple', 'signAndSubmitTransaction', 'transaction.build', 'waitForTransaction', 'signAsFeePayer', 'SDK transaction', 'sponsored transaction', 'multi-agent transaction'.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2929,2930,2931],{"name":2884,"slug":2885,"type":16},{"name":18,"slug":19,"type":16},{"name":21,"slug":22,"type":16},"2026-07-12T08:07:23.774257",{"items":2934,"total":736},[2935,2941,2948,2954,2960,2966,2972],{"slug":2777,"name":2777,"fn":2778,"description":2779,"org":2936,"tags":2937,"stars":26,"repoUrl":27,"updatedAt":2790},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2938,2939,2940],{"name":2783,"slug":33,"type":16},{"name":2785,"slug":2786,"type":16},{"name":2788,"slug":2789,"type":16},{"slug":2792,"name":2792,"fn":2793,"description":2794,"org":2942,"tags":2943,"stars":26,"repoUrl":27,"updatedAt":2805},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2944,2945,2946,2947],{"name":2798,"slug":2799,"type":16},{"name":18,"slug":19,"type":16},{"name":2802,"slug":2803,"type":16},{"name":21,"slug":22,"type":16},{"slug":2807,"name":2807,"fn":2808,"description":2809,"org":2949,"tags":2950,"stars":26,"repoUrl":27,"updatedAt":2819},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2951,2952,2953],{"name":2813,"slug":2814,"type":16},{"name":2816,"slug":2817,"type":16},{"name":2788,"slug":2789,"type":16},{"slug":2821,"name":2821,"fn":2822,"description":2823,"org":2955,"tags":2956,"stars":26,"repoUrl":27,"updatedAt":2833},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2957,2958,2959],{"name":2816,"slug":2817,"type":16},{"name":2828,"slug":2829,"type":16},{"name":2831,"slug":2832,"type":16},{"slug":2835,"name":2835,"fn":2836,"description":2837,"org":2961,"tags":2962,"stars":26,"repoUrl":27,"updatedAt":2847},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2963,2964,2965],{"name":2841,"slug":2842,"type":16},{"name":2816,"slug":2817,"type":16},{"name":2845,"slug":2846,"type":16},{"slug":2849,"name":2849,"fn":2850,"description":2851,"org":2967,"tags":2968,"stars":26,"repoUrl":27,"updatedAt":2861},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2969,2970,2971],{"name":2783,"slug":33,"type":16},{"name":2856,"slug":2857,"type":16},{"name":2859,"slug":2860,"type":16},{"slug":2863,"name":2863,"fn":2864,"description":2865,"org":2973,"tags":2974,"stars":26,"repoUrl":27,"updatedAt":2876},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2975,2976,2977,2978],{"name":2869,"slug":2870,"type":16},{"name":2841,"slug":2842,"type":16},{"name":2873,"slug":2874,"type":16},{"name":2788,"slug":2789,"type":16}]