ENS
Mo Chain provides an ENS-style naming system for the .mo top-level domain: register a human-readable name, point it at an address, and reverse-resolve addresses to names in UIs.
Contracts
本模块尚未部署 / 尚无地址(contracts.ens 为空)。部署对应 stage 后重新构建本门户即会自动填充。
Registration flow (commit–reveal)
- A short
minCommitmentAge(testnet: 60s) prevents front-running. - Pass
maxCostto protect against the owner front-running a price increase (UI defaults toprice × 110%).
Resolution
// forward: name -> address (read resolver.addr(namehash('alice.mo')))
// reverse: address -> name (reverse registrar)
A reverse-lookup helper (@mochain/ens-utils) is provided so all UIs can show alice.mo instead of 0x1234…abcd, falling back to a truncated address when no name is set.
Try it
Open the ENS UI to register a .mo name.