jcnelson / nftree

A scalable way to mint NFTs that earn their owners a yield in STX
47 stars 10 forks source link

`register-nftree` and `register-contract-nftree` allows to register same tree multiple times. #3

Closed LNow closed 2 years ago

LNow commented 2 years ago

Both functions register-nftree and register-contract-nftree don't check if provided tree root has been already registered or not. I can imagine a situation in which artist would like to release same collection more than once, but I would say it should be always done using separate, unique tree.

jcnelson commented 2 years ago

That's fine -- tree uniqueness isn't a design goal. Also, the NFTs (including the NFTrees) will have different NFT IDs, so even if this does happen and causes problems, they can be worked around simply by inspecting the IDs.