Questions tagged [candy-machine]

103 questions
0
votes
2 answers

How to generate and mint the same NFT gif multiple times?

I am currently working on a Solana project where there are 4 different gifs (mp4) and I would like to turn one of them into 1500 NFTs, the second into 500, the third into 190 and the forth into 10. I need a collection of 2200 NFTs with all the…
0
votes
1 answer

Candy Machine v2. What to do after withdrawal. Devnet

I was playing around the candy machine and used withdraw_all command for my candy machine. Now I want to setup a a minting website, but because I closed down the machine. Basically when I try to create a new candy machine, it tells me that "the…
0
votes
1 answer

How to mint multiple NFT token from Metaplex Candy Machine v2?

I am trying to mint multiple token (2 in my case) from one user click. I see in the metaplex JS library, there's one function called mintOneToken which allows us to mint one token at time. How can I implement the function which mints n token at one…
0
votes
1 answer

Upload problems with Candy-machine-v2/ problems with folder

it seems that i'm not able to perform the upload operation. I have tried to change from relative to absulute, but it keeps giving the same error. The -c flag(the directory with images + json) doesn't work. Others flags work correctly. What might be…
Tix00
  • 3
  • 1
0
votes
1 answer

Error while uploading (img+json) pairs on to Solana Devnet

I'm trying to upload NFT assets using the Solana devnet with candy machine v2 This is the command that I am running ts-node ~/metaplex-foundation/metaplex/js/packages/cli/src/candy-machine-v2-cli.ts upload -e devnet -k ~/.config/solana/devnet.json…
dkku
  • 11
  • 1
0
votes
1 answer

What is the difference between minting NFT's on Solana and Ethereum?

I am a little confused about the workflow of NFT's on the Solana blockchain. I come from Ethereum and everything there is very clear. There is a smart contract that is executed on the blockchain which requires a specific amount of Ether to accept…
justanotherguy
  • 395
  • 4
  • 17
0
votes
0 answers

Type 'Ref' must have a '[Symbol.iterator]()' method that returns an iterator

I got this code: const [ candyMachine, setCandyMachine ] = ref() // ^^^^^^^^^ Error Here ^^^^^^^^^ and I am getting this error: Type 'Ref' must have a '[Symbol.iterator]()' method that…
Yusuf-Uluc
  • 887
  • 4
  • 15
0
votes
1 answer

How to sale Solana NFT which has minted with my own contract?

I have minted NFTS with my own contract on Solana blockchain. I am going to sell these NFTS on Marketplace but marketplaces need candy machine addresses or hash-list. I have no candy machine address and have no idea about the hash-list. I need…
David Nasaw
  • 149
  • 2
  • 9
0
votes
1 answer

solana candy machine - is it possible to know if user click approve in transaction

I am using the solana candy-machine for minting the nft. When i call smart contract function in javascript import * as anchor from "@project-serum/anchor"; let program = new anchor.Program(idl, programId, provider); let result = await…
CCCC
  • 5,665
  • 4
  • 41
  • 88
0
votes
1 answer

Solana create_candy_machine result in custom program error: 0x8f

After uploaded my asset, I'm trying to create candy machine with ts-node src/candy-machine-cli.ts create_candy_machine --env devnet --keypair "~\.config\solana\devnet.json" -s xxx -p 1 But I ran into Transaction simulation failed: Error processing…
Circle Hsiao
  • 1,497
  • 4
  • 22
  • 37
0
votes
3 answers

Solana candy machine upload assets Error: memory allocation failed, out of memory

I was trying to upload testing content by ts-node src/candy-machine-cli.ts upload assets --env devnet --keypair "~\.config\solana\devnet.json" -n 10 And ran into error below Transaction simulation failed: Error processing Instruction 1:…
Circle Hsiao
  • 1,497
  • 4
  • 22
  • 37
0
votes
3 answers

Customized candy machine: ProgramError: 102: The program could not deserialize the given instruction

I've forked the metaplex code, and am trying to implement a candy machine with presale capabilities. You can see this pull request for reference: https://github.com/FluffyPorcupine/metaplex/pull/1/files. I've modified both the rust lib.rs and…
Michael Rentmeister
  • 167
  • 1
  • 6
  • 24
0
votes
3 answers

Solana Candy machine TypeError: Cannot read properties of undefined (reading '_bn')

I'm following this article as a practice. ts-node packages/cli/src/candy-machine-cli.ts verify --env devnet --keypair "C:\Windows\System32\~\.config\solana\devnet.json" While trying to verify candy machine, I ran into TypeError: Cannot read…
Circle Hsiao
  • 1,497
  • 4
  • 22
  • 37
0
votes
2 answers

What is the scope of Metaplex's Candy Machine

It seems like Metaplex's candy-machine ships with some built-in assumptions about the way tokens will be minted and sold. Such as: All NFTs in the collection will have the same price. Buyers cannot pick WHICH asset in the collection they want to…
emersonthis
  • 32,822
  • 59
  • 210
  • 375
-1
votes
1 answer

How to get collection name from a candy machine address in Solana?

Given a candy machine address how do you find the name of the collection? https://explorer.solana.com/address/6TNFBdZR3kBYDxpqFkTVxVykk4ugUxL5xm7YnzWQ32WZ?cluster=devnet Here's an example of the metadata on one of the tokens. { "name": "Tara…
Berry Blue
  • 15,330
  • 18
  • 62
  • 113