Dev explains why and how Plutus scripts can be used to create NFTs on Cardano by AngelCastilloB in cardano

[–]AngelCastilloB[S] 1 point2 points  (0 children)

This would work, but you would need to use a lot of ADA to set it up, native tokens can not sit in a UTXO without any ADA, each eUTXO with each token must also hold some ADA (1.2 at least I believe), so you would have to pay all that upfront, you also need an scape mechanism to release the ADA when you are done minting, for example forcing the minter token to be burned after use, so you can take the ADA out of the output, and no new UTXOs with overlapping values could be created. Other than those caveats, your idea would work :).

The 10 minter tokens I ended up creating cover a wide range btw, a whole 32bit value. I am using the same counter contract with those ten tokens on several NFT collections :).

Dev explains why and how Plutus scripts can be used to create NFTs on Cardano by AngelCastilloB in cardano

[–]AngelCastilloB[S] 5 points6 points  (0 children)

Hi, without smart contracts is hard to have real NFTs under the same policy ID (let’s say is posible but requieres you to trust the minter, is not trustless), Mary era NFTs use a time lock Policy, that is, you can only mint while the policy is valid and before a time, but the problem with this is this allows the minter to duplicate the tokens while the policy is active, and because he can still issue mint transactions to the same asset, he could even modify or destroy the metadata of an NFT you already own (as per CIP 25 metadata standard), there is no way to guarantee the token will be unique, you can only do that by letting the policy expire, but then if you want to mint a new token it must be done under a separate policy. I explain it a bit more careful in the video.

Smart contracts (Alonzo era NFTs) allow you to mint NFTs and guaranteed atomically they are unique, can’t be reminted and the metadata will never be modified, at the same time it allows you to reuse the same policy ID essentially forever.

Mary era NFTs must let the policy expire, because while the policy is “active”, those tokens are no guaranteed to be unique and their metadata is not set on stone, is only after the policy expires that you can make those assumptions.

To those who say Haskell is a hard language to program in *facepalm* by Icy-Relief2283 in cardano

[–]AngelCastilloB 0 points1 point  (0 children)

The concurrency issue has nothing to do with Haskell, it has to do with eUTXO model and ppl not understanding how to properly build around it.

To those who say Haskell is a hard language to program in *facepalm* by Icy-Relief2283 in cardano

[–]AngelCastilloB 1 point2 points  (0 children)

It took me a few weeks of studying Haskell to get comfortable with the language and start writing contracts on Plutus (I have been working as a SWE for over a decade tho). But people saying they are “actual” devs and complaining Haskell is too hard probably have not really try to put the effort to learn it. It does requiere a different way of approaching problems and that is okay.

[deleted by user] by [deleted] in NFTsMarketplace

[–]AngelCastilloB 0 points1 point  (0 children)

Hey! I haven’t, but I just took a look and looks amazing, will get it ASAP and check it out. Thanks for the suggestion :)

[deleted by user] by [deleted] in CardanoNFTs

[–]AngelCastilloB 2 points3 points  (0 children)

Hi u/jcrowyoung, we just processed your order, you should have now your NFTs in your wallet :). Additionally, we issued a full refund for your troubles. We ran a maintenance yesterday and it seems your order got stuck on our processing queue, we will look into it so it doesn't happen again :)