This is a simple boilerplate React application showing how to leverage ERC-7529 to directly inspect DNS TXT records to discover smart contracts on a public blockchain and verify the assoication of the smart contract with the DNS domain.
See handleKeyPress
function in DomainInput.tsx
for a running example of how to use @snickerdoodlelabs/erc7529
in your application to discover smart contracts using only DNS domain names.