🎨Launching with the Random Minter

The Random Minter is designed to mint NFT collections consisting of multiple NFTs, and it leverages Racoon.Bet's on-chain randomness to execute the minting process in a random manner. If you intend to utilize the Random Minter, ensure that you have a sufficient number of NFTs available for minting, as this minter is specifically tailored for NFT collections with multiple items.

Before proceeding with the following documentation, ensure that you have obtained several permanent links to images stored on IPFS or Arweave. These links will be required during the process to associate the respective images with the NFTs being minted.

  1. Instantiating the Random Minter and your NFT collection:

Cost: It currently costs 2 $HUAHUA to instantiate the Open Edition Minter. A dev royalty of 2% is also taken for every mint. The minimum mint price is currently set to 0.1 $HUAHUA.

To create a Random Minter and set up your NFT collection, go to Empawrium.Wtf and access "My Studio". You will encounter an interface similar to the image shown below. Ensure that you select the "Random Minter" option when configuring your minter and NFT collection settings.

During this step, you have the opportunity to determine the specific configuration for your minter and NFT collection according to your preferences. Once the transaction is completed, you will have successfully established a Random Minter along with your NFT collection.

The Random Minter will handle the minting of NFTs to users who interact with the contract on the blockchain. It enables a randomized distribution of NFTs to users within the Empawrium ecosystem.

  • Contract owner: this will be the wallet who can add the NFT info/metadata (refer to "Preparing your NFTs" for more info about the metadata) to the minter.

  • Mint revenues recipient: This is the wallet that will receive the minting revenues (if the mint is not free).

  • Royalty Recipients: This is an optional field. But if you add a wallet address in there, when your NFT will be traded on Empawrium, it will make sure to collect the royalty fees and send them to the address you entered in there. If you leave it blank it won't charge royalties when someone sell your NFTs on the marketplace.

  • Royalty (%): This is the percentage of royalty you want to collect for a specific address. If you leave it blank it won't charge royalties when someone sell your NFTs on the marketplace.

  • NFT collection name: This is the name of your collection. [F.e. "My NFT Collection"]

  • NFT collection ticket: This is the symbol of your collection. [F.e. "NFT"]

  • Price: The price of a single NFT (minimum of 0.1 $HUAHUA for the Random Minter)

  • Mint Start time: Make sure the start date is far enough for you to upload the NFT metadats in the contract.

  • Collection Size: This is the number of NFTs that your collection will have

  • Max mint per wallet: You can decide how many NFTs each wallet are limited to mint.

Once you have entered all the required information and ensured its accuracy, you can proceed by clicking on "Init Contract." This action will initiate a blockchain transaction. After the transaction has been successfully processed, you will be redirected to a page where you can upload the NFT metadata into the minter.

On this page, you will find the contract address for your minter as well as the address for your NFT collection displayed. It is crucial to save and securely store these addresses for future reference.

  1. Uploading the NFT information to the minter:

After you instantiated your minter, you will get to the following page. Again, make sure to save the minter and NFT collection addresses for future usage.

Note: Make sure you upload the NFT metadata before the start time of the mint otherwise your minter won't work. You should see the below image by now.

Note: As you are using the Random Minter, it means you will have to load your minter contract with several NFTs. Make sure you upload a maximum of 250 NFT metadata for every upload you make. We tested it with 400 NFT metadatas and it was working but we recommend 250.

What does the above mean? If you decided to have an NFT collection of 1,000 NFTs, you will need to upload the metadata of all these NFTs in the minter. If you upload 250 NFTs at a time, you will need to upload 4 times 250 NFTs to get to the 1,000 count.

Make sure every NFTs have a unique token id. If it is not the case, the contract won't allow you to upload NFTs with the same token id.

You need to upload all the NFTs information before the mint starts, otherwise the contract won't work. If you lose track of how many NFTs you uploaded, you can always query the contract to see how many you uploaded.

Example of a message to upload 5 NFTs:

