envoylabs / whoami

An NFT-based user and smart contract nameservice
Apache License 2.0
16 stars 8 forks source link

Subdomain implementation requires unique subdomains #55

Closed the-frey closed 2 years ago

the-frey commented 2 years ago

Because subdomains are still NFTs, they have to be unique, yadda yadda

the-frey commented 2 years ago

kinda think this might be a thing for clients to solve, like by prefixing with the wallet address maybe (or short hash of that)

the-frey commented 2 years ago

although the simplest solution is still to allow for long subdomains with a validation on the root part

maybe this is a new function, mint_path, that calls mint under the hood but has some additional functionality.

validation:

on mint:

then clear any subdomains on send/xfer:

the-frey commented 2 years ago

probably do with #58