4
votes
ProgramNotRecognizedError: The provided program name [mplCandyGuard] is not recognized in the [devnet] cluster
Unfortunately I can not see in your code snippet how you initialise umi, but what you basically need to do to register the guard program is:
umi.use(mplCandyMachine())
In my personal mint ui ...
3
votes
What does `NotFullyLoaded` error mean in candyMachine
Since you have itemsAvailable: 50, you need to add 50 items (config lines) to the candy machine before you can mint.
You might have to make multiple calls to addConfigLines() if all of them won't fix ...
2
votes
How to flag inefficient funds Spl-tokens candy machine v3 metaplex js
There are a few ways to do this. Generally, you'll need to find the associated token account (the user's account that hold's the token, which is derived from the user's wallet address and the mint ...
2
votes
Show USDC price of NFT in phantom wallet using Metaplex JS SDK Candy Machine V3
Based on the SPL-token mints I've seen on Candy Machine v3, I believe that Phantom has parsed the transaction data to show SPL Token Mint fees to users.
Have you confirmed the Candy Machine works and ...
2
votes
Quick Node RPC For Minting
You can use a QuickNode RPC but for best performance and cheaper prices I suggest Helius or Shyft RPCs
If it's a smaller mint you can even get by with a free RPC!
Helius: https://dev.helius.xyz/...
2
votes
2
votes
Accepted
Is there a way to know how much SOL is required to mint an NFT collection with 'x' items using sugar candy machine?
The cost of minting on devnet and mainnet are exactly the same.
Be aware that most of this cost is to store the nft data on chain so there is not really a way to get around it besides using different ...
2
votes
Metaplex candy machine v3
Example taken from the docs https://developers.metaplex.com/candy-machine/guards
import {
fetchCandyMachine,
fetchCandyGuard,
} from '@metaplex-foundation/mpl-candy-machine'
const candyMachine = ...
2
votes
Accepted
How to setup Candy Machine that allows multiple users to mint NFTs from a collection?
First of all this quicknode SDK is slightly outdated and using a deprecated SDK. It does not allow you to create the latest Version of Candy Machine V3 (which is Account Version 2) and will therefore ...
2
votes
Accepted
How to mint more than 1 nft at a time with mintv2?
I don't think this is possible.
You'll need to use a loop and make sure you aren't spamming the RPC and exceeding the set RPC rate limits.
Alternatively, you can try putting multiple mint IXs in one ...
2
votes
Accepted
How Candy Machine data is stored?
It differs a bit depending on which candy machine version you are talking about. This answer is for the latest version candy machine v3 (which is split into candy core and candy guards. The NFT data ...
1
vote
How can I know the mint address of NFT of candy machine?
You can verify NFTs minted through your Candy Machine by checking their metadata's update authority or fetching all minted NFTs via the Candy Machine ID after minting, and then use this information in ...
1
vote
Candy Machine - Error running command DataTypeMismatch
I encountered this error and resolved it by deleting the Sugar CLI and re-downloading it.
Run which sugar to locate where the sugar CLI is installed.
Delete the current Sugar CLI:
sudo rm <path-...
1
vote
Solana NFT Collection using Metaplex Candy Machine v3 and sugar
As mentioned in discord you are using incompatible versions, correct. There are multiple options that you have that i mentioned before, too:
Use the latest sugar version using on of the unofficial ...
1
vote
Accepted
Why do I get "panicked at 'Couldn't find Windows home drive key" error when running sugar guard show?
sugar detects that you are on windows and is looking for the HOMEDRIVE env variable, which is not set, or maybe doesn't have access to.
It uses HOMEDRIVE and HOMEPATH env vars to get the path where ...
1
vote
Get NFTs From a Collection in a wallet in js
Alchemy works like a charm. I have used it for couple of projects and it returns all the wallet NFTs in Solana.
You can check here: https://docs.alchemy.com/docs/how-to-get-all-nfts-owned-by-an-...
1
vote
Get NFTs From a Collection in a wallet in js
Certainly, Metaplex works. Metaplex has a JavaScript SDK for interacting with the program. Read more on the JavaScript SDK here https://docs.metaplex.com/programs/token-metadata/getting-started#...
1
vote
Accepted
Mint from V3 candy machine using Umi. Throws Anchor error - account not insitialised
The solution was an extra parameter which is not mentioned in the documentation.
.add(
mintV2(umi, {
candyMachine: candyMachine.publicKey,
...
1
vote
How to update items available count on candy machine UI after someone mints? Next app using umi
The presented code does refresh after mint occurs, the problem is with "candyMachine.data.itemsAvailable" It shows the total amount inserted into the candyMachine. Use candyMachine....
1
vote
candyMachine.itemRemaining is BigNumber instead of number
You can try using Number(candyMachine.itemsRemaining) for the check in your frontend
1
vote
Minting candy machine v3 umi getting incorrect account owner error using express js endpoint
hey I was also facing the same issue, check the below code
const { createUmi } = require("@metaplex-foundation/umi-bundle-defaults");
const {
mplCandyMachine,
create,
...
1
vote
Metaplex Candy Machine Mint - Error Code: NotFullyLoaded. Error Number: 6020. Error Message: Not all config lines were added to the candy machine
I think you have to add all the items available, in this case 5 items. You should use insertItems for add the items.
1
vote
hidden vs config line setting in candy-machine
Config settings is a new feature in candy machine v3. Normally in config.json we used to keep all the long URLs and names and for minting 1000 items, they would take up a lot of space. this example ...
1
vote
how to add new nfts to a candy machine collection?
You can't create new nft's in the created candy machine, but you can either make a new candymachine and mint them out to the same Collection.
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
candy-machine-v3 × 33metaplex × 23
nft × 11
mint × 10
metaplex-js × 6
web3.js × 5
candymachine × 5
solana-program × 4
sugar × 3
spl-token × 2
candy-guard × 2
transactions × 1
rpc × 1
transfer × 1
program × 1
spl-token-program × 1
solana-wallet-adapter × 1
react × 1
candy-machine-v2 × 1
fees × 1
smart-contract × 1
collection × 1
nextjs × 1
umi × 1
mpl-core × 1