Web3 Domain
Web3 Domain Akıllı Cüzdan /wallet/ →

Keşfet

Uygulamalar ve Kaynaklar

Developer Documentation

Resolution API & Smart Contract

Integrate web3domain.app TLDs and SLDs into any wallet, dApp, or backend service.

1. Public Resolution API

Redis Cached

Resolve any registered TLD or SLD to its owner address, multi-chain crypto wallets, IPFS CID, and Web2 redirect URL:

GET https://web3domain.app/api/v1/resolve/<full_domain>/
curl -sS https://web3domain.app/api/v1/resolve/alice.mybrand/

2. Web3DomainRegistry Smart Contract

Network

Base (Chain ID 8453)

Token ID Formula

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