Trust-Machines / BNS-V2

MIT License
10 stars 3 forks source link

name-register, we need to add a check/validation #48

Closed Patotking12 closed 1 month ago

Patotking12 commented 3 months ago

name-register needs to be in charge of checking/validating:

Is this name registered already? If so, check these scenarios:

For this we need to add a field in the name-properties "hashed-salted-fqn" storing the (optional hashed-salted-fqn) used for the preorder to be able to access it later and get the "created-at" field of the preorder.

If the name was fast-claimed then no preorder was created so "hashed-salted-fqn" is none then we need to compare to registered-at from name-properties

Unsure still if we should transfer the name, or burn and mint a new one

Patotking12 commented 2 months ago

Done