Closed doranring closed 2 years ago
put it all onto one line, like so:
ts-node .\packages\cli\src\candy-machine-v2-cli.ts upload -e devnet -k .\wallets\seller.json -cp .\config.json ./MyAssets -c test
I have used this command to try and make it work: ts-node ~/metaplex/js/packages/cli/src/candy-machine-v2-cli.ts upload -e devnet -k ~/.config/solana/devnet.json -cp config.json -c example-assets
But now it tells me: missing required argument 'directory'
Do you see anything wrong with my command ?
you arent giving it any assets to upload
What do you mean by i'm not giving it any assets to upload? How would you make it work in this case. Sorry if i'm annoying I am a total noob to this and you seem to know your stuff.
you need to give it a path. after upload
must be a path with all the assets and then some more parameters like your key ect....
ts-node cli upload ~/nft-test/mini_drop --keypair ~/.config/solana/id.json
When I run the upload command:
ts-node ~/metaplex/js/packages/cli/src/candy-machine-v2-cli.ts upload \ -e devnet \ -k ~/.config/solana/devnet.json \ -cp config.json \ -c example \ ./assets
a huge error pops up. it basically says in french that every option starting with an (-) in front of it is not recpgnise as a command. Anyone know how to fix this issue?