ybcoder01/xdcid ? reverse-engineered prompt
Reverse engineered prompt
Build me an XDC name service app for the mainnet that lets people search for, register, renew, and manage short .xdc names.
I want a simple Next.js frontend with a clean Tailwind UI where users connect a wallet, see if a name is available, get a price quote by number of years, and register it if it’s free. After registration, they should be able to set a wallet address, profile details like avatar, website, twitter, telegram, and bio, and also set a primary reverse name for their wallet if they own it.
Use Solidity contracts for the registry, registrar, resolver, and reverse resolver, and make sure the app talks to XDC mainnet. Keep the name handling case insensitive for .xdc, but store the canonical version in lowercase. If you need current library docs or deployment details, look them up online and follow best practices. Also include read only API routes for name lookup, reverse lookup, availability, and profile data.
Are you gonna build this?
make sure you review the code using coderabbit