I want to launch a candy machine, but I cover the cost of gas to mint the NFT. Therefore, the only thing the user pays is the price of the mint. Is this possible? If so how would I go about making this change in the config settings?

2 Answers 2


The Candy Machine doesn't allow that.

You can try playing with Octane, but I am not sure it will work: https://github.com/solana-labs/octane.

  • yeah so I used some incorrect terminology here. When the buyer mints an NFT they will also pay the rent on the account that stores the NFT. That was the fee I was referring too. Thank you for this reply. It is accurate. Aug 3, 2022 at 21:40

Andres is correct, the candy machine does not directly support it. Octane like he said could be one approach, a different one could be to partially sign the mint transaction in a backend with your Key and give this to the frontend where the user also signs it.

You would have to modify that TX in comparison to the default mint tx and set your wallet as fee payer instead of having the minter also pay the fees.

Please be aware that storing your keys on a webserver always comes with a higher risk.

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.