Step 2 - Create Item Collection
This step creates the Items collection and stores the information needed in the configuration file.
To run, issue the following command:
The command line parameters are as follows:
-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:
After this command is run, the existingCollectionForItems
entry of the configuration file will be updated with the item class definition information.
Once this command finishes successfully, you can move on to the next step.
Last updated