I have done numerous tutorials, and followed everything step by step but I keep getting stuck at this one step, running the following command:
npx ts-node ~/solana-nft/metaplex/js/packages/cli/src/candy-machine-v2-cli.ts upload \
-e devnet \
-k keypair.json \
-cp config.json \
./assets
I have done this in multiple variations but I keep getting the error:
error: required option '-k, --keypair ' not specified
Help?! Driving me nuts
Yarn version 1.22.18 Node version v14.17.0 solana-cli 1.9.13 ts-node version v10.7.0
I tried running
npx ts-node ~/solana-nft/metaplex/js/packages/cli/src/candy-machine-v2-cli.ts upload \
-e devnet \
-k keypair.json \
-cp config.json \
./assets
and I always get the failure "error: required option '-k, --keypair <path> not specified'
I have tried multiple variations according to several tutorials and every time I get the same error.
I think path to keypair is not correct. You create keypair:
then set this as default:
then you run upload command specifying
~/.config/solana/devnet.json
as -k: