Open Marbeled opened 3 years ago
Have you found a solution to solve the 0x0 error? I'm currently having the same problem.
move the
const mint = anchor.web3.Keypair.generate();
const metadata = await getMetadata(mint.publicKey);
const masterEdition = await getMasterEdition(mint.publicKey);
const config : anchor.web3.PublicKey = candyMachine.config;
const token = await getTokenWallet(walletKey.publicKey, mint.publicKey);
inside mintNFT
move the
const mint = anchor.web3.Keypair.generate(); const metadata = await getMetadata(mint.publicKey); const masterEdition = await getMasterEdition(mint.publicKey); const config : anchor.web3.PublicKey = candyMachine.config; const token = await getTokenWallet(walletKey.publicKey, mint.publicKey);
inside mintNFT
Where into const? Can you please show? Thanks in advance
into the const yes.
Minting fails 100% of the time, while checking if all items are redeemed already, I get the following output:
-> Even though clearly not all items have been redeemed.
If I just pass the statement checking if all items are minted, I get this:
What I tried was upgrading the dependencies as well as doing a fresh pull of the repo. This started occurring out of nowhere and worked fine before. I assume something on-chain changed.
Any info/hints/solutions on this matter would be greatly appreciated.