{"load_nft_info":
    {"list_of_nfts":
        [
            {"metadata":
                {
                    "image": "https://gat3ofrmgocmkw7nbewayddzpi54mrz5rvncj2gxjlde5ucqzrsa.arweave.net/MCe3FiwzhMVb7QksDAx5ejvGRz2NWiTo10rGTtBQzGQ",
                    "external_url": "www.my_website.com",
                    "description": "This is an NFT collection about dogs.",
                    "name": "Doggie 1",
                    "attributes": [
                        {"trait_type": "Dog Breed", "value": "Chihuahua"},
                        {"trait_type": "Age", "value": "11"},
                        {"trait_type": "Fur colour", "value": "Brown"}
                    ]
                },
            "token_id": "DOGGO #1"
            },
            {"metadata":
                {
                    "image": "https://5xjezp3riv4drvr7iumzdlxray5izdzbzmd5fdmviszdrk6ilggq.arweave.net/7dJMv3FFeDjWP0UZka7xBjqMjyHLB9KNlUSyOKvIWY0",
                    "external_url": "www.my_website.com",
                    "description": "This is an NFT collection about dogs.",
                    "name": "Doggie 2",
                    "attributes": [
                        {"trait_type": "Dog Breed", "value": "Dobermann"},
                        {"trait_type": "Age", "value": "7"},
                        {"trait_type": "Fur colour", "value": "Black"}
                    ]
                },
            "token_id": "DOGGO #2"
            },
            {"metadata":
                {
                    "image": "https://gat3ofrmgocmkw7nbewayddzpi54mrz5rvncj2gxjlde5ucqzrsa.arweave.net/MCe3FiwzhMVb7QksDAx5ejvGRz2NWiTo10rGTtBQzGQ",
                    "external_url": "www.my_website.com",
                    "description": "This is an NFT collection about dogs.",
                    "name": "Doggie 3",
                    "attributes": [
                        {"trait_type": "Dog Breed", "value": "German Sheperd"},
                        {"trait_type": "Age", "value": "611"},
                        {"trait_type": "Fur colour", "value": "Black"}
                    ]
                },
            "token_id": "DOGGO #3"
            },
            {"metadata":
                {
                    "image": "https://gat3ofrmgocmkw7nbewayddzpi54mrz5rvncj2gxjlde5ucqzrsa.arweave.net/MCe3FiwzhMVb7QksDAx5ejvGRz2NWiTo10rGTtBQzGQ",
                    "external_url": "www.my_website.com",
                    "description": "This is an NFT collection about dogs.",
                    "name": "Doggie 4",
                    "attributes": [
                        {"trait_type": "Dog Breed", "value": "Chihuahua"},
                        {"trait_type": "Age", "value": "1"},
                        {"trait_type": "Fur colour", "value": "Yellow"}
                    ]
                },            "token_id": "DOGGO #4"
            },
            {"metadata":
                {
                    "image": "https://gat3ofrmgocmkw7nbewayddzpi54mrz5rvncj2gxjlde5ucqzrsa.arweave.net/MCe3FiwzhMVb7QksDAx5ejvGRz2NWiTo10rGTtBQzGQ",
                    "external_url": "www.my_website.com",
                    "description": "This is an NFT collection about dogs.",
                    "name": "Doggie 5",
                    "attributes": [
                        {"trait_type": "Dog Breed", "value": "Dobermann"},
                        {"trait_type": "Age", "value": "8"},
                        {"trait_type": "Fur colour", "value": "Black & Brown"}
                    ]
                },
            "token_id": "DOGGO #5"
            }
        ]
    }
}
  1. Minting the NFTs

Head to "My Studio" and you should see the below image:

If you put in a minter contract address, you will see the information about the minter and you will be able to mint from it. If you click on "Mint NFT", it will prompt a blockchain transaction to mint an NFT from the minter address you entered.

If you minted some NFTs, you will see the token IDs you minted as well after "Your NFTs".

  1. Querying the info of the NFTs your minted

Now that you minted some NFTs, you want to know their properties and images. To do so, you can just make a query about a specific NFT from the querier below:

Just add the information for the NFT collection you want to query and the Token ID you want to query. From the above, we took the NFT collection address of the Open Edition Minter we created and one of the Token we minted. It will show the following information about your NFT:

Again, we understand that "My Studio" is not a final product as it was not in the scope to build a launchpad but everything is easily available for any project to create NFT collections on Chihuahua Chain.

Last updated