Step 1 - Create Main Class

This step creates the player class on chain and stores the information needed in the configuration file.

To run, issue the following command:

boot-up step_one_create_main_nft_class \
                   --env mainnet-beta \
                   --rpc-url https://api.mainnet-beta.solana.com \
                   --log-level debug \
                   --keypair ./nftCollectionUpdateAuthority.json \
                   --config-path ./bootsConfigurationFile.json

The command line parameters are as follows:

The output of the help option is the following:

Usage: boot_up step_one_create_main_nft_class [options]

Options:
  -e, --env <string>           Solana cluster env name (default: "devnet")
  -r, --rpc-url <string>       Solana cluster rpc-url
  -l, --log-level <string>     log level
  -k, --keypair <path>         Solana wallet location
  -cp, --config-path <string>  JSON file with namespace settings
  -h, --help                   display help for command

After this command is run, the existingClassDef entry of the configuration file will be updated with the class definition information.

Once this command finishes successfully, you can move on to the next step

Last updated