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.Documentation Index
Fetch the complete documentation index at: https://docs.namoshi.xyz/llms.txt
Use this file to discover all available pages before exploring further.
Chain Information
To interact with Namoshi, you must configure your application to use the Citrea Mainnet.| Property | Value |
|---|---|
| Network Name | Citrea Mainnet |
| Chain ID | 4114 |
| RPC URL | https://rpc.mainnet.citrea.xyz |
| Currency Symbol | cBTC |
| Block Explorer | explorer.mainnet.citrea.xyz |
Core Contract Addresses
| Contract | Address |
|---|---|
| Namoshi Registry | 0x9fA2e2370dF8014EE485172bF79d10D6756034A8 |
| Universal Resolver | 0xc5Ed1fA34AD1F23F0cD2E36DB288290488B1B493 |
| Base Registrar | 0xDB814a8C706e040F6615F37509ae3a38721577e8 |
| Controller | 0xa08728ca65b6b980059dB463AD2714dfffa848cf |
Configuring Viem / Wagmi
You can define the Citrea chain in your application using the following configuration:Important: Resolution Configuration
For Wagmi and Viem hooks (likeuseEnsName, 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.