An open source public good
Guard your users from heartbreak and keep ENS usage safe across web3
npm install @namehash/nameguard
Identify hidden risks or limitations in an ENS name
Inbound messages from deceptive look-alike names can exploit trusted relationships. NameGuard's homograph and canonical name algorithms help you handle higher-risk messages.
import { nameguard } from "@namehash/nameguard";
const address = "0x8Ae0e6dd8eACe27045d9e017C8Cf6dAa9D08C776";
const result = await nameguard.getSecurePrimaryName(address);
Composable integrations include
Just because a NFT names itself "nick.eth" doesn't mean it's an ENS name. NameGuard makes it easy to stop fake ENS NFTs from being sold on NFT marketplaces. Let's put an end to these scams !
import { nameguard } from "@namehash/nameguard";
const contract = "0x8Ae0e6dd8eACe27045d9e017C8Cf6dAa9D08C776";
const tokenId = "619959211285214429591066501314626337448852696
24153038309795231243542768648193";
const result = await nameguard.fakeEthNameCheck(contract, tokenId, {
"title": "nick.eth"
})
Composable integrations include
NameGuard offers a detailed 12 point-inspection on any ENS name, including NameWrapper fuses, offchain names, and DNS compatibility. Ensure no shocking disappointments after purchase.
import { nameguard } from "@namehash/nameguard";
const name = "abc123🚀.eth";
const result = await nameguard.inspectName(name);
const names = ["abc.eth", "123.eth", "xyz.eth"];
const results = await nameguard.bulkInspectNames(names);
Safeguard your community from improperly configured resolver records with ENS HealthChecks. These checks shield against major issues, spanning significant irreversible losses to web3 profiles that are incorrectly formatted and may not load properly.
In the hustle and bustle of life, ENS name renewals can slip through the cracks. Give your community peace of mind (and earn recurring revenue!) with ENS AutoRenew. What’s more, it also helps everyone save on gas fees, intelligently initiating renewal transactions at the most cost-effective moments.
Unicode is a complex beast. Are you certain you are prepared to handle the display of all possible ENS names in your UI? ENS Webfont not only enhances security against homograph attacks but also expands rendering support for emojis and other unique graphemes.
Boost social engagement and retention by encouraging your community to make the most of their ENS identity. Build gamified user journeys tailored to your app that incentivize users to boost their ENS profile completion score and join the ‘100% Club’.
Many ENS domains are known to technically exist as a node in ENS, however the actual names for these domains is currently unknown. The ENS Subgraph helps to resolve some of these, but NameGuard goes further to resolve unknown names with a more powerful solution that learns from the community across time.
Elevate your security standards. Get next-level protection with a rigorous 12-Point inspection on ENS names, meticulously scrutinizing each label and grapheme for enhanced safety.
Potential Impersonation
Protect from inbound messages that may appear to be from someone you trust.
Confusable Characters
Identify characters with a higher risk for visual confusion with other characters.
Cross-Device Font Support
Detect if characters have limited support to be viewed on popular operating systems.
Invisible Characters
Reveal any invisible characters that might otherwise be hiding in a name.
Typing Difficulty
Offer usability suggestions for users picking a name to register.
Mixed Scripts
Detect higher risk combinations of multiple scripts in a name.
NameWrapper Compatibility
Warn if the name being registered cannot be supported by the ENS Name Wrapper.
ENSIP-15 Name Normalization
Check if the name is normalized according to ENSIP-15.
DNS Punycode Compatibility
Warn during registration if a name will have DNS compatibility limitations.
Unknown Labels
Identify if the name contains unknown labels (e.g. [0123abcd...].eth).
Name Ruggability
Coming soonWarn buyers on secondary markets if a name can potentially be taken away.
NameWrapper Fuses
Coming soonProtect buyers on secondary markets from NameWrapper fuse configurations.
Have a check suggestion?
Reach out to us with your suggestions about which checks you want us to add
All resources are open sourced and freely licensed for the community.
Security "x-ray" for ENS names.
Thin client SDK for making API calls to NameGuard.
React components for building nice interfaces with NameGuard data.
Customize NameKit user interfaces to match your unique app.
Detailed inspection of labels in ENS names.
Metadata for graphemes that may appear in ENS names.
Python implementation of the ENS name normalization standard.
Utilities for parsing ENS names from user input.
Connect to the NameGuard instance running in AWS for community use.
Easily deploy your own instance of NameGuard into your own AWS cloud.
Step-by-step guides to help developers make the most of NameGuard.
Increase rendering support for emojis and other special graphemes.
NameGuard has a mission to keep the ENS community safe and encourage optimal use of ENS names.
Search for any ENS name to generate a report. Share NameGuard reports with frENS.
Keep your users safe with NameGuard, the choice of leading web3 teams. Ready for seamless integration into your web3 app? Our team is here to assist you.