Open naffam777 opened 2 years ago
Looks like it's the program/account at DNnzE5TunUhgZz9JogFtQqrDFn1DqscDVLga8KmrnZKt1
in candy machines, config is usually the configuration address where the cm data is stored. they are different for every cm.
i.e. price, go live date, etc.
hint search for willy-wonka (it uses the old cmv1)
Hello! Where did you find 'MintNft' function?
Hello! Where did you find 'MintNft' function?
you can find one in one of my repos forked from metaplex. there is a python lib for candy machine there. it is still in its infancy and needs more work. but it works.
Hello, I'm pretty new to using solana and had some questions!
I saw this code to mint NFT's when I was checking through the issues
`def MintNft(_key1: PublicKey, _key2: PublicKey, _key3: PublicKey): config = PublicKey("DNnzE5TunUhgZz9JogFtQqrDFn1DqscDVLga8KmrnZKt") candyMachineId = PublicKey("FJPBA6WtXhB2M2p83eE1brevRJjGBsAQAW5Sf6soBG9e") treasury = PublicKey("564fBJG35QTuFxsJat6ynnJPBXjb7EUbXbgCSw6HvWUk") TOKEN_METADATA_PROGRAM_ID = PublicKey('metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s') CANDY_MACHINE_PROGRAM = PublicKey('CMX5tvuWs2rBUL3vqVWiARfcDoCKjdeSinCsZdxJmYoF')
My question is, what exactly is the addresss for "config". I uploaded a test collection to test this code out, but couldn't find an address for config. Hope this question isn't that stupid, sorry!
Thank you in advance.