3:I[50200,[],""] 5:I[72888,[],""] 6:I[20565,["924","static/chunks/924-9b288a3e7649fef0.js","45","static/chunks/45-1294e8d3913dcaae.js","185","static/chunks/app/layout-e10737454ab00367.js"],"Theme"] 7:I[17051,["911","static/chunks/cff26bbf-8c0455ff1778be20.js","567","static/chunks/2670e29a-254f21884cc8db2b.js","977","static/chunks/1311dc6c-860c92853ee66e29.js","939","static/chunks/fb37554d-4c33b9e5e9d9c4ea.js","701","static/chunks/e2908a71-9885ade59aa6a5f5.js","689","static/chunks/fa53cd88-198aeaa2f51a3320.js","694","static/chunks/694-beddaae0408bd717.js","284","static/chunks/284-4fd62594f09a08c2.js","924","static/chunks/924-9b288a3e7649fef0.js","691","static/chunks/691-4f02b293450b28e5.js","821","static/chunks/821-8d28c0d35a379a3d.js","213","static/chunks/213-89037468e9ed8292.js","483","static/chunks/483-154e8d2e657430f1.js","877","static/chunks/app/%5B...slug%5D/page-8e328ed1115fd327.js"],"SectionProvider"] 8:I[65438,["911","static/chunks/cff26bbf-8c0455ff1778be20.js","567","static/chunks/2670e29a-254f21884cc8db2b.js","977","static/chunks/1311dc6c-860c92853ee66e29.js","939","static/chunks/fb37554d-4c33b9e5e9d9c4ea.js","701","static/chunks/e2908a71-9885ade59aa6a5f5.js","689","static/chunks/fa53cd88-198aeaa2f51a3320.js","694","static/chunks/694-beddaae0408bd717.js","284","static/chunks/284-4fd62594f09a08c2.js","924","static/chunks/924-9b288a3e7649fef0.js","691","static/chunks/691-4f02b293450b28e5.js","821","static/chunks/821-8d28c0d35a379a3d.js","213","static/chunks/213-89037468e9ed8292.js","483","static/chunks/483-154e8d2e657430f1.js","877","static/chunks/app/%5B...slug%5D/page-8e328ed1115fd327.js"],"RouteCheck"] 9:I[25377,["911","static/chunks/cff26bbf-8c0455ff1778be20.js","567","static/chunks/2670e29a-254f21884cc8db2b.js","977","static/chunks/1311dc6c-860c92853ee66e29.js","939","static/chunks/fb37554d-4c33b9e5e9d9c4ea.js","701","static/chunks/e2908a71-9885ade59aa6a5f5.js","689","static/chunks/fa53cd88-198aeaa2f51a3320.js","694","static/chunks/694-beddaae0408bd717.js","284","static/chunks/284-4fd62594f09a08c2.js","924","static/chunks/924-9b288a3e7649fef0.js","691","static/chunks/691-4f02b293450b28e5.js","821","static/chunks/821-8d28c0d35a379a3d.js","213","static/chunks/213-89037468e9ed8292.js","483","static/chunks/483-154e8d2e657430f1.js","877","static/chunks/app/%5B...slug%5D/page-8e328ed1115fd327.js"],"Header"] a:I[69762,["911","static/chunks/cff26bbf-8c0455ff1778be20.js","567","static/chunks/2670e29a-254f21884cc8db2b.js","977","static/chunks/1311dc6c-860c92853ee66e29.js","939","static/chunks/fb37554d-4c33b9e5e9d9c4ea.js","701","static/chunks/e2908a71-9885ade59aa6a5f5.js","689","static/chunks/fa53cd88-198aeaa2f51a3320.js","694","static/chunks/694-beddaae0408bd717.js","284","static/chunks/284-4fd62594f09a08c2.js","924","static/chunks/924-9b288a3e7649fef0.js","691","static/chunks/691-4f02b293450b28e5.js","821","static/chunks/821-8d28c0d35a379a3d.js","213","static/chunks/213-89037468e9ed8292.js","483","static/chunks/483-154e8d2e657430f1.js","877","static/chunks/app/%5B...slug%5D/page-8e328ed1115fd327.js"],"Sidebar"] b:I[9602,["911","static/chunks/cff26bbf-8c0455ff1778be20.js","567","static/chunks/2670e29a-254f21884cc8db2b.js","977","static/chunks/1311dc6c-860c92853ee66e29.js","939","static/chunks/fb37554d-4c33b9e5e9d9c4ea.js","701","static/chunks/e2908a71-9885ade59aa6a5f5.js","689","static/chunks/fa53cd88-198aeaa2f51a3320.js","694","static/chunks/694-beddaae0408bd717.js","284","static/chunks/284-4fd62594f09a08c2.js","924","static/chunks/924-9b288a3e7649fef0.js","691","static/chunks/691-4f02b293450b28e5.js","821","static/chunks/821-8d28c0d35a379a3d.js","213","static/chunks/213-89037468e9ed8292.js","483","static/chunks/483-154e8d2e657430f1.js","877","static/chunks/app/%5B...slug%5D/page-8e328ed1115fd327.js"],"Breadcrumbs"] c:I[69327,["911","static/chunks/cff26bbf-8c0455ff1778be20.js","567","static/chunks/2670e29a-254f21884cc8db2b.js","977","static/chunks/1311dc6c-860c92853ee66e29.js","939","static/chunks/fb37554d-4c33b9e5e9d9c4ea.js","694","static/chunks/694-beddaae0408bd717.js","284","static/chunks/284-4fd62594f09a08c2.js","327","static/chunks/327-bff56f9bf74d8980.js","213","static/chunks/213-89037468e9ed8292.js","160","static/chunks/app/not-found-9ec62740c376cc12.js"],"Image"] d:I[35542,["911","static/chunks/cff26bbf-8c0455ff1778be20.js","567","static/chunks/2670e29a-254f21884cc8db2b.js","977","static/chunks/1311dc6c-860c92853ee66e29.js","939","static/chunks/fb37554d-4c33b9e5e9d9c4ea.js","701","static/chunks/e2908a71-9885ade59aa6a5f5.js","689","static/chunks/fa53cd88-198aeaa2f51a3320.js","694","static/chunks/694-beddaae0408bd717.js","284","static/chunks/284-4fd62594f09a08c2.js","924","static/chunks/924-9b288a3e7649fef0.js","691","static/chunks/691-4f02b293450b28e5.js","821","static/chunks/821-8d28c0d35a379a3d.js","213","static/chunks/213-89037468e9ed8292.js","483","static/chunks/483-154e8d2e657430f1.js","877","static/chunks/app/%5B...slug%5D/page-8e328ed1115fd327.js"],""] e:I[56322,["911","static/chunks/cff26bbf-8c0455ff1778be20.js","567","static/chunks/2670e29a-254f21884cc8db2b.js","977","static/chunks/1311dc6c-860c92853ee66e29.js","939","static/chunks/fb37554d-4c33b9e5e9d9c4ea.js","701","static/chunks/e2908a71-9885ade59aa6a5f5.js","689","static/chunks/fa53cd88-198aeaa2f51a3320.js","694","static/chunks/694-beddaae0408bd717.js","284","static/chunks/284-4fd62594f09a08c2.js","924","static/chunks/924-9b288a3e7649fef0.js","691","static/chunks/691-4f02b293450b28e5.js","821","static/chunks/821-8d28c0d35a379a3d.js","213","static/chunks/213-89037468e9ed8292.js","483","static/chunks/483-154e8d2e657430f1.js","877","static/chunks/app/%5B...slug%5D/page-8e328ed1115fd327.js"],"Feedback"] f:I[75619,["911","static/chunks/cff26bbf-8c0455ff1778be20.js","567","static/chunks/2670e29a-254f21884cc8db2b.js","977","static/chunks/1311dc6c-860c92853ee66e29.js","939","static/chunks/fb37554d-4c33b9e5e9d9c4ea.js","701","static/chunks/e2908a71-9885ade59aa6a5f5.js","689","static/chunks/fa53cd88-198aeaa2f51a3320.js","694","static/chunks/694-beddaae0408bd717.js","284","static/chunks/284-4fd62594f09a08c2.js","924","static/chunks/924-9b288a3e7649fef0.js","691","static/chunks/691-4f02b293450b28e5.js","821","static/chunks/821-8d28c0d35a379a3d.js","213","static/chunks/213-89037468e9ed8292.js","483","static/chunks/483-154e8d2e657430f1.js","877","static/chunks/app/%5B...slug%5D/page-8e328ed1115fd327.js"],"ContributeLink"] 4:["slug","web/quickstart","c"] 10:T47e,M16.238 4.515a14.842 14.842 0 0 0-3.664-1.136.055.055 0 0 0-.059.027 10.35 10.35 0 0 0-.456.938 13.702 13.702 0 0 0-4.115 0 9.479 9.479 0 0 0-.464-.938.058.058 0 0 0-.058-.027c-1.266.218-2.497.6-3.664 1.136a.052.052 0 0 0-.024.02C1.4 8.023.76 11.424 1.074 14.782a.062.062 0 0 0 .024.042 14.923 14.923 0 0 0 4.494 2.272.058.058 0 0 0 .064-.02c.346-.473.654-.972.92-1.496a.057.057 0 0 0-.032-.08 9.83 9.83 0 0 1-1.404-.669.058.058 0 0 1-.029-.046.058.058 0 0 1 .023-.05c.094-.07.189-.144.279-.218a.056.056 0 0 1 .058-.008c2.946 1.345 6.135 1.345 9.046 0a.056.056 0 0 1 .059.007c.09.074.184.149.28.22a.058.058 0 0 1 .023.049.059.059 0 0 1-.028.046 9.224 9.224 0 0 1-1.405.669.058.058 0 0 0-.033.033.056.056 0 0 0 .002.047c.27.523.58 1.022.92 1.495a.056.056 0 0 0 .062.021 14.878 14.878 0 0 0 4.502-2.272.055.055 0 0 0 .016-.018.056.056 0 0 0 .008-.023c.375-3.883-.63-7.256-2.662-10.246a.046.046 0 0 0-.023-.021Zm-9.223 8.221c-.887 0-1.618-.814-1.618-1.814s.717-1.814 1.618-1.814c.908 0 1.632.821 1.618 1.814 0 1-.717 1.814-1.618 1.814Zm5.981 0c-.887 0-1.618-.814-1.618-1.814s.717-1.814 1.618-1.814c.908 0 1.632.821 1.618 1.814 0 1-.71 1.814-1.618 1.814Z0:["YaM7wNFVIwRdNdGfmqd4D",[[["",{"children":[["slug","web/quickstart","c"],{"children":["__PAGE__?{\"slug\":[\"web\",\"quickstart\"]}",{}]}]},"$undefined","$undefined",true],["",{"children":[["slug","web/quickstart","c"],{"children":["__PAGE__",{},[["$L1","$L2",null],null],null]},[null,["$","$L3",null,{"parallelRouterKey":"children","segmentPath":["children","$4","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/40ab4cab4d9447b9.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/08e28b78fef21dfc.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"className":"not-system scrollbar","children":[["$","head",null,{"children":[["$","link",null,{"rel":"icon","href":"/favicon.ico","sizes":"any"}],["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"url\":\"https://docs.ens.domains\",\"name\":\"ENS Documentation\",\"description\":\"Documentation for the ENS protocol.\",\"potentialAction\":{\"@type\":\"SearchAction\",\"target\":\"https://docs.ens.domains?q={search_term_string}\",\"query-input\":\"required name=search_term_string\"}}"}}]]}],["$","body",null,{"className":"bg-ens-light-background-primary text-ens-light-text-primary dark:bg-ens-dark-background-primary dark:text-ens-dark-text-primary","children":[["$","$L6",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":["$","$L7",null,{"sections":"$undefined","children":["$","div",null,{"className":"h-full","id":"app","children":[["$","$L8",null,{"slug":"/"}],["$","$L9",null,{}],["$","$La",null,{}],["$","div",null,{"className":"relative mt-16 lg:mt-16","children":["$","div",null,{"className":"lg:ml-72 xl:ml-80","children":[false,["$","div",null,{"className":"px-6 lg:px-8","children":[["$","main",null,{"className":"relative my-4 space-y-4 py-4","children":[["$","div",null,{"className":"prose x text-ens-light-text-secondary dark:text-ens-dark-text-secondary","children":["$","$Lb",null,{}]}],["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"Article\",\"headline\":\"Not Found\",\"description\":\"ENS Documentation\",\"image\":\"https://docs.ens.domains/opengraph/.png\"}"}}],["$","article",null,{"className":"prose x dark:prose-invert","children":["$","div",null,{"className":"not-prose text-center","children":[["$","$Lc",null,{"alt":"Shrug","src":"/shrug.png","width":200,"height":200,"className":"mx-auto"}],["$","h1",null,{"className":"mt-4 text-2xl font-bold","children":"Article Not Found"}],["$","p",null,{"className":"mb-3","children":"It doesn't look like this page exists..."}],["$","$Ld",null,{"href":"/","target":"$undefined","onClick":"$undefined","className":"btn btn-blue-primary","disabled":false,"children":[["$","svg",null,{"viewBox":"0 0 20 20","fill":"none","aria-hidden":"true","className":"mt-0.5 h-5 w-5 -ml-1 rotate-180","children":["$","path",null,{"stroke":"currentColor","strokeLinecap":"round","strokeLinejoin":"round","d":"m11.5 6.5 3 3.5m0 0-3 3.5m3-3.5h-9"}]}],"Go to Home",false]}]]}]}],["$","div",null,{"className":"prose pt-8","children":"$undefined"}]]}],["$","div",null,{"className":"prose","children":["$","div",null,{"className":"notprose w-full","children":["$","footer",null,{"className":"w-full space-y-4 border-t border-t-ens-light-border pb-16 pt-4 dark:border-t-ens-dark-border","children":[["$","div",null,{"className":"flex flex-wrap items-end justify-between gap-2","children":[["$","$Le",null,{}],["$","div",null,{"className":"w-fit","children":["$","$Lf",null,{"url":"$undefined"}]}]]}],["$","div",null,{"className":"flex flex-col items-center justify-between gap-5 sm:flex-row","children":[["$","p",null,{"className":"text-xs text-ens-light-text-secondary dark:text-ens-dark-text-secondary","children":["© Copyright ",2024,". All rights reserved."]}],["$","div",null,{"className":"flex gap-4","children":[["$","$Ld",null,{"href":"https://x.com/ensdomains","className":"group","target":"_blank","rel":"nofollow","children":[["$","span",null,{"className":"sr-only","children":"Follow us on X"}],["$","svg",null,{"stroke":"currentColor","fill":"currentColor","strokeWidth":"0","viewBox":"0 0 512 512","className":"size-5 fill-zinc-700 transition group-hover:fill-zinc-900 dark:group-hover:fill-zinc-500","children":["$undefined",[["$","path","0",{"d":"M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z","children":[]}]]],"style":{"color":"$undefined"},"height":"1em","width":"1em","xmlns":"http://www.w3.org/2000/svg"}]]}],["$","$Ld",null,{"href":"https://github.com/ensdomains","className":"group","target":"_blank","rel":"nofollow","children":[["$","span",null,{"className":"sr-only","children":"Follow us on GitHub"}],["$","svg",null,{"viewBox":"0 0 20 20","aria-hidden":"true","className":"size-5 fill-zinc-700 transition group-hover:fill-zinc-900 dark:group-hover:fill-zinc-500","children":["$","path",null,{"fillRule":"evenodd","clipRule":"evenodd","d":"M10 1.667c-4.605 0-8.334 3.823-8.334 8.544 0 3.78 2.385 6.974 5.698 8.106.417.075.573-.182.573-.406 0-.203-.011-.875-.011-1.592-2.093.397-2.635-.522-2.802-1.002-.094-.246-.5-1.005-.854-1.207-.291-.16-.708-.556-.01-.567.656-.01 1.124.62 1.281.876.75 1.292 1.948.93 2.427.705.073-.555.291-.93.531-1.143-1.854-.213-3.791-.95-3.791-4.218 0-.929.322-1.698.854-2.296-.083-.214-.375-1.09.083-2.265 0 0 .698-.224 2.292.876a7.576 7.576 0 0 1 2.083-.288c.709 0 1.417.096 2.084.288 1.593-1.11 2.291-.875 2.291-.875.459 1.174.167 2.05.084 2.263.53.599.854 1.357.854 2.297 0 3.278-1.948 4.005-3.802 4.219.302.266.563.78.563 1.58 0 1.143-.011 2.061-.011 2.35 0 .224.156.491.573.405a8.365 8.365 0 0 0 4.11-3.116 8.707 8.707 0 0 0 1.567-4.99c0-4.721-3.73-8.545-8.334-8.545Z"}]}]]}],["$","$Ld",null,{"href":"https://chat.ens.domains","className":"group","target":"_blank","rel":"nofollow","children":[["$","span",null,{"className":"sr-only","children":"Join our Discord server"}],["$","svg",null,{"viewBox":"0 0 20 20","aria-hidden":"true","className":"size-5 fill-zinc-700 transition group-hover:fill-zinc-900 dark:group-hover:fill-zinc-500","children":["$","path",null,{"d":"$10"}]}]]}]]}]]}]]}]}]}]]}]]}]}]]}]}],"notFoundStyles":[]}]}],["$","script",null,{"defer":true,"data-domain":"docs.ens.domains","src":"https://ens.v3x.report/js/script.js"}],["$","script",null,{"defer":true,"data-domain":"docs.ens.domains","src":"https://plausible.io/js/script.js"}]]}]]}]],null],null],["$L11",null]]]] 12:I[30918,["911","static/chunks/cff26bbf-8c0455ff1778be20.js","567","static/chunks/2670e29a-254f21884cc8db2b.js","977","static/chunks/1311dc6c-860c92853ee66e29.js","939","static/chunks/fb37554d-4c33b9e5e9d9c4ea.js","701","static/chunks/e2908a71-9885ade59aa6a5f5.js","689","static/chunks/fa53cd88-198aeaa2f51a3320.js","694","static/chunks/694-beddaae0408bd717.js","284","static/chunks/284-4fd62594f09a08c2.js","924","static/chunks/924-9b288a3e7649fef0.js","691","static/chunks/691-4f02b293450b28e5.js","821","static/chunks/821-8d28c0d35a379a3d.js","213","static/chunks/213-89037468e9ed8292.js","483","static/chunks/483-154e8d2e657430f1.js","877","static/chunks/app/%5B...slug%5D/page-8e328ed1115fd327.js"],"Heading"] 17:I[22419,["911","static/chunks/cff26bbf-8c0455ff1778be20.js","567","static/chunks/2670e29a-254f21884cc8db2b.js","977","static/chunks/1311dc6c-860c92853ee66e29.js","939","static/chunks/fb37554d-4c33b9e5e9d9c4ea.js","701","static/chunks/e2908a71-9885ade59aa6a5f5.js","689","static/chunks/fa53cd88-198aeaa2f51a3320.js","694","static/chunks/694-beddaae0408bd717.js","284","static/chunks/284-4fd62594f09a08c2.js","924","static/chunks/924-9b288a3e7649fef0.js","691","static/chunks/691-4f02b293450b28e5.js","821","static/chunks/821-8d28c0d35a379a3d.js","213","static/chunks/213-89037468e9ed8292.js","483","static/chunks/483-154e8d2e657430f1.js","877","static/chunks/app/%5B...slug%5D/page-8e328ed1115fd327.js"],"LanguageSwitcher"] 18:I[33885,["911","static/chunks/cff26bbf-8c0455ff1778be20.js","567","static/chunks/2670e29a-254f21884cc8db2b.js","977","static/chunks/1311dc6c-860c92853ee66e29.js","939","static/chunks/fb37554d-4c33b9e5e9d9c4ea.js","701","static/chunks/e2908a71-9885ade59aa6a5f5.js","689","static/chunks/fa53cd88-198aeaa2f51a3320.js","694","static/chunks/694-beddaae0408bd717.js","284","static/chunks/284-4fd62594f09a08c2.js","924","static/chunks/924-9b288a3e7649fef0.js","691","static/chunks/691-4f02b293450b28e5.js","821","static/chunks/821-8d28c0d35a379a3d.js","213","static/chunks/213-89037468e9ed8292.js","483","static/chunks/483-154e8d2e657430f1.js","877","static/chunks/app/%5B...slug%5D/page-8e328ed1115fd327.js"],"CopyButton"] 21:I[50011,["911","static/chunks/cff26bbf-8c0455ff1778be20.js","567","static/chunks/2670e29a-254f21884cc8db2b.js","977","static/chunks/1311dc6c-860c92853ee66e29.js","939","static/chunks/fb37554d-4c33b9e5e9d9c4ea.js","701","static/chunks/e2908a71-9885ade59aa6a5f5.js","689","static/chunks/fa53cd88-198aeaa2f51a3320.js","694","static/chunks/694-beddaae0408bd717.js","284","static/chunks/284-4fd62594f09a08c2.js","924","static/chunks/924-9b288a3e7649fef0.js","691","static/chunks/691-4f02b293450b28e5.js","821","static/chunks/821-8d28c0d35a379a3d.js","213","static/chunks/213-89037468e9ed8292.js","483","static/chunks/483-154e8d2e657430f1.js","877","static/chunks/app/%5B...slug%5D/page-8e328ed1115fd327.js"],"NameLookupDemo"] 13:Tb0c,M418.2 177.2c-5.4-1.8-10.8-3.5-16.2-5.1.9-3.7 1.7-7.4 2.5-11.1 12.3-59.6 4.2-107.5-23.1-123.3-26.3-15.1-69.2.6-112.6 38.4-4.3 3.7-8.5 7.6-12.5 11.5-2.7-2.6-5.5-5.2-8.3-7.7-45.5-40.4-91.1-57.4-118.4-41.5-26.2 15.2-34 60.3-23 116.7 1.1 5.6 2.3 11.1 3.7 16.7-6.4 1.8-12.7 3.8-18.6 5.9C38.3 196.2 0 225.4 0 255.6c0 31.2 40.8 62.5 96.3 81.5 4.5 1.5 9 3 13.6 4.3-1.5 6-2.8 11.9-4 18-10.5 55.5-2.3 99.5 23.9 114.6 27 15.6 72.4-.4 116.6-39.1 3.5-3.1 7-6.3 10.5-9.7 4.4 4.3 9 8.4 13.6 12.4 42.8 36.8 85.1 51.7 111.2 36.6 27-15.6 35.8-62.9 24.4-120.5-.9-4.4-1.9-8.9-3-13.5 3.2-.9 6.3-1.9 9.4-2.9 57.7-19.1 99.5-50 99.5-81.7 0-30.3-39.4-59.7-93.8-78.4zM282.9 92.3c37.2-32.4 71.9-45.1 87.7-36 16.9 9.7 23.4 48.9 12.8 100.4-.7 3.4-1.4 6.7-2.3 10-22.2-5-44.7-8.6-67.3-10.6-13-18.6-27.2-36.4-42.6-53.1 3.9-3.7 7.7-7.2 11.7-10.7zM167.2 307.5c5.1 8.7 10.3 17.4 15.8 25.9-15.6-1.7-31.1-4.2-46.4-7.5 4.4-14.4 9.9-29.3 16.3-44.5 4.6 8.8 9.3 17.5 14.3 26.1zm-30.3-120.3c14.4-3.2 29.7-5.8 45.6-7.8-5.3 8.3-10.5 16.8-15.4 25.4-4.9 8.5-9.7 17.2-14.2 26-6.3-14.9-11.6-29.5-16-43.6zm27.4 68.9c6.6-13.8 13.8-27.3 21.4-40.6s15.8-26.2 24.4-38.9c15-1.1 30.3-1.7 45.9-1.7s31 .6 45.9 1.7c8.5 12.6 16.6 25.5 24.3 38.7s14.9 26.7 21.7 40.4c-6.7 13.8-13.9 27.4-21.6 40.8-7.6 13.3-15.7 26.2-24.2 39-14.9 1.1-30.4 1.6-46.1 1.6s-30.9-.5-45.6-1.4c-8.7-12.7-16.9-25.7-24.6-39s-14.8-26.8-21.5-40.6zm180.6 51.2c5.1-8.8 9.9-17.7 14.6-26.7 6.4 14.5 12 29.2 16.9 44.3-15.5 3.5-31.2 6.2-47 8 5.4-8.4 10.5-17 15.5-25.6zm14.4-76.5c-4.7-8.8-9.5-17.6-14.5-26.2-4.9-8.5-10-16.9-15.3-25.2 16.1 2 31.5 4.7 45.9 8-4.6 14.8-10 29.2-16.1 43.4zM256.2 118.3c10.5 11.4 20.4 23.4 29.6 35.8-19.8-.9-39.7-.9-59.5 0 9.8-12.9 19.9-24.9 29.9-35.8zM140.2 57c16.8-9.8 54.1 4.2 93.4 39 2.5 2.2 5 4.6 7.6 7-15.5 16.7-29.8 34.5-42.9 53.1-22.6 2-45 5.5-67.2 10.4-1.3-5.1-2.4-10.3-3.5-15.5-9.4-48.4-3.2-84.9 12.6-94zm-24.5 263.6c-4.2-1.2-8.3-2.5-12.4-3.9-21.3-6.7-45.5-17.3-63-31.2-10.1-7-16.9-17.8-18.8-29.9 0-18.3 31.6-41.7 77.2-57.6 5.7-2 11.5-3.8 17.3-5.5 6.8 21.7 15 43 24.5 63.6-9.6 20.9-17.9 42.5-24.8 64.5zm116.6 98c-16.5 15.1-35.6 27.1-56.4 35.3-11.1 5.3-23.9 5.8-35.3 1.3-15.9-9.2-22.5-44.5-13.5-92 1.1-5.6 2.3-11.2 3.7-16.7 22.4 4.8 45 8.1 67.9 9.8 13.2 18.7 27.7 36.6 43.2 53.4-3.2 3.1-6.4 6.1-9.6 8.9zm24.5-24.3c-10.2-11-20.4-23.2-30.3-36.3 9.6.4 19.5.6 29.5.6 10.3 0 20.4-.2 30.4-.7-9.2 12.7-19.1 24.8-29.6 36.4zm130.7 30c-.9 12.2-6.9 23.6-16.5 31.3-15.9 9.2-49.8-2.8-86.4-34.2-4.2-3.6-8.4-7.5-12.7-11.5 15.3-16.9 29.4-34.8 42.2-53.6 22.9-1.9 45.7-5.4 68.2-10.5 1 4.1 1.9 8.2 2.7 12.2 4.9 21.6 5.7 44.1 2.5 66.3zm18.2-107.5c-2.8.9-5.6 1.8-8.5 2.6-7-21.8-15.6-43.1-25.5-63.8 9.6-20.4 17.7-41.4 24.5-62.9 5.2 1.5 10.2 3.1 15 4.7 46.6 16 79.3 39.8 79.3 58 0 19.6-34.9 44.9-84.8 61.4zm-149.7-15c25.3 0 45.8-20.5 45.8-45.8s-20.5-45.8-45.8-45.8c-25.3 0-45.8 20.5-45.8 45.8s20.5 45.8 45.8 45.8z14:Tb0c,M418.2 177.2c-5.4-1.8-10.8-3.5-16.2-5.1.9-3.7 1.7-7.4 2.5-11.1 12.3-59.6 4.2-107.5-23.1-123.3-26.3-15.1-69.2.6-112.6 38.4-4.3 3.7-8.5 7.6-12.5 11.5-2.7-2.6-5.5-5.2-8.3-7.7-45.5-40.4-91.1-57.4-118.4-41.5-26.2 15.2-34 60.3-23 116.7 1.1 5.6 2.3 11.1 3.7 16.7-6.4 1.8-12.7 3.8-18.6 5.9C38.3 196.2 0 225.4 0 255.6c0 31.2 40.8 62.5 96.3 81.5 4.5 1.5 9 3 13.6 4.3-1.5 6-2.8 11.9-4 18-10.5 55.5-2.3 99.5 23.9 114.6 27 15.6 72.4-.4 116.6-39.1 3.5-3.1 7-6.3 10.5-9.7 4.4 4.3 9 8.4 13.6 12.4 42.8 36.8 85.1 51.7 111.2 36.6 27-15.6 35.8-62.9 24.4-120.5-.9-4.4-1.9-8.9-3-13.5 3.2-.9 6.3-1.9 9.4-2.9 57.7-19.1 99.5-50 99.5-81.7 0-30.3-39.4-59.7-93.8-78.4zM282.9 92.3c37.2-32.4 71.9-45.1 87.7-36 16.9 9.7 23.4 48.9 12.8 100.4-.7 3.4-1.4 6.7-2.3 10-22.2-5-44.7-8.6-67.3-10.6-13-18.6-27.2-36.4-42.6-53.1 3.9-3.7 7.7-7.2 11.7-10.7zM167.2 307.5c5.1 8.7 10.3 17.4 15.8 25.9-15.6-1.7-31.1-4.2-46.4-7.5 4.4-14.4 9.9-29.3 16.3-44.5 4.6 8.8 9.3 17.5 14.3 26.1zm-30.3-120.3c14.4-3.2 29.7-5.8 45.6-7.8-5.3 8.3-10.5 16.8-15.4 25.4-4.9 8.5-9.7 17.2-14.2 26-6.3-14.9-11.6-29.5-16-43.6zm27.4 68.9c6.6-13.8 13.8-27.3 21.4-40.6s15.8-26.2 24.4-38.9c15-1.1 30.3-1.7 45.9-1.7s31 .6 45.9 1.7c8.5 12.6 16.6 25.5 24.3 38.7s14.9 26.7 21.7 40.4c-6.7 13.8-13.9 27.4-21.6 40.8-7.6 13.3-15.7 26.2-24.2 39-14.9 1.1-30.4 1.6-46.1 1.6s-30.9-.5-45.6-1.4c-8.7-12.7-16.9-25.7-24.6-39s-14.8-26.8-21.5-40.6zm180.6 51.2c5.1-8.8 9.9-17.7 14.6-26.7 6.4 14.5 12 29.2 16.9 44.3-15.5 3.5-31.2 6.2-47 8 5.4-8.4 10.5-17 15.5-25.6zm14.4-76.5c-4.7-8.8-9.5-17.6-14.5-26.2-4.9-8.5-10-16.9-15.3-25.2 16.1 2 31.5 4.7 45.9 8-4.6 14.8-10 29.2-16.1 43.4zM256.2 118.3c10.5 11.4 20.4 23.4 29.6 35.8-19.8-.9-39.7-.9-59.5 0 9.8-12.9 19.9-24.9 29.9-35.8zM140.2 57c16.8-9.8 54.1 4.2 93.4 39 2.5 2.2 5 4.6 7.6 7-15.5 16.7-29.8 34.5-42.9 53.1-22.6 2-45 5.5-67.2 10.4-1.3-5.1-2.4-10.3-3.5-15.5-9.4-48.4-3.2-84.9 12.6-94zm-24.5 263.6c-4.2-1.2-8.3-2.5-12.4-3.9-21.3-6.7-45.5-17.3-63-31.2-10.1-7-16.9-17.8-18.8-29.9 0-18.3 31.6-41.7 77.2-57.6 5.7-2 11.5-3.8 17.3-5.5 6.8 21.7 15 43 24.5 63.6-9.6 20.9-17.9 42.5-24.8 64.5zm116.6 98c-16.5 15.1-35.6 27.1-56.4 35.3-11.1 5.3-23.9 5.8-35.3 1.3-15.9-9.2-22.5-44.5-13.5-92 1.1-5.6 2.3-11.2 3.7-16.7 22.4 4.8 45 8.1 67.9 9.8 13.2 18.7 27.7 36.6 43.2 53.4-3.2 3.1-6.4 6.1-9.6 8.9zm24.5-24.3c-10.2-11-20.4-23.2-30.3-36.3 9.6.4 19.5.6 29.5.6 10.3 0 20.4-.2 30.4-.7-9.2 12.7-19.1 24.8-29.6 36.4zm130.7 30c-.9 12.2-6.9 23.6-16.5 31.3-15.9 9.2-49.8-2.8-86.4-34.2-4.2-3.6-8.4-7.5-12.7-11.5 15.3-16.9 29.4-34.8 42.2-53.6 22.9-1.9 45.7-5.4 68.2-10.5 1 4.1 1.9 8.2 2.7 12.2 4.9 21.6 5.7 44.1 2.5 66.3zm18.2-107.5c-2.8.9-5.6 1.8-8.5 2.6-7-21.8-15.6-43.1-25.5-63.8 9.6-20.4 17.7-41.4 24.5-62.9 5.2 1.5 10.2 3.1 15 4.7 46.6 16 79.3 39.8 79.3 58 0 19.6-34.9 44.9-84.8 61.4zm-149.7-15c25.3 0 45.8-20.5 45.8-45.8s-20.5-45.8-45.8-45.8c-25.3 0-45.8 20.5-45.8 45.8s20.5 45.8 45.8 45.8z15:Tb0c,M418.2 177.2c-5.4-1.8-10.8-3.5-16.2-5.1.9-3.7 1.7-7.4 2.5-11.1 12.3-59.6 4.2-107.5-23.1-123.3-26.3-15.1-69.2.6-112.6 38.4-4.3 3.7-8.5 7.6-12.5 11.5-2.7-2.6-5.5-5.2-8.3-7.7-45.5-40.4-91.1-57.4-118.4-41.5-26.2 15.2-34 60.3-23 116.7 1.1 5.6 2.3 11.1 3.7 16.7-6.4 1.8-12.7 3.8-18.6 5.9C38.3 196.2 0 225.4 0 255.6c0 31.2 40.8 62.5 96.3 81.5 4.5 1.5 9 3 13.6 4.3-1.5 6-2.8 11.9-4 18-10.5 55.5-2.3 99.5 23.9 114.6 27 15.6 72.4-.4 116.6-39.1 3.5-3.1 7-6.3 10.5-9.7 4.4 4.3 9 8.4 13.6 12.4 42.8 36.8 85.1 51.7 111.2 36.6 27-15.6 35.8-62.9 24.4-120.5-.9-4.4-1.9-8.9-3-13.5 3.2-.9 6.3-1.9 9.4-2.9 57.7-19.1 99.5-50 99.5-81.7 0-30.3-39.4-59.7-93.8-78.4zM282.9 92.3c37.2-32.4 71.9-45.1 87.7-36 16.9 9.7 23.4 48.9 12.8 100.4-.7 3.4-1.4 6.7-2.3 10-22.2-5-44.7-8.6-67.3-10.6-13-18.6-27.2-36.4-42.6-53.1 3.9-3.7 7.7-7.2 11.7-10.7zM167.2 307.5c5.1 8.7 10.3 17.4 15.8 25.9-15.6-1.7-31.1-4.2-46.4-7.5 4.4-14.4 9.9-29.3 16.3-44.5 4.6 8.8 9.3 17.5 14.3 26.1zm-30.3-120.3c14.4-3.2 29.7-5.8 45.6-7.8-5.3 8.3-10.5 16.8-15.4 25.4-4.9 8.5-9.7 17.2-14.2 26-6.3-14.9-11.6-29.5-16-43.6zm27.4 68.9c6.6-13.8 13.8-27.3 21.4-40.6s15.8-26.2 24.4-38.9c15-1.1 30.3-1.7 45.9-1.7s31 .6 45.9 1.7c8.5 12.6 16.6 25.5 24.3 38.7s14.9 26.7 21.7 40.4c-6.7 13.8-13.9 27.4-21.6 40.8-7.6 13.3-15.7 26.2-24.2 39-14.9 1.1-30.4 1.6-46.1 1.6s-30.9-.5-45.6-1.4c-8.7-12.7-16.9-25.7-24.6-39s-14.8-26.8-21.5-40.6zm180.6 51.2c5.1-8.8 9.9-17.7 14.6-26.7 6.4 14.5 12 29.2 16.9 44.3-15.5 3.5-31.2 6.2-47 8 5.4-8.4 10.5-17 15.5-25.6zm14.4-76.5c-4.7-8.8-9.5-17.6-14.5-26.2-4.9-8.5-10-16.9-15.3-25.2 16.1 2 31.5 4.7 45.9 8-4.6 14.8-10 29.2-16.1 43.4zM256.2 118.3c10.5 11.4 20.4 23.4 29.6 35.8-19.8-.9-39.7-.9-59.5 0 9.8-12.9 19.9-24.9 29.9-35.8zM140.2 57c16.8-9.8 54.1 4.2 93.4 39 2.5 2.2 5 4.6 7.6 7-15.5 16.7-29.8 34.5-42.9 53.1-22.6 2-45 5.5-67.2 10.4-1.3-5.1-2.4-10.3-3.5-15.5-9.4-48.4-3.2-84.9 12.6-94zm-24.5 263.6c-4.2-1.2-8.3-2.5-12.4-3.9-21.3-6.7-45.5-17.3-63-31.2-10.1-7-16.9-17.8-18.8-29.9 0-18.3 31.6-41.7 77.2-57.6 5.7-2 11.5-3.8 17.3-5.5 6.8 21.7 15 43 24.5 63.6-9.6 20.9-17.9 42.5-24.8 64.5zm116.6 98c-16.5 15.1-35.6 27.1-56.4 35.3-11.1 5.3-23.9 5.8-35.3 1.3-15.9-9.2-22.5-44.5-13.5-92 1.1-5.6 2.3-11.2 3.7-16.7 22.4 4.8 45 8.1 67.9 9.8 13.2 18.7 27.7 36.6 43.2 53.4-3.2 3.1-6.4 6.1-9.6 8.9zm24.5-24.3c-10.2-11-20.4-23.2-30.3-36.3 9.6.4 19.5.6 29.5.6 10.3 0 20.4-.2 30.4-.7-9.2 12.7-19.1 24.8-29.6 36.4zm130.7 30c-.9 12.2-6.9 23.6-16.5 31.3-15.9 9.2-49.8-2.8-86.4-34.2-4.2-3.6-8.4-7.5-12.7-11.5 15.3-16.9 29.4-34.8 42.2-53.6 22.9-1.9 45.7-5.4 68.2-10.5 1 4.1 1.9 8.2 2.7 12.2 4.9 21.6 5.7 44.1 2.5 66.3zm18.2-107.5c-2.8.9-5.6 1.8-8.5 2.6-7-21.8-15.6-43.1-25.5-63.8 9.6-20.4 17.7-41.4 24.5-62.9 5.2 1.5 10.2 3.1 15 4.7 46.6 16 79.3 39.8 79.3 58 0 19.6-34.9 44.9-84.8 61.4zm-149.7-15c25.3 0 45.8-20.5 45.8-45.8s-20.5-45.8-45.8-45.8c-25.3 0-45.8 20.5-45.8 45.8s20.5 45.8 45.8 45.8z16:T5c1,M448 156.09c0-4.51-.08-9-.2-13.52a196.31 196.31 0 0 0-2.58-29.42 99.62 99.62 0 0 0-9.22-28A94.08 94.08 0 0 0 394.84 44a99.17 99.17 0 0 0-28-9.22 195 195 0 0 0-29.43-2.59c-4.51-.12-9-.17-13.52-.2H124.14c-4.51 0-9 .08-13.52.2-2.45.07-4.91.15-7.37.27a171.68 171.68 0 0 0-22.06 2.32 103.06 103.06 0 0 0-21.21 6.1q-3.46 1.45-6.81 3.12a94.66 94.66 0 0 0-18.39 12.32c-1.88 1.61-3.69 3.28-5.43 5A93.86 93.86 0 0 0 12 85.17a99.45 99.45 0 0 0-9.22 28 196.31 196.31 0 0 0-2.54 29.4c-.13 4.51-.18 9-.21 13.52v199.83c0 4.51.08 9 .21 13.51a196.08 196.08 0 0 0 2.58 29.42 99.3 99.3 0 0 0 9.22 28A94.31 94.31 0 0 0 53.17 468a99.47 99.47 0 0 0 28 9.21 195 195 0 0 0 29.43 2.59c4.5.12 9 .17 13.52.2H323.91c4.51 0 9-.08 13.52-.2a196.59 196.59 0 0 0 29.44-2.59 99.57 99.57 0 0 0 28-9.21A94.22 94.22 0 0 0 436 426.84a99.3 99.3 0 0 0 9.22-28 194.79 194.79 0 0 0 2.59-29.42c.12-4.5.17-9 .2-13.51V172.14c-.01-5.35-.01-10.7-.01-16.05zm-69.88 241c-20-38.93-57.23-29.27-76.31-19.47-1.72 1-3.48 2-5.25 3l-.42.25c-39.5 21-92.53 22.54-145.85-.38A234.64 234.64 0 0 1 45 290.12a230.63 230.63 0 0 0 39.17 23.37c56.36 26.4 113 24.49 153 0-57-43.85-104.6-101-141.09-147.22a197.09 197.09 0 0 1-18.78-25.9c43.7 40 112.7 90.22 137.48 104.12-52.57-55.49-98.89-123.94-96.72-121.74 82.79 83.42 159.18 130.59 159.18 130.59 2.88 1.58 5 2.85 6.73 4a127.44 127.44 0 0 0 4.16-12.47c13.22-48.33-1.66-103.58-35.31-149.2C329.61 141.75 375 229.34 356.4 303.42c-.44 1.73-.95 3.4-1.44 5.09 38.52 47.4 28.04 98.17 23.13 88.59z1a:["enstools","wagmi","react","viem","typescript","javascript"] 19:{"icon":"/icons/libraries/rainbow.svg","name":"Rainbowkit","language":"typescript","fallback":"$1a"} 1c:["enstools","react","viem","typescript","javascript"] 1b:{"icon":"/icons/libraries/wagmi.svg","name":"Wagmi","language":"typescript","fallback":"$1c"} 1d:{"icon":"/icons/libraries/go.svg","name":"Go","language":"go"} 1e:T535,import { ConnectButton } from '@rainbow-me/rainbowkit'; // Rainbowkit's ConnectButton includes a built-in user profile! export const YourApp = () => { return <ConnectButton />; }; 1f:T1bca,import { useAccount, useEnsName, useEnsAvatar } from 'wagmi'; import { formatAddress } from 'ens-tools'; export const YourApp: FC = () => { const { address } = useAccount(); const { data: name } = useEnsName({ address, chainId: 1 }); const { data: avatar } = useEnsAvatar({ name, chainId: 1 }); return ( <div className="flex items-center gap-2"> <img src={avatar || 'https://docs.ens.domains/fallback.svg'} className="w-8 h-8 rounded-full" /> <div className="flex flex-col gap-0 leading-3 pr-10"> {name && <span className="font-bold">{name}</span>} <span>{formatAddress(address)}</span> </div> </div> ); }; 20:T1094,package main import ( "fmt" "github.com/ethereum/go-ethereum/ethclient" ens "github.com/wealdtech/go-ens/v3" ) func main() { client, _ := ethclient.Dial("https://rpc.ankr.com/eth") domain, _ := ens.Normalize("luc.eth") resolver, _ := ens.NewResolver(client, domain) avatar, _ := resolver.Text("avatar") address, _ := resolver.Address() fmt.Printf("ENS: %s, Avatar: %s, Address: %s\n", domain, avatar, address.Hex()) // ENS: luc.eth, Avatar: https://ens.xyz/luc.eth, Address: 0x225f137127d9067788314bc7fcc1f36746a3c3B5 } 22:T1610,import { useAccount, useEnsAddress, useEnsAvatar, useEnsName } from 'wagmi'; import { normalize } from 'viem/ens'; import { formatAddress } from '@ens-tools/format'; export const NameLookup = () => { const name = normalize("luc.eth"); const { data: avatar } = useEnsAvatar({ name, chainId: 1 }); const { data: ethereum } = useEnsAddress({ name, coinType: 60, chainId: 1 }); return ( <div> {ethereum && formatAddress(ethereum)}<br /> {avatar && <img src={avatar} />} </div> ); }; 23:T214e,package main import ( "fmt" "github.com/ethereum/go-ethereum/ethclient" ens "github.com/wealdtech/go-ens/v3" ) var ( records = []string{ "com.twitter", "com.reddit", "com.github", "com.discord", "com.linkedin", "org.telegram", "url", "description", "avatar", "email", "location", } ) type EnsName struct { name string records map[string]string address string } func main() { client, _ := ethclient.Dial("https://rpc.ankr.com/eth") domain, _ := ens.Normalize("luc.eth") resolver, _ := ens.NewResolver(client, domain) address, _ := resolver.Address() name := EnsName{ name: domain, records: make(map[string]string), address: address.Hex(), } for _, record := range records { value, _ := resolver.Text(record) name.records[record] = value } fmt.Println(name) } 24:T47e,M16.238 4.515a14.842 14.842 0 0 0-3.664-1.136.055.055 0 0 0-.059.027 10.35 10.35 0 0 0-.456.938 13.702 13.702 0 0 0-4.115 0 9.479 9.479 0 0 0-.464-.938.058.058 0 0 0-.058-.027c-1.266.218-2.497.6-3.664 1.136a.052.052 0 0 0-.024.02C1.4 8.023.76 11.424 1.074 14.782a.062.062 0 0 0 .024.042 14.923 14.923 0 0 0 4.494 2.272.058.058 0 0 0 .064-.02c.346-.473.654-.972.92-1.496a.057.057 0 0 0-.032-.08 9.83 9.83 0 0 1-1.404-.669.058.058 0 0 1-.029-.046.058.058 0 0 1 .023-.05c.094-.07.189-.144.279-.218a.056.056 0 0 1 .058-.008c2.946 1.345 6.135 1.345 9.046 0a.056.056 0 0 1 .059.007c.09.074.184.149.28.22a.058.058 0 0 1 .023.049.059.059 0 0 1-.028.046 9.224 9.224 0 0 1-1.405.669.058.058 0 0 0-.033.033.056.056 0 0 0 .002.047c.27.523.58 1.022.92 1.495a.056.056 0 0 0 .062.021 14.878 14.878 0 0 0 4.502-2.272.055.055 0 0 0 .016-.018.056.056 0 0 0 .008-.023c.375-3.883-.63-7.256-2.662-10.246a.046.046 0 0 0-.023-.021Zm-9.223 8.221c-.887 0-1.618-.814-1.618-1.814s.717-1.814 1.618-1.814c.908 0 1.632.821 1.618 1.814 0 1-.717 1.814-1.618 1.814Zm5.981 0c-.887 0-1.618-.814-1.618-1.814s.717-1.814 1.618-1.814c.908 0 1.632.821 1.618 1.814 0 1-.71 1.814-1.618 1.814Z2:["$","$L7",null,{"sections":[{"title":"Starter Kits","navtitle":"","id":"starter-kits","indent":"0"},{"title":"Add to your dApp","navtitle":"","id":"add-to-your-d-app","indent":"0"},{"title":"Installation","navtitle":"","id":"installation","indent":"1"},{"title":"Showing the User Profile","navtitle":"","id":"showing-the-user-profile","indent":"1"},{"title":"Name Lookups","navtitle":"","id":"name-lookups","indent":"1"},{"title":"Still not sure?","navtitle":"","id":"still-not-sure","indent":"0"}],"children":["$","div",null,{"className":"h-full","id":"app","children":[["$","$L8",null,{"slug":"/web/quickstart"}],["$","$L9",null,{}],["$","$La",null,{}],["$","div",null,{"className":"relative mt-16 lg:mt-16","children":["$","div",null,{"className":"lg:ml-72 xl:ml-80","children":[["$","div",null,{"className":"fixed z-10 ml-4 hidden 2xl:block","style":{"left":"calc(50vw + 26rem)"},"children":["$","div",null,{"className":"m-4 p-4","children":[["$","div",null,{"className":"text-sm text-ens-light-text-secondary dark:text-ens-dark-text-secondary","children":"On this page"}],["$","ul",null,{"className":"text-sm","children":[["$","li",null,{"children":["$","$Ld",null,{"href":"#starter-kits","style":{"paddingLeft":"0rem"},"className":"hover:text-ens-light-blue-primary dark:hover:text-ens-dark-blue-primary","children":"Starter Kits"}]}],["$","li",null,{"children":["$","$Ld",null,{"href":"#add-to-your-d-app","style":{"paddingLeft":"0rem"},"className":"hover:text-ens-light-blue-primary dark:hover:text-ens-dark-blue-primary","children":"Add to your dApp"}]}],["$","li",null,{"children":["$","$Ld",null,{"href":"#installation","style":{"paddingLeft":"1rem"},"className":"hover:text-ens-light-blue-primary dark:hover:text-ens-dark-blue-primary","children":"Installation"}]}],["$","li",null,{"children":["$","$Ld",null,{"href":"#showing-the-user-profile","style":{"paddingLeft":"1rem"},"className":"hover:text-ens-light-blue-primary dark:hover:text-ens-dark-blue-primary","children":"Showing the User Profile"}]}],["$","li",null,{"children":["$","$Ld",null,{"href":"#name-lookups","style":{"paddingLeft":"1rem"},"className":"hover:text-ens-light-blue-primary dark:hover:text-ens-dark-blue-primary","children":"Name Lookups"}]}],["$","li",null,{"children":["$","$Ld",null,{"href":"#still-not-sure","style":{"paddingLeft":"0rem"},"className":"hover:text-ens-light-blue-primary dark:hover:text-ens-dark-blue-primary","children":"Still not sure?"}]}]]}]]}]}],["$","div",null,{"className":"px-6 lg:px-8","children":[["$","main",null,{"className":"relative my-4 space-y-4 py-4","children":[["$","div",null,{"className":"prose x text-ens-light-text-secondary dark:text-ens-dark-text-secondary","children":["$","$Lb",null,{}]}],["$","script",null,{"type":"application/ld+json","dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"Article\",\"headline\":\"Quickstart\",\"description\":\"Everything on one page\",\"image\":\"https://docs.ens.domains/opengraph/web/quickstart.png\",\"author\":[{\"@type\":\"Person\",\"name\":\"luc.eth\",\"url\":\"https://github.com/luc.eth\"}]}"}}],["$","article",null,{"className":"prose x dark:prose-invert","children":[["$","h1",null,{"children":"Quickstart"}],"\n",["$","p",null,{"children":["Hey there 👋, this is the quickstart guide. If you want to learn the process checkout ",["$","$Ld",null,{"href":"/web/","target":"$undefined","className":"my-0 inline-flex items-center gap-1","children":["everything about ENS in dApps","$undefined"]}],".\nIf you would rather just clone an example repository checkout these:"]}],"\n",["$","$L12",null,{"level":2,"id":"starter-kits","children":"Starter Kits"}],"\n",["$","div",null,{"className":"","children":["$","div",null,{"className":"not-prose xl:max-w-none","children":["$","div",null,{"className":"grid gap-3 sm:grid-cols-2 xl:grid-cols-3","children":[["$","div","ConnectKit",{"className":"not-prose card1 !m-0 flex w-full min-w-[12rem] flex-col items-stretch justify-center gap-4 p-4","children":[["$","div",null,{"className":"flex items-center justify-between gap-2","children":["$","div",null,{"className":"flex items-center gap-2","children":[["$","div",null,{"className":"flex aspect-square w-10 items-center","children":["$","img",null,{"src":"/icons/legacy/logos/connectkit.png","className":"w-10","alt":"ConnectKit"}]}],["$","div",null,{"className":"block text-left","children":[["$","div",null,{"className":"font-bold leading-4","children":"ConnectKit"}],["$","span",null,{"className":"block text-xs leading-3 text-zinc-500","children":["by"," ",["$","a",null,{"href":"https://family.co","className":"text-zinc-700 dark:text-zinc-100","target":"_blank","children":"Family"}]]}]]}]]}]}],["$","div",null,{"className":"grow text-left text-sm","children":["$","ul",null,{"children":[["$","li",null,{"className":"px-2","children":["$","a",null,{"href":"https://github.com/family/connectkit/tree/main/examples/cra","target":"_blank","className":"inline-flex items-center gap-1 text-blue-500 hover:underline","children":[["$","span",null,{"className":"h-fit","children":["$","svg",null,{"stroke":"currentColor","fill":"currentColor","strokeWidth":"0","viewBox":"0 0 512 512","children":["$undefined",[["$","path","0",{"d":"$13","children":[]}]]],"className":"$undefined","style":{"color":"$undefined"},"height":"1em","width":"1em","xmlns":"http://www.w3.org/2000/svg"}]}],"Create React App"]}]}],["$","li",null,{"className":"px-2","children":["$","a",null,{"href":"https://github.com/family/connectkit/tree/main/examples/vite","target":"_blank","className":"inline-flex items-center gap-1 text-blue-500 hover:underline","children":[["$","span",null,{"className":"h-fit","children":["$","svg",null,{"stroke":"currentColor","fill":"none","strokeWidth":"2","viewBox":"0 0 24 24","strokeLinecap":"round","strokeLinejoin":"round","children":["$undefined",[["$","path","0",{"stroke":"none","d":"M0 0h24v24H0z","fill":"none","children":[]}],["$","path","1",{"d":"M10 4.5l6 -1.5l-2 6.5l2 -.5l-4 7v-5l-3 1z","children":[]}],["$","path","2",{"d":"M15 6.5l7 -1.5l-10 17l-10 -17l7.741 1.5","children":[]}]]],"className":"$undefined","style":{"color":"$undefined"},"height":"1em","width":"1em","xmlns":"http://www.w3.org/2000/svg"}]}],"Vite + React"]}]}],["$","li",null,{"className":"px-2","children":["$","a",null,{"href":"https://github.com/family/connectkit/tree/main/examples/nextjs","target":"_blank","className":"inline-flex items-center gap-1 text-blue-500 hover:underline","children":[["$","span",null,{"className":"h-fit","children":["$","svg",null,{"stroke":"currentColor","fill":"none","strokeWidth":"2","viewBox":"0 0 24 24","strokeLinecap":"round","strokeLinejoin":"round","children":["$undefined",[["$","path","0",{"stroke":"none","d":"M0 0h24v24H0z","fill":"none","children":[]}],["$","path","1",{"d":"M9 15v-6l7.745 10.65a9 9 0 1 1 2.255 -1.993","children":[]}],["$","path","2",{"d":"M15 12v-3","children":[]}]]],"className":"$undefined","style":{"color":"$undefined"},"height":"1em","width":"1em","xmlns":"http://www.w3.org/2000/svg"}]}],"Next.js"]}]}],["$","li",null,{"className":"px-2","children":["$","a",null,{"href":"https://github.com/family/connectkit/tree/main/examples/nextjs-siwe","target":"_blank","className":"inline-flex items-center gap-1 text-blue-500 hover:underline","children":[["$","span",null,{"className":"h-fit","children":["$","svg",null,{"stroke":"currentColor","fill":"none","strokeWidth":"2","viewBox":"0 0 24 24","strokeLinecap":"round","strokeLinejoin":"round","children":["$undefined",[["$","path","0",{"stroke":"none","d":"M0 0h24v24H0z","fill":"none","children":[]}],["$","path","1",{"d":"M9 15v-6l7.745 10.65a9 9 0 1 1 2.255 -1.993","children":[]}],["$","path","2",{"d":"M15 12v-3","children":[]}]]],"className":"$undefined","style":{"color":"$undefined"},"height":"1em","width":"1em","xmlns":"http://www.w3.org/2000/svg"}]}],"Next.js + Siwe"]}]}]]}]}],["$","div",null,{"children":["$","div",null,{"children":["$","$Ld",null,{"href":"https://docs.family.co/connectkit/try-it-out","target":"_blank","onClick":"$undefined","className":"btn btn-blue-primary w-full","disabled":false,"children":[false,"Try it!",false]}]}]}]]}],["$","div","Rainbowkit",{"className":"not-prose card1 !m-0 flex w-full min-w-[12rem] flex-col items-stretch justify-center gap-4 p-4","children":[["$","div",null,{"className":"flex items-center justify-between gap-2","children":["$","div",null,{"className":"flex items-center gap-2","children":[["$","div",null,{"className":"flex aspect-square w-10 items-center","children":["$","img",null,{"src":"/icons/legacy/logos/rainbow.svg","className":"w-10 rounded-xl","alt":"Rainbowkit"}]}],["$","div",null,{"className":"block text-left","children":[["$","div",null,{"className":"font-bold leading-4","children":"Rainbowkit"}],["$","span",null,{"className":"block text-xs leading-3 text-zinc-500","children":["by"," ",["$","a",null,{"href":"https://rainbow.me","className":"text-zinc-700 dark:text-zinc-100","target":"_blank","children":"Rainbow"}]]}]]}]]}]}],["$","div",null,{"className":"grow text-left text-sm","children":["$","ul",null,{"children":[["$","li",null,{"className":"px-2","children":["$","a",null,{"href":"https://codesandbox.io/p/sandbox/github/rainbow-me/rainbowkit/tree/main/examples/with-create-react-app","target":"_blank","className":"inline-flex items-center gap-1 text-blue-500 hover:underline","children":[["$","span",null,{"className":"h-fit","children":["$","svg",null,{"stroke":"currentColor","fill":"currentColor","strokeWidth":"0","viewBox":"0 0 512 512","children":["$undefined",[["$","path","0",{"d":"$14","children":[]}]]],"className":"$undefined","style":{"color":"$undefined"},"height":"1em","width":"1em","xmlns":"http://www.w3.org/2000/svg"}]}],"Create React App"]}]}],["$","li",null,{"className":"px-2","children":["$","a",null,{"href":"https://codesandbox.io/p/sandbox/github/rainbow-me/rainbowkit/tree/main/examples/with-vite","target":"_blank","className":"inline-flex items-center gap-1 text-blue-500 hover:underline","children":[["$","span",null,{"className":"h-fit","children":["$","svg",null,{"stroke":"currentColor","fill":"none","strokeWidth":"2","viewBox":"0 0 24 24","strokeLinecap":"round","strokeLinejoin":"round","children":["$undefined",[["$","path","0",{"stroke":"none","d":"M0 0h24v24H0z","fill":"none","children":[]}],["$","path","1",{"d":"M10 4.5l6 -1.5l-2 6.5l2 -.5l-4 7v-5l-3 1z","children":[]}],["$","path","2",{"d":"M15 6.5l7 -1.5l-10 17l-10 -17l7.741 1.5","children":[]}]]],"className":"$undefined","style":{"color":"$undefined"},"height":"1em","width":"1em","xmlns":"http://www.w3.org/2000/svg"}]}],"Vite + React"]}]}],["$","li",null,{"className":"px-2","children":["$","a",null,{"href":"https://codesandbox.io/p/sandbox/github/rainbow-me/rainbowkit/tree/main/examples/with-next","target":"_blank","className":"inline-flex items-center gap-1 text-blue-500 hover:underline","children":[["$","span",null,{"className":"h-fit","children":["$","svg",null,{"stroke":"currentColor","fill":"none","strokeWidth":"2","viewBox":"0 0 24 24","strokeLinecap":"round","strokeLinejoin":"round","children":["$undefined",[["$","path","0",{"stroke":"none","d":"M0 0h24v24H0z","fill":"none","children":[]}],["$","path","1",{"d":"M9 15v-6l7.745 10.65a9 9 0 1 1 2.255 -1.993","children":[]}],["$","path","2",{"d":"M15 12v-3","children":[]}]]],"className":"$undefined","style":{"color":"$undefined"},"height":"1em","width":"1em","xmlns":"http://www.w3.org/2000/svg"}]}],"Next.js"]}]}],["$","li",null,{"className":"px-2","children":["$","a",null,{"href":"https://codesandbox.io/p/sandbox/github/rainbow-me/rainbowkit/tree/main/examples/with-next-app","target":"_blank","className":"inline-flex items-center gap-1 text-blue-500 hover:underline","children":[["$","span",null,{"className":"h-fit","children":["$","svg",null,{"stroke":"currentColor","fill":"none","strokeWidth":"2","viewBox":"0 0 24 24","strokeLinecap":"round","strokeLinejoin":"round","children":["$undefined",[["$","path","0",{"stroke":"none","d":"M0 0h24v24H0z","fill":"none","children":[]}],["$","path","1",{"d":"M9 15v-6l7.745 10.65a9 9 0 1 1 2.255 -1.993","children":[]}],["$","path","2",{"d":"M15 12v-3","children":[]}]]],"className":"$undefined","style":{"color":"$undefined"},"height":"1em","width":"1em","xmlns":"http://www.w3.org/2000/svg"}]}],"Next.js App Router"]}]}],["$","li",null,{"className":"px-2","children":["$","a",null,{"href":"https://codesandbox.io/p/sandbox/github/rainbow-me/rainbowkit/tree/main/examples/with-remix","target":"_blank","className":"inline-flex items-center gap-1 text-blue-500 hover:underline","children":[["$","span",null,{"className":"h-fit","children":["$","svg",null,{"stroke":"currentColor","fill":"currentColor","strokeWidth":"0","role":"img","viewBox":"0 0 24 24","children":["$undefined",[["$","path","0",{"d":"M21.511 18.508c.216 2.773.216 4.073.216 5.492H15.31c0-.309.006-.592.011-.878.018-.892.036-1.821-.109-3.698-.19-2.747-1.374-3.358-3.55-3.358H1.574v-5h10.396c2.748 0 4.122-.835 4.122-3.049 0-1.946-1.374-3.125-4.122-3.125H1.573V0h11.541c6.221 0 9.313 2.938 9.313 7.632 0 3.511-2.176 5.8-5.114 6.182 2.48.497 3.93 1.909 4.198 4.694ZM1.573 24v-3.727h6.784c1.133 0 1.379.84 1.379 1.342V24Z","children":[]}]]],"className":"$undefined","style":{"color":"$undefined"},"height":"1em","width":"1em","xmlns":"http://www.w3.org/2000/svg"}]}],"Remix"]}]}]]}]}],["$","div",null,{"children":["$","div",null,{"children":["$","$Ld",null,{"href":"https://rainbowkit-demo.vercel.app/","target":"_blank","onClick":"$undefined","className":"btn btn-blue-primary w-full","disabled":false,"children":[false,"Try it!",false]}]}]}]]}],["$","div","Web3Modalv2",{"className":"not-prose card1 !m-0 flex w-full min-w-[12rem] flex-col items-stretch justify-center gap-4 p-4","children":[["$","div",null,{"className":"flex items-center justify-between gap-2","children":["$","div",null,{"className":"flex items-center gap-2","children":[["$","div",null,{"className":"flex aspect-square w-10 items-center","children":["$","img",null,{"src":"/icons/legacy/logos/walletconnect.svg","className":"w-10","alt":"Web3Modalv2"}]}],["$","div",null,{"className":"block text-left","children":[["$","div",null,{"className":"font-bold leading-4","children":"Web3Modalv2"}],["$","span",null,{"className":"block text-xs leading-3 text-zinc-500","children":["by"," ",["$","a",null,{"href":"https://walletconnect.org","className":"text-zinc-700 dark:text-zinc-100","target":"_blank","children":"WalletConnect"}]]}]]}]]}]}],["$","div",null,{"className":"grow text-left text-sm","children":["$","ul",null,{"children":[["$","li",null,{"className":"px-2","children":["$","a",null,{"href":"https://docs.walletconnect.com/web3modal/react/about","target":"_blank","className":"inline-flex items-center gap-1 text-blue-500 hover:underline","children":[["$","span",null,{"className":"h-fit","children":["$","svg",null,{"stroke":"currentColor","fill":"currentColor","strokeWidth":"0","viewBox":"0 0 512 512","children":["$undefined",[["$","path","0",{"d":"$15","children":[]}]]],"className":"$undefined","style":{"color":"$undefined"},"height":"1em","width":"1em","xmlns":"http://www.w3.org/2000/svg"}]}],"React"]}]}],["$","li",null,{"className":"px-2","children":["$","a",null,{"href":"https://docs.walletconnect.com/web3modal/vue/about","target":"_blank","className":"inline-flex items-center gap-1 text-blue-500 hover:underline","children":[["$","span",null,{"className":"h-fit","children":["$","svg",null,{"stroke":"currentColor","fill":"none","strokeWidth":"2","viewBox":"0 0 24 24","strokeLinecap":"round","strokeLinejoin":"round","children":["$undefined",[["$","path","0",{"stroke":"none","d":"M0 0h24v24H0z","fill":"none","children":[]}],["$","path","1",{"d":"M16.5 4l-4.5 8l-4.5 -8","children":[]}],["$","path","2",{"d":"M3 4l9 16l9 -16","children":[]}]]],"className":"$undefined","style":{"color":"$undefined"},"height":"1em","width":"1em","xmlns":"http://www.w3.org/2000/svg"}]}],"Vue"]}]}],["$","li",null,{"className":"px-2","children":["$","a",null,{"href":"https://docs.walletconnect.com/web3modal/javascript/about","target":"_blank","className":"inline-flex items-center gap-1 text-blue-500 hover:underline","children":[["$","span",null,{"className":"h-fit","children":["$","svg",null,{"stroke":"currentColor","fill":"none","strokeWidth":"2","viewBox":"0 0 24 24","strokeLinecap":"round","strokeLinejoin":"round","children":["$undefined",[["$","path","0",{"stroke":"none","d":"M0 0h24v24H0z","fill":"none","children":[]}],["$","path","1",{"d":"M20 4l-2 14.5l-6 2l-6 -2l-2 -14.5z","children":[]}],["$","path","2",{"d":"M7.5 8h3v8l-2 -1","children":[]}],["$","path","3",{"d":"M16.5 8h-2.5a.5 .5 0 0 0 -.5 .5v3a.5 .5 0 0 0 .5 .5h1.423a.5 .5 0 0 1 .495 .57l-.418 2.93l-2 .5","children":[]}]]],"className":"$undefined","style":{"color":"$undefined"},"height":"1em","width":"1em","xmlns":"http://www.w3.org/2000/svg"}]}],"Javascript"]}]}],["$","li",null,{"className":"px-2","children":["$","a",null,{"href":"https://docs.walletconnect.com/web3modal/flutter/about","target":"_blank","className":"inline-flex items-center gap-1 text-blue-500 hover:underline","children":[["$","span",null,{"className":"h-fit","children":["$","svg",null,{"stroke":"currentColor","fill":"none","strokeWidth":"2","viewBox":"0 0 24 24","strokeLinecap":"round","strokeLinejoin":"round","children":["$undefined",[["$","path","0",{"stroke":"none","d":"M0 0h24v24H0z","fill":"none","children":[]}],["$","path","1",{"d":"M7 14l-3 -3l8 -8h6z","children":[]}],["$","path","2",{"d":"M14 21l-5 -5l5 -5h5l-5 5l5 5z","children":[]}]]],"className":"$undefined","style":{"color":"$undefined"},"height":"1em","width":"1em","xmlns":"http://www.w3.org/2000/svg"}]}],"Flutter"]}]}],["$","li",null,{"className":"px-2","children":["$","a",null,{"href":"https://docs.walletconnect.com/web3modal/android/about","target":"_blank","className":"inline-flex items-center gap-1 text-blue-500 hover:underline","children":[["$","span",null,{"className":"h-fit","children":["$","svg",null,{"stroke":"currentColor","fill":"none","strokeWidth":"2","viewBox":"0 0 24 24","strokeLinecap":"round","strokeLinejoin":"round","children":["$undefined",[["$","path","0",{"stroke":"none","d":"M0 0h24v24H0z","fill":"none","children":[]}],["$","path","1",{"d":"M4 10l0 6","children":[]}],["$","path","2",{"d":"M20 10l0 6","children":[]}],["$","path","3",{"d":"M7 9h10v8a1 1 0 0 1 -1 1h-8a1 1 0 0 1 -1 -1v-8a5 5 0 0 1 10 0","children":[]}],["$","path","4",{"d":"M8 3l1 2","children":[]}],["$","path","5",{"d":"M16 3l-1 2","children":[]}],["$","path","6",{"d":"M9 18l0 3","children":[]}],["$","path","7",{"d":"M15 18l0 3","children":[]}]]],"className":"$undefined","style":{"color":"$undefined"},"height":"1em","width":"1em","xmlns":"http://www.w3.org/2000/svg"}]}],"Android"]}]}],["$","li",null,{"className":"px-2","children":["$","a",null,{"href":"https://docs.walletconnect.com/web3modal/ios/about","target":"_blank","className":"inline-flex items-center gap-1 text-blue-500 hover:underline","children":[["$","span",null,{"className":"h-fit","children":["$","svg",null,{"stroke":"currentColor","fill":"currentColor","strokeWidth":"0","viewBox":"0 0 448 512","children":["$undefined",[["$","path","0",{"d":"$16","children":[]}]]],"className":"$undefined","style":{"color":"$undefined"},"height":"1em","width":"1em","xmlns":"http://www.w3.org/2000/svg"}]}],"iOS"]}]}]]}]}],["$","div",null,{"children":["$","div",null,{"children":["$","$Ld",null,{"href":"https://lab.web3modal.com/","target":"_blank","onClick":"$undefined","className":"btn btn-blue-primary w-full","disabled":false,"children":[false,"Try it!",false]}]}]}]]}]]}]}]}],"\n",["$","$L12",null,{"level":2,"id":"add-to-your-d-app","children":"Add to your dApp"}],"\n",["$","p",null,{"children":["This quickstart guide assumes you have a basic understanding of ",["$","strong",null,{"children":"react, ethers, wagmi, tailwindcss, and web3"}],"."]}],"\n",["$","$L12",null,{"level":3,"id":"installation","children":"Installation"}],"\n",["$","div",null,{"className":"text-ens-light-text-primary dark:text-ens-dark-text-primary my-6 bg-[--var(--shiki-color-background)] ","children":[["$","div",null,{"className":"relative flex min-h-[calc(theme(spacing.12)+1px)] items-center justify-between gap-x-4 rounded-t-lg border border-b-0 border-ens-light-border bg-ens-light-grey-surface px-4 dark:border-ens-dark-border dark:bg-ens-dark-grey-surface","children":[["$","div",null,{"className":"text-base text-ens-light-text-primary dark:text-ens-dark-text-primary","children":"Installing Dependencies"}],["$","$L17",null,{"snippets":[{"title":"Connectkit","language":"sh","preset":"connectkit","config":{"icon":"/icons/libraries/family.svg","name":"Connectkit","language":"typescript","fallback":["enstools","wagmi","react","viem","typescript","javascript"]}},{"title":"Rainbowkit","language":"sh","preset":"rainbowkit","config":{"icon":"/icons/libraries/rainbow.svg","name":"Rainbowkit","language":"typescript","fallback":["enstools","wagmi","react","viem","typescript","javascript"]}},{"title":"Wagmi","language":"tsx","preset":"wagmi","config":{"icon":"/icons/libraries/wagmi.svg","name":"Wagmi","language":"typescript","fallback":["enstools","react","viem","typescript","javascript"]}},{"title":"Ethers","language":"tsx","preset":"ethers","config":"$undefined"},{"title":"Viem","language":"tsx","preset":"viem","config":{"icon":"/icons/libraries/viem.svg","language":"typescript","name":"Viem","fallback":["typescript","javascript"]}},{"title":"Ethers.rs","language":"tsx","preset":"rust","config":{"icon":"/icons/libraries/rust.svg","name":"Ethers.rs","language":"rust"}},{"title":"Go","language":"sh","preset":"go","config":{"icon":"/icons/libraries/go.svg","name":"Go","language":"go"}}],"identifier":"5f3a7823","presets":"code"}]]}],["$","div",null,{"className":"not-prose","children":[["$","div",null,{"className":"hidable-code not-prose group","data-code-variant":"connectkit","data-code-group":"5f3a7823","children":[["$","div",null,{"className":"border-ens-light-border dark:border-ens-dark-border overflow-hidden border rounded-b-xl","children":["$","div",null,{"className":"relative","children":[["$","pre",null,{"children":["$","code",null,{"className":"language-sh","dangerouslySetInnerHTML":{"__html":"npm install connectkit wagmi viem\n"}}]}],["$","$L18",null,{"code":"npm install connectkit wagmi viem\n"}]]}]}],["$","div",null,{"className":"flex w-full items-center justify-end p-1","children":[["$","div",null,{"className":"px-2","children":["$","$Ld",null,{"href":"https://docs.family.co/connectkit/getting-started","target":"_blank","className":"text-ens-light-blue-primary dark:text-ens-dark-blue-primary flex items-center gap-1 hover:underline","children":[["$","svg",null,{"stroke":"currentColor","fill":"none","strokeWidth":"2","viewBox":"0 0 24 24","strokeLinecap":"round","strokeLinejoin":"round","children":["$undefined",[["$","path","0",{"d":"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6","children":[]}],["$","polyline","1",{"points":"15 3 21 3 21 9","children":[]}],["$","line","2",{"x1":"10","y1":"14","x2":"21","y2":"3","children":[]}]]],"className":"$undefined","style":{"color":"$undefined"},"height":"1em","width":"1em","xmlns":"http://www.w3.org/2000/svg"}],"Read more"]}]}],["$","div",null,{"children":"$undefined"}]]}]]}],["$","div",null,{"className":"hidable-code not-prose group","data-code-variant":"rainbowkit","data-code-group":"5f3a7823","children":[["$","div",null,{"className":"border-ens-light-border dark:border-ens-dark-border overflow-hidden border rounded-b-xl","children":["$","div",null,{"className":"relative","children":[["$","pre",null,{"children":["$","code",null,{"className":"language-sh","dangerouslySetInnerHTML":{"__html":"npm install @rainbow-me/rainbowkit wagmi viem\n"}}]}],["$","$L18",null,{"code":"npm install @rainbow-me/rainbowkit wagmi viem\n"}]]}]}],["$","div",null,{"className":"flex w-full items-center justify-end p-1","children":[["$","div",null,{"className":"px-2","children":["$","$Ld",null,{"href":"https://www.rainbowkit.com/docs/installation","target":"_blank","className":"text-ens-light-blue-primary dark:text-ens-dark-blue-primary flex items-center gap-1 hover:underline","children":[["$","svg",null,{"stroke":"currentColor","fill":"none","strokeWidth":"2","viewBox":"0 0 24 24","strokeLinecap":"round","strokeLinejoin":"round","children":["$undefined",[["$","path","0",{"d":"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6","children":[]}],["$","polyline","1",{"points":"15 3 21 3 21 9","children":[]}],["$","line","2",{"x1":"10","y1":"14","x2":"21","y2":"3","children":[]}]]],"className":"$undefined","style":{"color":"$undefined"},"height":"1em","width":"1em","xmlns":"http://www.w3.org/2000/svg"}],"Read more"]}]}],["$","div",null,{"children":"$undefined"}]]}]]}],["$","div",null,{"className":"hidable-code not-prose group","data-code-variant":"wagmi","data-code-group":"5f3a7823","children":[["$","div",null,{"className":"border-ens-light-border dark:border-ens-dark-border overflow-hidden border rounded-b-xl","children":["$","div",null,{"className":"relative","children":[["$","pre",null,{"children":["$","code",null,{"className":"language-tsx","dangerouslySetInnerHTML":{"__html":"npm install wagmi viem\n"}}]}],["$","$L18",null,{"code":"npm install wagmi viem\n"}]]}]}],["$","div",null,{"className":"flex w-full items-center justify-end p-1","children":[["$","div",null,{"className":"px-2","children":["$","$Ld",null,{"href":"https://wagmi.sh/react/getting-started","target":"_blank","className":"text-ens-light-blue-primary dark:text-ens-dark-blue-primary flex items-center gap-1 hover:underline","children":[["$","svg",null,{"stroke":"currentColor","fill":"none","strokeWidth":"2","viewBox":"0 0 24 24","strokeLinecap":"round","strokeLinejoin":"round","children":["$undefined",[["$","path","0",{"d":"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6","children":[]}],["$","polyline","1",{"points":"15 3 21 3 21 9","children":[]}],["$","line","2",{"x1":"10","y1":"14","x2":"21","y2":"3","children":[]}]]],"className":"$undefined","style":{"color":"$undefined"},"height":"1em","width":"1em","xmlns":"http://www.w3.org/2000/svg"}],"Read more"]}]}],["$","div",null,{"children":["$","$Ld",null,{"href":"https://stackblitz.com/edit/ens-wagmi-template","target":"_blank","className":"text-ens-light-blue-primary dark:text-ens-dark-blue-primary rounded-md p-1 pr-2 text-xs transition hover:bg-gray-100","children":[["$","img",null,{"src":"/icons/stackblitz.svg","alt":"Stackblitz","className":"mr-1 inline-block size-4"}],"Try it out"]}]}]]}]]}],["$","div",null,{"className":"hidable-code not-prose group","data-code-variant":"ethers","data-code-group":"5f3a7823","children":[["$","div",null,{"className":"border-ens-light-border dark:border-ens-dark-border overflow-hidden border rounded-b-xl","children":["$","div",null,{"className":"relative","children":[["$","pre",null,{"children":["$","code",null,{"className":"language-tsx","dangerouslySetInnerHTML":{"__html":"npm install ethers\n"}}]}],["$","$L18",null,{"code":"npm install ethers\n"}]]}]}],["$","div",null,{"className":"flex w-full items-center justify-end p-1","children":[["$","div",null,{"className":"px-2","children":["$","$Ld",null,{"href":"https://docs.ethers.org/v5/getting-started/","target":"_blank","className":"text-ens-light-blue-primary dark:text-ens-dark-blue-primary flex items-center gap-1 hover:underline","children":[["$","svg",null,{"stroke":"currentColor","fill":"none","strokeWidth":"2","viewBox":"0 0 24 24","strokeLinecap":"round","strokeLinejoin":"round","children":["$undefined",[["$","path","0",{"d":"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6","children":[]}],["$","polyline","1",{"points":"15 3 21 3 21 9","children":[]}],["$","line","2",{"x1":"10","y1":"14","x2":"21","y2":"3","children":[]}]]],"className":"$undefined","style":{"color":"$undefined"},"height":"1em","width":"1em","xmlns":"http://www.w3.org/2000/svg"}],"Read more"]}]}],["$","div",null,{"children":"$undefined"}]]}]]}],["$","div",null,{"className":"hidable-code not-prose group","data-code-variant":"viem","data-code-group":"5f3a7823","children":[["$","div",null,{"className":"border-ens-light-border dark:border-ens-dark-border overflow-hidden border rounded-b-xl","children":["$","div",null,{"className":"relative","children":[["$","pre",null,{"children":["$","code",null,{"className":"language-tsx","dangerouslySetInnerHTML":{"__html":"npm install viem\n"}}]}],["$","$L18",null,{"code":"npm install viem\n"}]]}]}],["$","div",null,{"className":"flex w-full items-center justify-end p-1","children":[["$","div",null,{"className":"px-2","children":["$","$Ld",null,{"href":"https://viem.sh/docs/getting-started.html","target":"_blank","className":"text-ens-light-blue-primary dark:text-ens-dark-blue-primary flex items-center gap-1 hover:underline","children":[["$","svg",null,{"stroke":"currentColor","fill":"none","strokeWidth":"2","viewBox":"0 0 24 24","strokeLinecap":"round","strokeLinejoin":"round","children":["$undefined",[["$","path","0",{"d":"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6","children":[]}],["$","polyline","1",{"points":"15 3 21 3 21 9","children":[]}],["$","line","2",{"x1":"10","y1":"14","x2":"21","y2":"3","children":[]}]]],"className":"$undefined","style":{"color":"$undefined"},"height":"1em","width":"1em","xmlns":"http://www.w3.org/2000/svg"}],"Read more"]}]}],["$","div",null,{"children":["$","$Ld",null,{"href":"https://new.viem.sh","target":"_blank","className":"text-ens-light-blue-primary dark:text-ens-dark-blue-primary rounded-md p-1 pr-2 text-xs transition hover:bg-gray-100","children":[["$","img",null,{"src":"/icons/stackblitz.svg","alt":"Stackblitz","className":"mr-1 inline-block size-4"}],"Try it out"]}]}]]}]]}],["$","div",null,{"className":"hidable-code not-prose group","data-code-variant":"rust","data-code-group":"5f3a7823","children":[["$","div",null,{"className":"border-ens-light-border dark:border-ens-dark-border overflow-hidden border rounded-b-xl","children":["$","div",null,{"className":"relative","children":[["$","pre",null,{"children":["$","code",null,{"className":"language-tsx","dangerouslySetInnerHTML":{"__html":"cargo add ethers\n"}}]}],["$","$L18",null,{"code":"cargo add ethers\n"}]]}]}],["$","div",null,{"className":"flex w-full items-center justify-end p-1","children":[["$","div",null,{"className":"px-2","children":["$","$Ld",null,{"href":"https://docs.rs/ethers/latest/ethers/","target":"_blank","className":"text-ens-light-blue-primary dark:text-ens-dark-blue-primary flex items-center gap-1 hover:underline","children":[["$","svg",null,{"stroke":"currentColor","fill":"none","strokeWidth":"2","viewBox":"0 0 24 24","strokeLinecap":"round","strokeLinejoin":"round","children":["$undefined",[["$","path","0",{"d":"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6","children":[]}],["$","polyline","1",{"points":"15 3 21 3 21 9","children":[]}],["$","line","2",{"x1":"10","y1":"14","x2":"21","y2":"3","children":[]}]]],"className":"$undefined","style":{"color":"$undefined"},"height":"1em","width":"1em","xmlns":"http://www.w3.org/2000/svg"}],"Read more"]}]}],["$","div",null,{"children":"$undefined"}]]}]]}],["$","div",null,{"className":"hidable-code not-prose group","data-code-variant":"go","data-code-group":"5f3a7823","children":[["$","div",null,{"className":"border-ens-light-border dark:border-ens-dark-border overflow-hidden border rounded-b-xl","children":["$","div",null,{"className":"relative","children":[["$","pre",null,{"children":["$","code",null,{"className":"language-sh","dangerouslySetInnerHTML":{"__html":"go get github.com/wealdtech/go-ens/v3\n"}}]}],["$","$L18",null,{"code":"go get github.com/wealdtech/go-ens/v3\n"}]]}]}],"$undefined"]}]]}]]}],"\n",["$","$L12",null,{"level":3,"id":"showing-the-user-profile","children":"Showing the User Profile"}],"\n",["$","p",null,{"children":["The below codesnippet demonstrates how you can create a basic UserProfile section that shows the users ENS name and avatar.\nThe snippet leverages the ",["$","$Ld",null,{"href":"https://wagmi.sh/react/hooks/useAccount","target":"_blank","className":"my-0 inline-flex items-center gap-1","children":["useAccount",["$","svg",null,{"stroke":"currentColor","fill":"none","strokeWidth":"2","viewBox":"0 0 24 24","strokeLinecap":"round","strokeLinejoin":"round","children":["$undefined",[["$","path","0",{"d":"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6","children":[]}],["$","polyline","1",{"points":"15 3 21 3 21 9","children":[]}],["$","line","2",{"x1":"10","y1":"14","x2":"21","y2":"3","children":[]}]]],"className":"$undefined","style":{"color":"$undefined"},"height":"1em","width":"1em","xmlns":"http://www.w3.org/2000/svg"}]]}],", ",["$","$Ld",null,{"href":"https://wagmi.sh/react/hooks/useEnsName","target":"_blank","className":"my-0 inline-flex items-center gap-1","children":["useEnsName",["$","svg",null,{"stroke":"currentColor","fill":"none","strokeWidth":"2","viewBox":"0 0 24 24","strokeLinecap":"round","strokeLinejoin":"round","children":["$undefined",[["$","path","0",{"d":"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6","children":[]}],["$","polyline","1",{"points":"15 3 21 3 21 9","children":[]}],["$","line","2",{"x1":"10","y1":"14","x2":"21","y2":"3","children":[]}]]],"className":"$undefined","style":{"color":"$undefined"},"height":"1em","width":"1em","xmlns":"http://www.w3.org/2000/svg"}]]}],", and ",["$","$Ld",null,{"href":"https://wagmi.sh/react/hooks/useEnsAvatar","target":"_blank","className":"my-0 inline-flex items-center gap-1","children":["useEnsAvatar",["$","svg",null,{"stroke":"currentColor","fill":"none","strokeWidth":"2","viewBox":"0 0 24 24","strokeLinecap":"round","strokeLinejoin":"round","children":["$undefined",[["$","path","0",{"d":"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6","children":[]}],["$","polyline","1",{"points":"15 3 21 3 21 9","children":[]}],["$","line","2",{"x1":"10","y1":"14","x2":"21","y2":"3","children":[]}]]],"className":"$undefined","style":{"color":"$undefined"},"height":"1em","width":"1em","xmlns":"http://www.w3.org/2000/svg"}]]}]," hooks from wagmi."]}],"\n",["$","div",null,{"className":"card1 h-24 flex items-center justify-center","children":["$","div",null,{"className":"flex items-center gap-2","children":[["$","img",null,{"src":"https://enstate.rs/i/luc.eth","className":"w-8 h-8 rounded-full"}],["$","div",null,{"className":"flex flex-col gap-0 leading-3 pr-10","children":[["$","span",null,{"className":"font-bold","children":"luc.eth"}],["$","span",null,{"children":"0x123...456"}]]}]]}]}],"\n",["$","div",null,{"className":"text-ens-light-text-primary dark:text-ens-dark-text-primary my-6 bg-[--var(--shiki-color-background)] ","children":[["$","div",null,{"className":"relative flex min-h-[calc(theme(spacing.12)+1px)] items-center justify-between gap-x-4 rounded-t-lg border border-b-0 border-ens-light-border bg-ens-light-grey-surface px-4 dark:border-ens-dark-border dark:bg-ens-dark-grey-surface","children":[["$","div",null,{"className":"text-base text-ens-light-text-primary dark:text-ens-dark-text-primary","children":"Showing the User Profile"}],["$","$L17",null,{"snippets":[{"title":"$undefined","language":"tsx","preset":"rainbowkit","config":"$19"},{"title":"$undefined","language":"tsx","preset":"wagmi","config":"$1b"},{"title":"$undefined","language":"go","preset":"go","config":"$1d"}],"identifier":"0cf38028","presets":"code"}]]}],["$","div",null,{"className":"not-prose","children":[["$","div",null,{"className":"hidable-code not-prose group","data-code-variant":"rainbowkit","data-code-group":"0cf38028","children":[["$","div",null,{"className":"border-ens-light-border dark:border-ens-dark-border overflow-hidden border rounded-b-xl","children":["$","div",null,{"className":"relative","children":[["$","pre",null,{"children":["$","code",null,{"className":"language-tsx","dangerouslySetInnerHTML":{"__html":"$1e"}}]}],["$","$L18",null,{"code":"import { ConnectButton } from '@rainbow-me/rainbowkit';\n\n// Rainbowkit's ConnectButton includes a built-in user profile!\nexport const YourApp = () => {\n return ;\n};\n"}]]}]}],["$","div",null,{"className":"flex w-full items-center justify-end p-1","children":[["$","div",null,{"className":"px-2","children":["$","$Ld",null,{"href":"https://www.rainbowkit.com/docs/connect-button","target":"_blank","className":"text-ens-light-blue-primary dark:text-ens-dark-blue-primary flex items-center gap-1 hover:underline","children":[["$","svg",null,{"stroke":"currentColor","fill":"none","strokeWidth":"2","viewBox":"0 0 24 24","strokeLinecap":"round","strokeLinejoin":"round","children":["$undefined",[["$","path","0",{"d":"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6","children":[]}],["$","polyline","1",{"points":"15 3 21 3 21 9","children":[]}],["$","line","2",{"x1":"10","y1":"14","x2":"21","y2":"3","children":[]}]]],"className":"$undefined","style":{"color":"$undefined"},"height":"1em","width":"1em","xmlns":"http://www.w3.org/2000/svg"}],"Read more"]}]}],["$","div",null,{"children":"$undefined"}]]}]]}],["$","div",null,{"className":"hidable-code not-prose group","data-code-variant":"wagmi","data-code-group":"0cf38028","children":[["$","div",null,{"className":"border-ens-light-border dark:border-ens-dark-border overflow-hidden border rounded-b-xl","children":["$","div",null,{"className":"relative","children":[["$","pre",null,{"children":["$","code",null,{"className":"language-tsx","dangerouslySetInnerHTML":{"__html":"$1f"}}]}],["$","$L18",null,{"code":"import { useAccount, useEnsName, useEnsAvatar } from 'wagmi';\nimport { formatAddress } from 'ens-tools';\n\nexport const YourApp: FC = () => {\n const { address } = useAccount();\n const { data: name } = useEnsName({ address, chainId: 1 });\n const { data: avatar } = useEnsAvatar({ name, chainId: 1 });\n\n return (\n
\n \n
\n {name && {name}}\n {formatAddress(address)}\n
\n
\n );\n};\n"}]]}]}],["$","div",null,{"className":"flex w-full items-center justify-end p-1","children":[["$","div",null,{"className":"px-2","children":["$","$Ld",null,{"href":"https://wagmi.sh/react/hooks/useEnsAvatar","target":"_blank","className":"text-ens-light-blue-primary dark:text-ens-dark-blue-primary flex items-center gap-1 hover:underline","children":[["$","svg",null,{"stroke":"currentColor","fill":"none","strokeWidth":"2","viewBox":"0 0 24 24","strokeLinecap":"round","strokeLinejoin":"round","children":["$undefined",[["$","path","0",{"d":"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6","children":[]}],["$","polyline","1",{"points":"15 3 21 3 21 9","children":[]}],["$","line","2",{"x1":"10","y1":"14","x2":"21","y2":"3","children":[]}]]],"className":"$undefined","style":{"color":"$undefined"},"height":"1em","width":"1em","xmlns":"http://www.w3.org/2000/svg"}],"Read more"]}]}],["$","div",null,{"children":["$","$Ld",null,{"href":"https://stackblitz.com/edit/ens-wagmi-quickstart-profile","target":"_blank","className":"text-ens-light-blue-primary dark:text-ens-dark-blue-primary rounded-md p-1 pr-2 text-xs transition hover:bg-gray-100","children":[["$","img",null,{"src":"/icons/stackblitz.svg","alt":"Stackblitz","className":"mr-1 inline-block size-4"}],"Try it out"]}]}]]}]]}],["$","div",null,{"className":"hidable-code not-prose group","data-code-variant":"go","data-code-group":"0cf38028","children":[["$","div",null,{"className":"border-ens-light-border dark:border-ens-dark-border overflow-hidden border rounded-b-xl","children":["$","div",null,{"className":"relative","children":[["$","pre",null,{"children":["$","code",null,{"className":"language-go","dangerouslySetInnerHTML":{"__html":"$20"}}]}],["$","$L18",null,{"code":"package main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/ethereum/go-ethereum/ethclient\"\n\tens \"github.com/wealdtech/go-ens/v3\"\n)\n\nfunc main() {\n\tclient, _ := ethclient.Dial(\"https://rpc.ankr.com/eth\")\n\n\tdomain, _ := ens.Normalize(\"luc.eth\")\n\tresolver, _ := ens.NewResolver(client, domain)\n\tavatar, _ := resolver.Text(\"avatar\")\n\taddress, _ := resolver.Address()\n\n\tfmt.Printf(\"ENS: %s, Avatar: %s, Address: %s\\n\", domain, avatar, address.Hex())\n\t// ENS: luc.eth, Avatar: https://ens.xyz/luc.eth, Address: 0x225f137127d9067788314bc7fcc1f36746a3c3B5\n}\n"}]]}]}],"$undefined"]}]]}]]}],"\n",["$","div",null,{"className":"dark:border-ens-500/30 my-6 flex gap-2.5 rounded-2xl border border-ens-light-border bg-ens-light-blue-50/50 p-4 leading-6 text-ens-light-blue-900 dark:border-ens-dark-border dark:bg-ens-light-blue-500/5 dark:text-ens-light-blue-200 dark:[--tw-prose-links-hover:theme(colors.ens.light.blue.300)] dark:[--tw-prose-links:theme(colors.white)]","children":[["$","svg",null,{"viewBox":"0 0 16 16","aria-hidden":"true","className":"fill-ens-500 dark:fill-ens-200/20 dark:stroke-ens-200 mt-1 size-4 flex-none stroke-white","children":[["$","circle",null,{"cx":"8","cy":"8","r":"8","strokeWidth":"0"}],["$","path",null,{"fill":"none","strokeLinecap":"round","strokeLinejoin":"round","strokeWidth":"1.5","d":"M6.75 7.75h1.5v3.5"}],["$","circle",null,{"cx":"8","cy":"4","r":".5","fill":"none"}]]}],["$","div",null,{"className":"[&>:first-child]:mt-0 [&>:last-child]:mb-0","children":["$","p",null,{"children":["ENS resolution always starts from L1 regardless of the chain the user is connected to.\nThis is why we specify ",["$","code",null,{"dangerouslySetInnerHTML":{"__html":"chainId: 1"}}]," for Ethereum Mainnet in the wagmi hooks above."]}]}]]}],"\n",["$","$L12",null,{"level":3,"id":"name-lookups","children":"Name Lookups"}],"\n",["$","div",null,{"className":"rounded-2xl bg-ens-light-blue-surface p-2 dark:bg-ens-dark-blue-surface","children":[["$","div",null,{"className":"flex items-center justify-between p-2 pb-4","children":[["$","div",null,{"className":"font-bold","children":"Name Lookup"}],["$","div",null,{"children":false}]]}],["$","div",null,{"className":"rounded-xl bg-ens-light-background-primary dark:bg-ens-dark-background-primary","children":["$","$L21",null,{}]}]]}],"\n",["$","div",null,{"className":"text-ens-light-text-primary dark:text-ens-dark-text-primary my-6 bg-[--var(--shiki-color-background)] ","children":[["$","div",null,{"className":"relative flex min-h-[calc(theme(spacing.12)+1px)] items-center justify-between gap-x-4 rounded-t-lg border border-b-0 border-ens-light-border bg-ens-light-grey-surface px-4 dark:border-ens-dark-border dark:bg-ens-dark-grey-surface","children":[["$","div",null,{"className":"text-base text-ens-light-text-primary dark:text-ens-dark-text-primary","children":"Lookup a name"}],["$","$L17",null,{"snippets":[{"title":"$undefined","language":"tsx","preset":"wagmi","config":"$1b"},{"title":"$undefined","language":"go","preset":"go","config":"$1d"}],"identifier":"b6143b41","presets":"code"}]]}],["$","div",null,{"className":"not-prose","children":[["$","div",null,{"className":"hidable-code not-prose group","data-code-variant":"wagmi","data-code-group":"b6143b41","children":[["$","div",null,{"className":"border-ens-light-border dark:border-ens-dark-border overflow-hidden border rounded-b-xl","children":["$","div",null,{"className":"relative","children":[["$","pre",null,{"children":["$","code",null,{"className":"language-tsx","dangerouslySetInnerHTML":{"__html":"$22"}}]}],["$","$L18",null,{"code":"import { useAccount, useEnsAddress, useEnsAvatar, useEnsName } from 'wagmi';\nimport { normalize } from 'viem/ens';\nimport { formatAddress } from '@ens-tools/format';\n\nexport const NameLookup = () => {\n const name = normalize(\"luc.eth\");\n const { data: avatar } = useEnsAvatar({ name, chainId: 1 });\n const { data: ethereum } = useEnsAddress({ name, coinType: 60, chainId: 1 });\n\n return (\n
\n\t\t\t{ethereum && formatAddress(ethereum)}
\n\t\t\t{avatar && }\n\t\t
\n );\n};\n"}]]}]}],["$","div",null,{"className":"flex w-full items-center justify-end p-1","children":[["$","div",null,{"className":"px-2","children":["$","$Ld",null,{"href":"https://wagmi.sh/react/hooks/useEnsAddress","target":"_blank","className":"text-ens-light-blue-primary dark:text-ens-dark-blue-primary flex items-center gap-1 hover:underline","children":[["$","svg",null,{"stroke":"currentColor","fill":"none","strokeWidth":"2","viewBox":"0 0 24 24","strokeLinecap":"round","strokeLinejoin":"round","children":["$undefined",[["$","path","0",{"d":"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6","children":[]}],["$","polyline","1",{"points":"15 3 21 3 21 9","children":[]}],["$","line","2",{"x1":"10","y1":"14","x2":"21","y2":"3","children":[]}]]],"className":"$undefined","style":{"color":"$undefined"},"height":"1em","width":"1em","xmlns":"http://www.w3.org/2000/svg"}],"Read more"]}]}],["$","div",null,{"children":["$","$Ld",null,{"href":"https://stackblitz.com/edit/ens-wagmi-quickstart-lookup","target":"_blank","className":"text-ens-light-blue-primary dark:text-ens-dark-blue-primary rounded-md p-1 pr-2 text-xs transition hover:bg-gray-100","children":[["$","img",null,{"src":"/icons/stackblitz.svg","alt":"Stackblitz","className":"mr-1 inline-block size-4"}],"Try it out"]}]}]]}]]}],["$","div",null,{"className":"hidable-code not-prose group","data-code-variant":"go","data-code-group":"b6143b41","children":[["$","div",null,{"className":"border-ens-light-border dark:border-ens-dark-border overflow-hidden border rounded-b-xl","children":["$","div",null,{"className":"relative","children":[["$","pre",null,{"children":["$","code",null,{"className":"language-go","dangerouslySetInnerHTML":{"__html":"$23"}}]}],["$","$L18",null,{"code":"package main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/ethereum/go-ethereum/ethclient\"\n\tens \"github.com/wealdtech/go-ens/v3\"\n)\n\nvar (\n\trecords = []string{\n\t\t\"com.twitter\",\n\t\t\"com.reddit\",\n\t\t\"com.github\",\n\t\t\"com.discord\",\n\t\t\"com.linkedin\",\n\t\t\"org.telegram\",\n\t\t\"url\",\n\t\t\"description\",\n\t\t\"avatar\",\n\t\t\"email\",\n\t\t\"location\",\n\t}\n)\n\ntype EnsName struct {\n\tname string\n\trecords map[string]string\n\taddress string\n}\n\nfunc main() {\n\tclient, _ := ethclient.Dial(\"https://rpc.ankr.com/eth\")\n\n\tdomain, _ := ens.Normalize(\"luc.eth\")\n\tresolver, _ := ens.NewResolver(client, domain)\n\taddress, _ := resolver.Address()\n\n\tname := EnsName{\n\t\tname: domain,\n\t\trecords: make(map[string]string),\n\t\taddress: address.Hex(),\n\t}\n\n\tfor _, record := range records {\n\t\tvalue, _ := resolver.Text(record)\n\t\tname.records[record] = value\n\t}\n\n\tfmt.Println(name)\n}\n"}]]}]}],"$undefined"]}]]}]]}],"\n",["$","$L12",null,{"level":2,"id":"still-not-sure","children":"Still not sure?"}],"\n",["$","p",null,{"children":["Try reading the rest of the ",["$","$Ld",null,{"href":"/web/","target":"$undefined","className":"my-0 inline-flex items-center gap-1","children":["docs","$undefined"]}]," instead."]}],"\n",["$","$Ld",null,{"href":"/web/","className":"card1 flex items-center gap-1.5 p-6 text-ens-light-text-primary no-underline outline-blue-500 transition-all hover:bg-ens-light-background-secondary/20 hover:outline-2 dark:text-ens-dark-text-primary hover:dark:bg-ens-dark-background-secondary/20","target":"$undefined","children":["$","div",null,{"className":"not-prose flex w-full items-center gap-1.5 text-ens-light-text-primary no-underline transition-all hover:bg-ens-light-background-secondary/20 dark:text-ens-dark-text-primary hover:dark:bg-ens-dark-background-secondary/20","children":[["$","span",null,{"className":"flex w-full flex-col","children":[["$","span",null,{"className":"font-bold","children":"Everything about ENS in dApps"}],["$","span",null,{"className":"font-normal","children":"Learn how to use ENS in your dApp, including how to Name and Avatars, lookuping up names, and how to use names in your smart contracts."}]]}],"$undefined",["$","svg",null,{"stroke":"currentColor","fill":"none","strokeWidth":"2","viewBox":"0 0 24 24","strokeLinecap":"round","strokeLinejoin":"round","className":"text-2xl","children":["$undefined",[["$","polyline","0",{"points":"9 18 15 12 9 6","children":[]}]]],"style":{"color":"$undefined"},"height":"1em","width":"1em","xmlns":"http://www.w3.org/2000/svg"}]]}]}]]}],["$","div",null,{"className":"prose pt-8","children":"$undefined"}]]}],["$","div",null,{"className":"prose","children":["$","div",null,{"className":"notprose w-full","children":["$","footer",null,{"className":"w-full space-y-4 border-t border-t-ens-light-border pb-16 pt-4 dark:border-t-ens-dark-border","children":[["$","div",null,{"className":"flex flex-wrap items-end justify-between gap-2","children":[["$","$Le",null,{}],["$","div",null,{"className":"w-fit","children":["$","$Lf",null,{"url":"/docs/web/quickstart.mdx"}]}]]}],["$","div",null,{"className":"flex flex-col items-center justify-between gap-5 sm:flex-row","children":[["$","p",null,{"className":"text-xs text-ens-light-text-secondary dark:text-ens-dark-text-secondary","children":["© Copyright ",2024,". All rights reserved."]}],["$","div",null,{"className":"flex gap-4","children":[["$","$Ld",null,{"href":"https://x.com/ensdomains","className":"group","target":"_blank","rel":"nofollow","children":[["$","span",null,{"className":"sr-only","children":"Follow us on X"}],["$","svg",null,{"stroke":"currentColor","fill":"currentColor","strokeWidth":"0","viewBox":"0 0 512 512","className":"size-5 fill-zinc-700 transition group-hover:fill-zinc-900 dark:group-hover:fill-zinc-500","children":["$undefined",[["$","path","0",{"d":"M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z","children":[]}]]],"style":{"color":"$undefined"},"height":"1em","width":"1em","xmlns":"http://www.w3.org/2000/svg"}]]}],["$","$Ld",null,{"href":"https://github.com/ensdomains","className":"group","target":"_blank","rel":"nofollow","children":[["$","span",null,{"className":"sr-only","children":"Follow us on GitHub"}],["$","svg",null,{"viewBox":"0 0 20 20","aria-hidden":"true","className":"size-5 fill-zinc-700 transition group-hover:fill-zinc-900 dark:group-hover:fill-zinc-500","children":["$","path",null,{"fillRule":"evenodd","clipRule":"evenodd","d":"M10 1.667c-4.605 0-8.334 3.823-8.334 8.544 0 3.78 2.385 6.974 5.698 8.106.417.075.573-.182.573-.406 0-.203-.011-.875-.011-1.592-2.093.397-2.635-.522-2.802-1.002-.094-.246-.5-1.005-.854-1.207-.291-.16-.708-.556-.01-.567.656-.01 1.124.62 1.281.876.75 1.292 1.948.93 2.427.705.073-.555.291-.93.531-1.143-1.854-.213-3.791-.95-3.791-4.218 0-.929.322-1.698.854-2.296-.083-.214-.375-1.09.083-2.265 0 0 .698-.224 2.292.876a7.576 7.576 0 0 1 2.083-.288c.709 0 1.417.096 2.084.288 1.593-1.11 2.291-.875 2.291-.875.459 1.174.167 2.05.084 2.263.53.599.854 1.357.854 2.297 0 3.278-1.948 4.005-3.802 4.219.302.266.563.78.563 1.58 0 1.143-.011 2.061-.011 2.35 0 .224.156.491.573.405a8.365 8.365 0 0 0 4.11-3.116 8.707 8.707 0 0 0 1.567-4.99c0-4.721-3.73-8.545-8.334-8.545Z"}]}]]}],["$","$Ld",null,{"href":"https://chat.ens.domains","className":"group","target":"_blank","rel":"nofollow","children":[["$","span",null,{"className":"sr-only","children":"Join our Discord server"}],["$","svg",null,{"viewBox":"0 0 20 20","aria-hidden":"true","className":"size-5 fill-zinc-700 transition group-hover:fill-zinc-900 dark:group-hover:fill-zinc-500","children":["$","path",null,{"d":"$24"}]}]]}]]}]]}]]}]}]}]]}]]}]}]]}]}] 11:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"Quickstart | ENS Docs"}],["$","meta","3",{"name":"description","content":"Everything on one page"}],["$","link","4",{"rel":"author","href":"https://ens.page/luc.eth?ref=ens-docs"}],["$","meta","5",{"name":"author","content":"luc.eth"}],["$","link","6",{"rel":"canonical","href":"https://docs.ens.domains/web/quickstart"}],["$","meta","7",{"property":"og:title","content":"Quickstart"}],["$","meta","8",{"property":"og:description","content":"Everything on one page"}],["$","meta","9",{"property":"og:image","content":"https://docs.ens.domains/opengraph/web/quickstart.png"}],["$","meta","10",{"property":"og:type","content":"article"}],["$","meta","11",{"property":"article:author","content":"https://ens.page/luc.eth?ref=ens-docs"}],["$","meta","12",{"property":"article:tag","content":"ENS"}],["$","meta","13",{"property":"article:tag","content":"Ethereum Name Service"}],["$","meta","14",{"property":"article:tag","content":".eth"}],["$","meta","15",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","16",{"name":"twitter:title","content":"Quickstart"}],["$","meta","17",{"name":"twitter:description","content":"Everything on one page"}],["$","meta","18",{"name":"twitter:image","content":"https://docs.ens.domains/opengraph/web/quickstart.png"}]] 1:null