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