Step 3 - Create Item Classes

This step creates the classes for the individual items that belong to the collection.

To run, issue the following command:

boot-up step_three_create_item_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:

optiondescription

-e, --env

Which environment to use (devnet, testnet, mainnet-beta, localnet)

-r, --rpc-url

The RPC to use to connect to Solana. This should be a paid RPC, as this application causes heavy use to the RPC.

-l, --loglevel

The log level to use (all, trace, DEBUG, info, warn, error, fatal, off)

-k, --keypair

The keypair which is the update authority for the NFT collection

-cp, --config-path

The path to the configuration file

-h, --help

Get help with this command

The output of the help option is the following:

Usage: boot_up step_three_create_item_classes [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, classes for each of the items that you specified in the configuration are created and populated in the configuration file, ready for your NFTs to be equipped.

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

Last updated