Skip to main content

Collection

Collection commands.

deploy​

Deploy a collection

$ joystiq collection deploy <project-path>
  • <project-path>: The path to the project directory.

update​

Update a collection.

$ joystiq collection update <project-path>
  • <project-path>: The path to the project directory.

eject​

Eject the collection from the Joystiq Core contract. (Makes the collection independent from Joystiq Core and future minting will not be possible.)

$ joystiq collection eject <project-path>

transfer-ownership​

Transfer ownership of the collection

$ joystiq collection transfer-ownership <project-path> <new-owner>
  • <project-path>: The path to the project directory.
  • <new-owner>: The new owner's wallet address.

metadata​

set​

Set metadata for a collection. This command will set the metadata for the collection in the project directory. It will read the metadata from the metadata.json file in the project directory and set it to the collection. Make sure the metadata.json file is in the correct format and contains all the required fields. You can generate it while uploading your assets.

$ joystiq collection metadata set <project-path>
  • <project-path>: The path to the project directory.