
This one is called the ‘Simple Cards Project.’
This is a simple multi-image type smart contract that is fully Selene Network compatible. The idea behind the smart contract is that the creator can deploy one smart contract to the blockchain and then later issue items that are individually mintable.
Even though the project was modeled after cards, the point is that the contract uses two parameters for grouping the items: series number and spot number. There can only be one item registered with each series and spot combination. The code also groups the series items together for minting. The order of the display is set by the order of the objects in the project JSON file.
As with other Selene Network compatible projects, there is different functionality displayed to the website visitor based on their involvement with the project. Project owners are shown unregistered cards and the register functionality. Also owners are show the ability to enable or disable minting of that card.
Customers are generally just show the mintable options. Once a card has been minted, it will show up in the holder area and in the wallet view. In the wallet view, there will be a ‘cards’ overlay that can be clicked back to the project home.
Key functionality
This contract makes it really easy to add more unique items to the contract over time.
Examples
Let’s say you’re a photographer looking to sell high quality images. Each card might represent a new image with it’s own mint price. The image displayed is a low quality image that when purchased unlocks a high quality download.
Maybe you’re a digital artist that creates one of a kind type images. Again, the NFT image could be a low quality image and when purchased, the customer can download the high quality image by just signing a transaction.
Or maybe, a website allows users to have their own avatar based on a mintable token. The website could author a bunch of images that are acceptable and then users mint their own which are incorporated into the website.
Options are pretty open-ended
If you want to give this a try, you can visit my cards implementation here:
https://amorstyle.com/nfts/cardsv1/cardsv1.php
If you want to copy what I’ve done, here is the zip file:
https://amorstyle.com/nfts/cardsv1/cardsv1.zip
Documentation is included within the zip file which helps outline the things you need to do and why you’ll be doing them.
Summary
As with all these projects, would love to see one working for you. Let me know if you would like help customizing this base contract or just getting this one to work for you.