CMv2 Notes + edge cases and bug fixes

Command/config templates

ts-node ~/metaplex/js/packages/cli/src/candy-machine-v2-cli.ts upload \
    -e mainnet-beta \
    -k [wallet_filepath] \
    -cp config.json \
    -c temp \
    -r [endpoint_url] \
    ./assets

ts-node ~/metaplex/js/packages/cli/src/candy-machine-v2-cli.ts verify_upload \
    -e mainnet-beta \
    -k [wallet_filepath] \
    -c temp \
    -r [endpoint_url]

ts-node ~/metaplex/js/packages/cli/src/candy-machine-v2-cli.ts update_candy_machine \
    -e mainnet-beta \
    -k [wallet_filepath] \
    -cp config.json \
    -c temp \
    -r [endpoint_url]
{
    "price": 1.0,
    "number": 10,
    "gatekeeper": null,
    "solTreasuryAccount": "<YOUR WALLET ADDRESS>",
    "splTokenAccount": null,
    "splToken": null,
    "goLiveDate": "25 Dec 2021 00:00:00 GMT",
    "endSettings": null,
    "whitelistMintSettings": null,
    "hiddenSettings": null,
    "storage": "arweave-sol",
    "ipfsInfuraProjectId": null,
    "ipfsInfuraSecret": null,
    "awsS3Bucket": null,
    "noRetainAuthority": false,
    "noMutable": false
}

TailwindCSS w/ CMv2 mint site

Tested repo below

https://github.com/tonyboylehub/candymachine-v2-boiler-mint-site-noFLP

After yarn install, run yarn add tailwindcss

yarn add postcss

yarn add autoprefixer

can probably add all 3 simultaneously but ye

You may need an additional loader… bug

change the version of react-scripts in package.json to 4.0.1
change the version of react-scripts in package.json to 4.0.1