An example of creating an metaplex candy machine
Follow this doc to setup your Arweave wallet and claim free AR token by completing assigned task. You should have a downloaded key file after the setup.
pnpm install//In metaplex-candy-machine-example
touch .envPaste this to .env
ARWEAVE_KEY=[key you get from "Set Arweave Wallet"]
METAPLEX_PRIVATE_KEY=[Secret key of your test wallet address]
command:
pnpm create-candy-machineresult:
> metaplex-candy-machine-example@0.0.0 create-candy-machine ../metaplex-candy-machine-example
> node ./creator.js
publicKey [your wallet address]
Upload Collection Metadata
metadataUrl https://arweave.net/xxxxxxxxx
Initialize Metaplex
Create the Collection NFT
Create the Candy Machine
Done
candyMachine_address [new cm address]
Then you can get a new candy machine address.