Content pfp
Content
@
https://ethereum.org
0 reply
0 recast
0 reaction

Conor Svensson (csvensson.eth) pfp
Conor Svensson (csvensson.eth)
@csvensson
There are effectively two types of #ENS name you can have for a smart contract using @ensdomains β€” a primary name and a forward resolving name. TLDR; you should always set the ENS primary name if you can. To understand why, keep reading.πŸ‘€ A primary name is what you should have, this is where you have an ENS name that resolves to an address, and the address resolves back to the ENS name. E.g. For our @enscribe #smartcontracts, we have two records: - Forward resolving name: http://v0.app.enscribe.eth -> 0xD14360D477EF49182B5141952FE67b007688725A - Reverse resolving name: 0xD14360D477EF49182B5141952FE67b007688725A -> http://v0.app.enscribe.eth This means that http://v0.app.enscribe.eth is the primary name for 0xD14360D477EF49182B5141952FE67b007688725A, and you can see this in the Enscribe App at https://app.enscribe.xyz/explore/1/0xD14360D477EF49182B5141952FE67b007688725A. ctd πŸ‘‡
1 reply
1 recast
2 reactions

Conor Svensson (csvensson.eth) pfp
Conor Svensson (csvensson.eth)
@csvensson
Unfortunately, it's not always possible to set primary names, so in some cases you can only have the forward resolving name, which would be the first record in the above. E.g. - http://v0.app.enscribe.eth -> 0xD14360D477EF49182B5141952FE67b007688725A The challenge with this is that apps typically present users with a contract address, so if a primary name is not set, there's no way for infrastructure such as a wallet to infer the ENS name from the wallet address alone. This is why primary names are so important for ENS names. But as they typically require an additional transaction to create, they are often overlooked by ENS owners. This is especially acute with smart contracts, as historically it required interacting manually with ENS smart contracts on Etherscan to accomplish. Enscribe does fix this, but not all smart contracts can have their primary names set. For more on why this is check out https://enscribe.xyz/docs/introduction/naming-contracts. ctd πŸ‘‡
1 reply
0 recast
0 reaction