5

In the week 5 of Plutus Pioneer Program Lars described how to make NFT by spending an UTxO while minting, therefore ensuring the uniqueness of the token.

Are there any other ways of making NFTs unique?

What if I wanted to create let's say, a collection of thousands of unique tokens. Creating as many UTxOs to refer to them further on would incur significant cost in the fees. Are there any cheaper/simpler ways to do it?

PS: Solutions not available in Plutus yet are also welcome as examples.

1
  • "What if I wanted to create let's say, a collection of thousands of unique tokens. Creating as many UTxOs to refer to them further on would incur significant cost in the fees." Are you hoping to have many NFTs created in a single transaction? AFAIK tokens created from the same script will always have the same currency symbol. It might save on fees if you forge them all in one transaction but different scripts. May 27, 2021 at 22:47

1 Answer 1

6

NFTs have to be minted in some way or the other. In order to mint you will have to run a script with monetary policy for which you have to pay a fee, so might as well use that UTxO.

You can mint multiple NFTs in a single script though. Remember that a Value is identified by its CurrencySymbol and the TokenName. The CurrencySymbol is unique because of the UTxO input and is shared across all NFTs minted in the same contract. You can use a different TokenName for each NFT to ensure uniqueness.

3
  • 1
    I've been wondering about this. Are two tokens that share a currency symbol but have unique token names effectively as non-fungible as tokens with unique currency symbols? May 27, 2021 at 22:53
  • I believe that is the case.
    – monolith
    May 27, 2021 at 22:59
  • So, for example, if I wanted to represent land plot ownership by a NFT, I could mint as many of them as transaction size limit permits, spending a single UTxO. The plot ID would be included in the TokenName and people could trade those tokens freely but wouldn't be able to modify the plot ID within the tokens they own?
    – emesik
    May 28, 2021 at 12:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.