I highly recommend trying with devnet
and going through the scripts/run_upload.sh and scripts/upload.sh to understand this flow better.
- Edit the content of assets_template_sample.
- Go over Validating your project assets and make sure your
JSON
is filled as expected. - Currently this flow will look for
__creators__
inside theJSON
and replace it with yoursolana address
during theupload
process. - Run
./scripts/run_upload.sh <cluster-name> <date>
, for example./scripts/run_upload.sh devnet 2021-01-01
and it will go through the entire flow in the Metaplex Candy Machine Tutorial. - Check the contents of
output/output.log
, you'll see the contents of the.env
file you need to create your candy-machine-mint , will look like the sample below:
--------------------------
--- START FILE : logs/envfile
--------------------------
REACT_APP_CANDY_MACHINE_ID=<uuid>
REACT_APP_CANDY_START_DATE=<timestamp>
REACT_APP_CANDY_MACHINE_CONFIG=<uuid>
REACT_APP_SOLANA_NETWORK=<network>
REACT_APP_SOLANA_RPC_HOST=<url>
REACT_APP_TREASURY_ADDRESS=<uuid>
--------------------------
--- END FILE : logs/envfile
--------------------------
- scripts/run_upload.sh - Wrapper helper, main script to use.
- scripts/upload.sh - Main script that follows Metaplex Candy Machine Tutorial.
- Dockerfile -
Dockerfile
used for the image, can also use metaplex-docker image. - assets_template_sample - Sample of
JSON
/PNG
files. - Auxilary scripts:
- scripts/build.sh - Rebuilding the
Docker
image. - scripts/attach.sh - Attaching into a container
Docker
. - scripts/run.sh - Launch
Docker
container and make it wait. - scripts/run_and_attach.sh - Launch
Docker
container and attach to it. - scripts/stop.sh - Stop
Docker
container.
- scripts/build.sh - Rebuilding the