Closed 0x62 closed 2 years ago
Candy machines V1 programs are already dead so anyone will be able to create a CM using v1.
There is the why is already closed and not tomorrow!
https://twitter.com/redacted_j/status/1478345311793954817?s=20
So candy machine 0.0.1 For this, we can't use anymore?
npx ts-node metaplex\js\packages\cli\src\candy-machine-v2-cli.ts upload -k keypair.json -e mainnet-beta -l debug -cp config-v2 assests
setting the log value to: debug
wallet public key: 5iEqGCAQ787BW6zi5GRJcwAAfdzqbAGmaWqAs49C4Phe
program id from anchor cndy3Z4yapfJBmL3ShUp5exZKqR3z33thTzeNMm2gRZ
Beginning the upload for 50 (img+json) pairs
started at: 1641352755893
Size 50 { mediaExt: '.png', index: '0' }
initializing candy machine
Transaction simulation failed: Error processing Instruction 0: custom program error: 0x1
Program 11111111111111111111111111111111 invoke [1]
Transfer: insufficient lamports 30888954, need 89554320
Program 11111111111111111111111111111111 failed: custom program error: 0x1
Translating error SendTransactionError: failed to send transaction: Transaction simulation failed: Error processing Instruction 0: custom program error: 0x1
at Connection.sendEncodedTransaction (F:\mehta\Metaplex yarn installed\metaplex\js\packages\cli\node_modules\@solana\web3.js\src\connection.ts:3553:13)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Connection.sendRawTransaction (F:\mehta\Metaplex yarn installed\metaplex\js\packages\cli\node_modules\@solana\web3.js\src\connection.ts:3513:20)
at async sendAndConfirmRawTransaction (F:\mehta\Metaplex yarn installed\metaplex\js\packages\cli\node_modules\@solana\web3.js\src\util\send-and-confirm-raw-transaction.ts:27:21)
at async Provider.send (F:\mehta\Metaplex yarn installed\metaplex\js\packages\cli\node_modules\@project-serum\anchor\src\provider.ts:114:18)
at async Object.rpc [as initializeCandyMachine] (F:\mehta\Metaplex yarn installed\metaplex\js\packages\cli\node_modules\@project-serum\anchor\src\program\namespace\rpc.ts:19:23)
at async createCandyMachineV2 (F:\mehta\Metaplex yarn installed\metaplex\js\packages\cli\src\helpers\accounts.ts:150:11)
at async uploadV2 (F:\mehta\Metaplex yarn installed\metaplex\js\packages\cli\src\commands\upload.ts:133:21)
at async Command.
i have same problem when using v2
Yeah, I also have issues when use candymachine v2
{ "name": "Dinodawg Kingdom #1", "description": "3,500 Dinodawgs pouncing onto the Solana blockchain.", "image": "0.png", "attributes": [ { "trait_type": "Backgrounds", "value": "Pastel Dark Green" }, { "trait_type": "Body", "value": "Mustard Spots" }, { "trait_type": "Wings", "value": "No Wings" }, { "trait_type": "Collars", "value": "Glowing Green" }, { "trait_type": "Mouth", "value": "Shark Teeth" }, { "trait_type": "Eyes", "value": "Scar" }, { "trait_type": "Accessories", "value": "Snake on Head Green" } ], "symbol": "DINODAWG", "seller_fee_basis_points": 0, "external_url": "https://dinodawgs.io", "properties": { "files": [ { "uri": "0.png", "type": "image/png" } ], "category": "image", "creators": [ { "address": "XXXXXXXXXXXXXXXXXXXXXXXXXXX", "share": 100 } ] }, "collection": { "name": "Dinodawg Kingdom", "family": "Dinodawg" } }
this is my json metadata, what's wrong?
this is my json metadata, what's wrong?
I can create json file for your nft and also can create candy machine with mint siye. Just for 2 sol. My discord shyaid#3516 If you are interested free to message me
I also have same issues
This solved it for me: https://docs.metaplex.com/candy-machine-v2/Configuration
Create a new file called config.json.
In that file paste this (adjust for your collection):
{
"price": 1.0,
"number": 10000,
"gatekeeper": null,
"solTreasuryAccount": "
save the file and run the upload again. π
This solved it for me: https://docs.metaplex.com/candy-machine-v2/Configuration
Create a new file called config.json. In that file paste this (adjust for your collection): { "price": 1.0, "number": 10000, "gatekeeper": null, "solTreasuryAccount": "", "splTokenAccount": null, "splToken": null, "goLiveDate": "2 Jan 2022 00:00:00 GMT", "endSettings": null, "whitelistMintSettings": null, "hiddenSettings": null, "storage": "arweave", "ipfsInfuraProjectId": null, "ipfsInfuraSecret": null, "awsS3Bucket": null, "noRetainAuthority": false, "noMutable": false }
save the file and run the upload again. π
I have now error when start yarn . On localhost:3000 it show error
you need to use v2 of candy machine, v1 is no longer available
hey, did this ever get solved?
This issue is resolved by deploying using Candy Machine v2 - https://docs.metaplex.com/candy-machine-v2/introduction
I'm using v2 and still have these errs Upload assets
ts-node js/packages/cli/src/candy-machine-v2-cli.ts upload \
-e devnet \
-k ~/.config/solana/tunca-id.json \
-cp config.json \
-c example \
./assets
Verify Upload
ts-node js/packages/cli/src/candy-machine-v2-cli.ts verify_upload \
-e devnet \
-k ~/.config/solana/tunca-id.json \
-c example
Mint Token
ts-node js/packages/cli/src/candy-machine-v2-cli.ts mint_one_token \
-e devnet \
-k ~/.config/solana/tunca-id.json \
-c example
wallet public key: ErCrFDLa87WNki3Tn8mf1CPZjrGp9wv14FwdtTrXv6Xi
Rejected via websocket { InstructionError: [ 4, { Custom: 319 } ] }
Timeout Error caught {
err: { InstructionError: [ 4, [Object] ] },
slot: 106398033,
confirmations: 0
}
/home/tunca/solana/metaplex/js/packages/cli/src/helpers/transactions.ts:136
throw new Error(
^
Error: Transaction failed: Custom program error: 0x13f
at sendSignedTransaction (/home/tunca/solana/metaplex/js/packages/cli/src/helpers/transactions.ts:136:19)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async sendTransactionWithRetryWithKeypair (/home/tunca/solana/metaplex/js/packages/cli/src/helpers/transactions.ts:59:26)
at async mintV2 (/home/tunca/solana/metaplex/js/packages/cli/src/commands/mint.ts:344:5)
at async Command.<anonymous> (/home/tunca/solana/metaplex/js/packages/cli/src/candy-machine-v2-cli.ts:716:16)
Solana config is
tunca@DESKTOP-N7ONO2Q:~/solana/metaplex$ solana config get
Config File: /home/tunca/.config/solana/cli/config.yml
RPC URL: https://api.devnet.solana.com
WebSocket URL: wss://api.devnet.solana.com/ (computed)
Keypair Path: /home/tunca/.config/solana/tunca-id.json
Commitment: confirmed
adding an additional 1 SOL to my wallet, even though it wasn't empty, for some reason resolved this same issue for me.
I'm using v2 and still have these errs Upload assets
ts-node js/packages/cli/src/candy-machine-v2-cli.ts upload \ -e devnet \ -k ~/.config/solana/tunca-id.json \ -cp config.json \ -c example \ ./assets
Verify Upload
ts-node js/packages/cli/src/candy-machine-v2-cli.ts verify_upload \ -e devnet \ -k ~/.config/solana/tunca-id.json \ -c example
Mint Token
ts-node js/packages/cli/src/candy-machine-v2-cli.ts mint_one_token \ -e devnet \ -k ~/.config/solana/tunca-id.json \ -c example
wallet public key: ErCrFDLa87WNki3Tn8mf1CPZjrGp9wv14FwdtTrXv6Xi Rejected via websocket { InstructionError: [ 4, { Custom: 319 } ] } Timeout Error caught { err: { InstructionError: [ 4, [Object] ] }, slot: 106398033, confirmations: 0 } /home/tunca/solana/metaplex/js/packages/cli/src/helpers/transactions.ts:136 throw new Error( ^ Error: Transaction failed: Custom program error: 0x13f at sendSignedTransaction (/home/tunca/solana/metaplex/js/packages/cli/src/helpers/transactions.ts:136:19) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async sendTransactionWithRetryWithKeypair (/home/tunca/solana/metaplex/js/packages/cli/src/helpers/transactions.ts:59:26) at async mintV2 (/home/tunca/solana/metaplex/js/packages/cli/src/commands/mint.ts:344:5) at async Command.<anonymous> (/home/tunca/solana/metaplex/js/packages/cli/src/candy-machine-v2-cli.ts:716:16)
Solana config is
tunca@DESKTOP-N7ONO2Q:~/solana/metaplex$ solana config get Config File: /home/tunca/.config/solana/cli/config.yml RPC URL: https://api.devnet.solana.com WebSocket URL: wss://api.devnet.solana.com/ (computed) Keypair Path: /home/tunca/.config/solana/tunca-id.json Commitment: confirmed
I Successfully Uploaded 20 .png files with CMv2
1- cd to /js/packages/cli/src
2- Run yarn install
3- Create new file named config.json
in metaplex root
4- Copy the following code and past it in the config.json
file
{ "price": 1.0, "number": 20, "gatekeeper": null, "solTreasuryAccount": "Your Treasury Address", "splTokenAccount": null, "splToken": null, "goLiveDate": "25 Dec 2021 00:00:00 GMT", "endSettings": null, "whitelistMintSettings": null, "hiddenSettings": null, "storage": "arweave", "ipfsInfuraProjectId": null, "ipfsInfuraSecret": null, "awsS3Bucket": null, "noRetainAuthority": false, "noMutable": false }
5 - Replace the solTreasuryAccount
with yours.
6- cd to /js/packages/cli/src
7- Specify the keypairs
and the assets folder
in the below command
8- ts-node candy-machine-v2-cli.ts upload -e devnet -k E:/fyp/config/devnet-test.json -l debug -c example E:/nft/scoby/metaplex/assets -cp E:/nft/scoby/metaplex/config.json
It will Upload the assets
according to your internet
check the below video.
Upgraded node typescript version to latest and it worked.
Upgraded node typescript version to latest and it worked.
Didn't work for me.
Upgraded node typescript version to latest and it worked.
This issue is related to the Candymachine version...they have completely disabled it check this https://twitter.com/redacted_j/status/1478345311793954817?s=20
instead, we can use Candy Machine v2 - https://docs.metaplex.com/candy-machine-v2/introduction
check my thread and follow the steps to upload and verify your assets.
I Successfully Uploaded 20 .png files with CMv2 1- cd to
/js/packages/cli/src
2- Runyarn install
3- Create new file namedconfig.json
in metaplex root 4- Copy the following code and past it in theconfig.json
file{ "price": 1.0, "number": 20, "gatekeeper": null, "solTreasuryAccount": "Your Treasury Address", "splTokenAccount": null, "splToken": null, "goLiveDate": "25 Dec 2021 00:00:00 GMT", "endSettings": null, "whitelistMintSettings": null, "hiddenSettings": null, "storage": "arweave", "ipfsInfuraProjectId": null, "ipfsInfuraSecret": null, "awsS3Bucket": null, "noRetainAuthority": false, "noMutable": false }
5 - Replace thesolTreasuryAccount
with yours. 6- cd to/js/packages/cli/src
7- Specify thekeypairs
and theassets folder
in the below command 8-ts-node candy-machine-v2-cli.ts upload -e devnet -k E:/fyp/config/devnet-test.json -l debug -c example E:/nft/scoby/metaplex/assets -cp E:/nft/scoby/metaplex/config.json
It will Upload the
assets
according to your internet check the below video.upload.mp4
What do mean by 'cd'? in 6- cd to /js/packages/cli/src
.
Was this somehow solved? I am still getting the error even after creating a config.json file
Anyone knows Custom program error: 0x177a?
Anyone knows Custom program error: 0x177a?
error:
Program returned error: custom program error: 0x1783
adding an additional 1 SOL to my wallet, even though it wasn't empty, for some reason resolved this same issue for me.
Damn this fixed it for me π, had just under 1 SOL and the error didn't suggest anything
Describe the bug I'm trying to complete the upload step to deploy a candy machine and I get the below output:
I haven't been able to find any information about this error code online (at the time of posting literally zero results).
I've checked that the metadata is valid JSON, conforms to metaplex standards and that the corresponding image exists and is valid. I've also checked the symbol is unique and available (though I'm not sure if that is enforced by metaplex?).
Expected behavior The files are uploaded.
Desktop (please complete the following information):