Skip to main content

pre set

Manages sets, including creation, registration, updating, and upgrading

pre set info ID

Displays details about a specific set

USAGE
$ pre set info ID [-u <value>] [-f <value>] [--rev <value>]

ARGUMENTS
ID Id of the kind

FLAGS
--rev=<value> Object revision

CONTEXT FLAGS
-f, --conf=<value> Use config file at path
-u, --universe=<value> Universe name in the config file

DESCRIPTION
Displays details about a specific set

pre set register IMPL DESC

Registers an NFT smart contract as a set

USAGE
$ pre set register IMPL DESC -a <value> [-u <value>] [--keystore <value>] [-f
<value>] [-p <value>]

ARGUMENTS
IMPL Address of the set contract, a 20-byte hexadecimal string starting with '0x'
DESC Hash of the description material, a 32-byte hexadecimal string starting with '0x'

CONTEXT FLAGS
-a, --account=<value> (required) Name of the account to use as transaction sender
-f, --conf=<value> Use config file at path
-p, --password=<value> Password to unlock the account
-u, --universe=<value> Universe name in the config file
--keystore=<value> Path to the keystore directory

DESCRIPTION
Registers an NFT smart contract as a set

pre set update ID

Applies updates to an existing registered set

USAGE
$ pre set update ID -a <value> --desc <value> [-u <value>] [--keystore
<value>] [-f <value>] [-p <value>]

ARGUMENTS
ID Id of the set

FLAGS
--desc=<value> (required) Hash of the description material, a 32-byte hexadecimal string starting with '0x'

CONTEXT FLAGS
-a, --account=<value> (required) Name of the account to use as transaction sender
-f, --conf=<value> Use config file at path
-p, --password=<value> Password to unlock the account
-u, --universe=<value> Universe name in the config file
--keystore=<value> Path to the keystore directory

DESCRIPTION
Applies updates to an existing registered set

pre set upgrade ID

Upgrades a set's kind or set to a newer version

USAGE
$ pre set upgrade ID -a <value> [-u <value>] [--keystore <value>] [-f
<value>] [-p <value>] [--krev <value>] [--srev <value>]

ARGUMENTS
ID Id of the set

FLAGS
--krev=<value> Kind revision
--srev=<value> Set revision

CONTEXT FLAGS
-a, --account=<value> (required) Name of the account to use as transaction sender
-f, --conf=<value> Use config file at path
-p, --password=<value> Password to unlock the account
-u, --universe=<value> Universe name in the config file
--keystore=<value> Path to the keystore directory

DESCRIPTION
Upgrades a set's kind or set to a newer version