Resolution API & Smart Contract
Integrate web3domain.app TLDs and SLDs into any wallet, dApp, or backend service.
1. Public Resolution API
Redis CachedResolve any registered TLD or SLD to its owner address, multi-chain crypto wallets, IPFS CID, and Web2 redirect URL:
curl -sS https://web3domain.app/api/v1/resolve/alice.mybrand/
2. Web3DomainRegistry Smart Contract
Base (Chain ID 8453)
uint256(keccak256(abi.encodePacked(name)))
mintTLD(string tld) — Mint an ERC-721 TLD NFT
mintSLD(string sld, string tld) — Mint an SLD with 50% pull-payment royalty split
withdrawRoyalties() — Claim accumulated SLD commissions (nonReentrant)
setRecord(uint256 tokenId, string key, string value) — Update on-chain resolver record