Hi devs!
I need to mint a NFT only if the token name equals one input utxo id.
I need to do that to ensure the uniqueness of the NFT, otherwise other people could mint the same token from outside the smart contract.
On Cardano there is the concept of minting script, which is a smart contract that guards the minting/burning of tokens for a particular policy.
How can I accomplish the same on Ergo?
Thank you!