Custom Top-Level Domain (TLD) Registration
Overview
Step-by-Step Process
const labelHash = keccak256('custom');
const rootNode = '0x0000000000000000000000000000000000000000000000000000000000000000';
const nodeHash = keccak256(rootNode + labelHash);// Deploy new registrar for your TLD
const baseRegistrar = await BaseRegistrar.deploy(
PNS_REGISTRY_ADDRESS,
nodeHash
);// Through PNS Registry
await pnsRegistry.setSubnodeOwner(
rootNode,
labelHash,
baseRegistrar.address
);Example Configuration
Last updated