Build with names.
Resolve a name to an address on Arc. The registry and NFT registrar come from ENS, with native USDC pricing and an Arc-specific controller.
Network & contracts
- Network
- Arc mainnet, chain ID 5042
- Native currency
- USDC, 18 decimals
- Registry, registrar, and resolver
- Read
registry(),registrar(), andresolver()from the controller.
Resolve an address
const node = namehash('alice.arc')
const target = await client.readContract({
address: resolver,
abi: parseAbi([
'function addr(bytes32) view returns (address)'
]),
functionName: 'addr',
args: [node]
})Use viem’s namehash and parseAbi. An expired name resolves to the zero address. Treat that as an unavailable destination.
Protocol scope
Names contain 3 to 63 ASCII letters, numbers, or hyphens. Registration uses commit/reveal with a 60-second minimum wait and a 24-hour commitment lifetime. The minimum registration is one year.
This is an independent Arc registry. Existing Ethereum ENS names and integrations do not automatically resolve .arc names. The adapted controller and resolver have automated tests but no independent security audit.