Configuration and chain details for Citrea Mainnet
Namoshi is the primary naming service for the Citrea ecosystem. Citrea is the first rollup that enhances the capabilities of Bitcoin with EVM-compatible smart contracts.
Chain Information
To interact with Namoshi, you must configure your application to use the Citrea Mainnet.
For Wagmi and Viem hooks (like useEnsName, useEnsAddress, or getEnsAddress) to work on Citrea, your chain definition must explicitly include the Namoshi contract addresses in the contracts object.Without these addresses, the libraries will default to looking for ENS on Ethereum Mainnet, which will fail to resolve your .btc and .citrea names.
Always verify that ensRegistry and ensUniversalResolver are pointing to the Namoshi addresses listed above in your wagmi config or viem public client.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Namoshi Documentation","colors":{"primary":"#1d4ed8","light":"#3b82f6","dark":"#07004b"},"logo":{"light":"https://mintcdn.com/namoshi/rezn-XPRfYvYh27_/logo/namoshi-logo.svg?fit=max\u0026auto=format\u0026n=rezn-XPRfYvYh27_\u0026q=85\u0026s=6905f63cc53f2152cd9cc2eb7477cad3","dark":"https://mintcdn.com/namoshi/rezn-XPRfYvYh27_/logo/namoshi-logo.svg?fit=max\u0026auto=format\u0026n=rezn-XPRfYvYh27_\u0026q=85\u0026s=6905f63cc53f2152cd9cc2eb7477cad3","href":"/"},"favicon":"/logo/namoshi-icon.svg","navbar":{"primary":{"type":"button","label":"Launch App","href":"https://namoshi.xyz"}},"footer":{"socials":{"x":"https://x.com/namoshi_xyz","github":"https://github.com/namoshixyz","website":"https://namoshi.xyz"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"namoshi","hasAudioNarration":false,"actualSubdomain":"namoshi","customDomains":["docs.namoshi.xyz"],"gitSource":{"type":"github","owner":"namoshixyz","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae93f8f8e17361c5bf903d8:success","clientVersion":"0.0.4131","searchFilterCounts":[{"language":"default","tag":"Protocol","count":9},{"language":"default","tag":"Integration","count":8},{"language":"default","tag":"Core Concepts","count":8},{"language":"default","tag":"Web \u0026 Querying","count":6},{"language":"default","tag":"Contracts","count":4},{"language":"default","tag":"Smart Contracts","count":4},{"language":"default","tag":"UI Components","count":2},{"language":"default","tag":"Introduction","count":1}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"protocol/citrea-mainnet","slug":"/protocol/citrea-mainnet","pageMetadata":{"title":"Namoshi on Citrea","description":"Configuration and chain details for Citrea Mainnet","href":"/protocol/citrea-mainnet","hidden":false},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Configuration and chain details for Citrea Mainnet\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Namoshi is the primary naming service for the Citrea ecosystem. Citrea is the first rollup that enhances the capabilities of Bitcoin with EVM-compatible smart contracts.`}),`\n`,_jsx(Heading,{level:`2`,id:`chain-information`,children:`Chain Information`}),`\n`,_jsx(_components.p,{children:`To interact with Namoshi, you must configure your application to use the Citrea Mainnet.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{style:{textAlign:`left`},children:`Property`}),_jsx(_components.th,{style:{textAlign:`left`},children:`Value`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.strong,{children:`Network Name`})}),_jsx(_components.td,{style:{textAlign:`left`},children:`Citrea Mainnet`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.strong,{children:`Chain ID`})}),_jsx(_components.td,{\"data-numeric\":`true`,style:{textAlign:`left`},children:_jsx(_components.code,{children:`4114`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.strong,{children:`RPC URL`})}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`https://rpc.mainnet.citrea.xyz`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.strong,{children:`Currency Symbol`})}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`cBTC`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.strong,{children:`Block Explorer`})}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.a,{href:`https://explorer.mainnet.citrea.xyz`,children:`explorer.mainnet.citrea.xyz`})})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`core-contract-addresses`,children:`Core Contract Addresses`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{style:{textAlign:`left`},children:`Contract`}),_jsx(_components.th,{style:{textAlign:`left`},children:`Address`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.strong,{children:`Namoshi Registry`})}),_jsx(_components.td,{\"data-numeric\":`true`,style:{textAlign:`left`},children:_jsx(_components.a,{href:`https://explorer.mainnet.citrea.xyz/address/0x9fA2e2370dF8014EE485172bF79d10D6756034A8`,children:`0x9fA2e2370dF8014EE485172bF79d10D6756034A8`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.strong,{children:`Universal Resolver`})}),_jsx(_components.td,{\"data-numeric\":`true`,style:{textAlign:`left`},children:_jsx(_components.a,{href:`https://explorer.mainnet.citrea.xyz/address/0xc5Ed1fA34AD1F23F0cD2E36DB288290488B1B493`,children:`0xc5Ed1fA34AD1F23F0cD2E36DB288290488B1B493`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.strong,{children:`Base Registrar`})}),_jsx(_components.td,{\"data-numeric\":`true`,style:{textAlign:`left`},children:_jsx(_components.a,{href:`https://explorer.mainnet.citrea.xyz/address/0xDB814a8C706e040F6615F37509ae3a38721577e8`,children:`0xDB814a8C706e040F6615F37509ae3a38721577e8`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.strong,{children:`Controller`})}),_jsx(_components.td,{\"data-numeric\":`true`,style:{textAlign:`left`},children:_jsx(_components.a,{href:`https://explorer.mainnet.citrea.xyz/address/0xa08728ca65b6b980059dB463AD2714dfffa848cf`,children:`0xa08728ca65b6b980059dB463AD2714dfffa848cf`})})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`configuring-viem-/-wagmi`,children:`Configuring Viem / Wagmi`}),`\n`,_jsx(_components.p,{children:`You can define the Citrea chain in your application using the following configuration:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`30`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`30`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`defineChain`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'viem'`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`export`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` citrea`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` defineChain`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` id:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 4114`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` name:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Citrea Mainnet'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` nativeCurrency:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` name:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Bitcoin'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` symbol:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'cBTC'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` decimals:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 18`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` rpcUrls:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` default:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` http:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'https://rpc.mainnet.citrea.xyz'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` blockExplorers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` default:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` name:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Citrea Explorer'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` url:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://explorer.mainnet.citrea.xyz'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` contracts:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` ensRegistry:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` address:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '0x9fA2e2370dF8014EE485172bF79d10D6756034A8'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` ensUniversalResolver:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` address:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '0xc5Ed1fA34AD1F23F0cD2E36DB288290488B1B493'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`})`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`important-resolution-configuration`,children:`Important: Resolution Configuration`}),`\n`,_jsxs(_components.p,{children:[`For Wagmi and Viem hooks (like `,_jsx(_components.code,{children:`useEnsName`}),`, `,_jsx(_components.code,{children:`useEnsAddress`}),`, or `,_jsx(_components.code,{children:`getEnsAddress`}),`) to work on Citrea, your chain definition `,_jsx(_components.strong,{children:`must`}),` explicitly include the Namoshi contract addresses in the `,_jsx(_components.code,{children:`contracts`}),` object.`]}),`\n`,_jsxs(_components.p,{children:[`Without these addresses, the libraries will default to looking for ENS on Ethereum Mainnet, which will fail to resolve your `,_jsx(_components.code,{children:`.btc`}),` and `,_jsx(_components.code,{children:`.citrea`}),` names.`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Always verify that `,_jsx(_components.code,{children:`ensRegistry`}),` and `,_jsx(_components.code,{children:`ensUniversalResolver`}),` are pointing to the Namoshi addresses listed above in your `,_jsx(_components.code,{children:`wagmi`}),` config or `,_jsx(_components.code,{children:`viem`}),` public client.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Namoshi on Citrea","description":"Configuration and chain details for Citrea Mainnet","href":"/protocol/citrea-mainnet","hidden":false}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Chain Information","slug":"chain-information","depth":2,"children":[]},{"title":"Core Contract Addresses","slug":"core-contract-addresses","depth":2,"children":[]},{"title":"Configuring Viem / Wagmi","slug":"configuring-viem-/-wagmi","depth":2,"children":[{"title":"Important: Resolution Configuration","slug":"important-resolution-configuration","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"subdomain":"namoshi","siteName":"Namoshi Documentation","title":"Namoshi on Citrea - Namoshi Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-02-16T12:27:28.126Z","originalFileLocation":"protocol/citrea-mainnet.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Configuration and chain details for Citrea Mainnet\">\u003cmeta data-mint-head name=\"application-name\" content=\"Namoshi Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/namoshi/uYmCmpBdSOMjbZ5X/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/namoshi/uYmCmpBdSOMjbZ5X/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/namoshi/uYmCmpBdSOMjbZ5X/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/namoshi/uYmCmpBdSOMjbZ5X/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/namoshi/uYmCmpBdSOMjbZ5X/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/namoshi/uYmCmpBdSOMjbZ5X/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/namoshi/uYmCmpBdSOMjbZ5X/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/namoshi/uYmCmpBdSOMjbZ5X/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/namoshi/uYmCmpBdSOMjbZ5X/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Namoshi on Citrea - Namoshi Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Configuration and chain details for Citrea Mainnet\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Namoshi Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.namoshi.xyz/protocol/citrea-mainnet\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://namoshi.mintlify.site/_mintlify/api/og/v2?division=Core+Concepts\u0026amp;title=Namoshi+on+Citrea\u0026amp;description=Configuration+and+chain+details+for+Citrea+Mainnet\u0026amp;theme=411a5272c913fcbea6b0e8fb\u0026amp;signature=6a0a16467a6090012b3d06900cd135512911d1f8cce263982736314293e75af1\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Namoshi on Citrea - Namoshi Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Configuration and chain details for Citrea Mainnet\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://namoshi.mintlify.site/_mintlify/api/og/v2?division=Core+Concepts\u0026amp;title=Namoshi+on+Citrea\u0026amp;description=Configuration+and+chain+details+for+Citrea+Mainnet\u0026amp;theme=411a5272c913fcbea6b0e8fb\u0026amp;signature=6a0a16467a6090012b3d06900cd135512911d1f8cce263982736314293e75af1\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/namoshi/uYmCmpBdSOMjbZ5X/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Namoshi Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1d4ed8\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.namoshi.xyz/protocol/citrea-mainnet\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/protocol/citrea-mainnet.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.namoshi.xyz/#organization\",\"name\":\"Namoshi Documentation\",\"url\":\"https://docs.namoshi.xyz\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/namoshi/rezn-XPRfYvYh27_/logo/namoshi-logo.svg?fit=max\u0026auto=format\u0026n=rezn-XPRfYvYh27_\u0026q=85\u0026s=6905f63cc53f2152cd9cc2eb7477cad3\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.namoshi.xyz#website\",\"name\":\"Namoshi Documentation\",\"url\":\"https://docs.namoshi.xyz\",\"publisher\":{\"@id\":\"https://docs.namoshi.xyz/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.namoshi.xyz/protocol/citrea-mainnet#webpage\",\"url\":\"https://docs.namoshi.xyz/protocol/citrea-mainnet\",\"name\":\"Namoshi on Citrea\",\"description\":\"Configuration and chain details for Citrea Mainnet\",\"dateModified\":\"2026-02-16T12:27:28.126Z\",\"isPartOf\":{\"@id\":\"https://docs.namoshi.xyz#website\"},\"breadcrumb\":{\"@id\":\"https://docs.namoshi.xyz/protocol/citrea-mainnet#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.namoshi.xyz/protocol/citrea-mainnet#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Core Concepts\",\"item\":\"https://docs.namoshi.xyz/protocol/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Namoshi on Citrea\",\"item\":\"https://docs.namoshi.xyz/protocol/citrea-mainnet\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.namoshi.xyz/protocol/citrea-mainnet#article\",\"headline\":\"Namoshi on Citrea\",\"name\":\"Namoshi on Citrea\",\"description\":\"Configuration and chain details for Citrea Mainnet\",\"url\":\"https://docs.namoshi.xyz/protocol/citrea-mainnet\",\"mainEntityOfPage\":{\"@id\":\"https://docs.namoshi.xyz/protocol/citrea-mainnet#webpage\"},\"dateModified\":\"2026-02-16T12:27:28.126Z\",\"publisher\":{\"@id\":\"https://docs.namoshi.xyz/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.namoshi.xyz#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Namoshi Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Namoshi Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/protocol/citrea-mainnet.md","siteName":"Namoshi Documentation","nav":{"global":{"anchors":[]},"tabs":[{"tab":"Protocol","groups":[{"group":"Introduction","pages":[{"title":"Namoshi Documentation","href":"","hidden":false}]},{"group":"Core Concepts","pages":[{"title":"Introduction","description":"Overview of the Namoshi Protocol","href":"/protocol/introduction","hidden":false},{"title":"Namoshi on Citrea","href":"/protocol/citrea-mainnet","hidden":false},{"title":"The Registry","description":"The core contract of Namoshi","href":"/protocol/registry","hidden":false},{"title":"Resolvers","href":"/protocol/resolvers","hidden":false},{"title":"The Registrar","href":"/protocol/registrars","hidden":false},{"title":"Reverse Registrar","href":"/protocol/reverse-registrar","hidden":false},{"title":"Name Wrapper","href":"/protocol/name-wrapper","hidden":false},{"title":"Discounts","href":"/protocol/discounts","hidden":false}]}]},{"tab":"Integration","pages":[{"title":"Integration","href":"/web/addresses"}]},{"tab":"Contracts","pages":[{"title":"Contracts","href":"/contracts/overview"}]}]},"basePath":"","title":"Namoshi on Citrea - Namoshi Documentation","buildId":"dpl_5joLUXmnJgwqjrHAS4dxZrQTdxgh","deploymentId":"dpl_5joLUXmnJgwqjrHAS4dxZrQTdxgh","dynamics":[],"chunks":[]}