Skip to main content
The most common use case for Namoshi is resolving a human-readable name like nemo.btc to a machine-readable address.

Resolving Citrea Addresses

To get the Citrea (EVM) address for a name, you can use standard libraries like Wagmi or Viem.

Using Wagmi

The useEnsAddress hook can be used to resolve names on Citrea Mainnet.

Using Viem

Multichain Addresses

Namoshi supports storing addresses for other blockchains (Bitcoin, Solana, etc.) as specified in ENSIP-9.

Using Wagmi

You can specify the coinType to fetch addresses for other chains.
Ensure your citrea chain definition includes the Namoshi contract addresses for these hooks to function.