8

I have already prepared the Candy Machines for minting an NFT collection in the Solana network, and I am testing the Mint process using its Devnet. Even if you can find a lot of tutorials about how to prepare the candy machines, there are some questions that I am still not able to find the right answer and I think that could be useful for other users.

  1. Does the Mint need to be one by one? If a user would like to buy, for example 50 NFTs, does it require approving 50 transactions and pay 50 times the fees (using Phantom or any other wallet)? I assume that yes, because every minted NFT is a new contract. Am I right?
  2. I am successfully doing a Mint in the Devnet using my Phantom wallet in order to determine the fees. For a single NFT, the transaction fee reflected in the wallet is 0.012SOL = 2.16$ at this time. It seems really expensive based on what a transaction in Solana should cost. How are these fees calculated? Is this the normal fee price that a user pay for minting 1 NFT?
1
  • I'm trying to deploy new MINTING NFTs website where you can claim free Our NFT Collection , but fee to MINT is 2.16$ also... it's expensive , how can reduce this ? (Im using cmv2)
    – Tung Tran
    Commented Jan 14, 2022 at 16:23

4 Answers 4

4

To answer both your questions:

  1. The mint does not need to be one by one (from a mint site I am assuming is what you mean). You can string multiple transactions together like what this repo has achieved: https://github.com/maxwellfortney/next-candy-machine

Note: this repo is for cmv1 which is no longer supported but can be simply adjusted to work with cmv2 as the transactions themseleves should be similar.

  1. Yes, that is a normal fee for minting. Transactions (transfering tokens or sol) themselves on solana are extremely cheap but storing data is not as cheap. To store data (such as is required by an NFT as they need a URI for the metadata) some "rent" costs are involved, as defined in the solana docs https://docs.solana.com/implemented-proposals/rent. Basically you have to pay for the NFT to store this data and exist which is the minting fees you are witnessing, a tiny fraction of the price you pay is for transferring the NFT to your wallet.
1
  1. Mints are usually done one by one, but someone could hand code a transaction to do multiple, especially with Candy Machine V1.
  2. The rent collected depends on the amount of bytes stored for each NFT. You can check how much it will cost with solana -um rent <bytes>. You can find more information here
0

I recently update the candy machine to v2, and it has some interesting features as minting more than one NFT or handle a whitelist of wallets: https://docs.metaplex.com/candy-machine-v2/getting-started

0

for your second question, you can maybe think to use an external service that handles the transaction fees.

In this way you'll be able to let you customer get the NFT without paying any fee.

If you are interested in implementing a similar external solution, I guess that this APIs Service is for you: cowsigner.com

You can also solve your first point, because when you create a transaction, you'll be able to add as many instructions as you want to it.

For anything else, just drop a simple comment below :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.