I have been reading a lot through the different documentation of the current minting policy available on mainnet via simple-script.
Mostly these two links were the best for me:
When it comes to NFT, I have seen many tutorials on this internet and most of them, are generating the NFT policy with a simple script using a flow like:
Where keyHash is the key hash of a payment address from the wallet used to mint…
However to me, either I am missing something (probably the case) or there is a flow in this pattern that people are presenting.
Even if you mint only one token with a transaction, it still not an NFT, cause you would be able to mint another one in a future transaction because the policy only requires to be verified by the keyHash of the payment address.
So if the wallet holder, is malicious enough, he/she generates the token once, and a couple of months can do it later again? because the hashKey is still valid is still valid as it’s bound to the payment address?
So is there a real way, to create an NFT, via a simple script?
I saw solutions with bundling the JSON policy with the before type, could be a way… However, I believe that these solutions still have potential flows…
In the high-level doc of minting policy, there are mentioning, the one-time minting policy, but I was wondering if this was feasible only using simple-scripts, or we would need a Plutus smart contract to have a bulletproof solution?
Thanks again and looking forward to hearing your comments, as I have the impression it’s only a misunderstanding on my part.
Have a nice day,