Readonly
type: "configLines"Identifier used to distinguish the various types of item settings.
Readonly
prefixThe prefix of the name of each item.
The following template variables can be used:
$ID$
: The index of the item (starting at 0).$ID+1$
: The number of the item (starting at 1).Readonly
nameThe maximum length to use for the name of inserted items excluding the length of the prefix.
For instance, if the name prefix is "My NFT Project #" and we want to add item numbers up to 9999, we would set this value to 4.
Readonly
prefixThe prefix of the URI of each item.
The following template variables can be used:
$ID$
: The index of the item (starting at 0).$ID+1$
: The number of the item (starting at 1).Readonly
uriThe maximum length to use for the URI of inserted items excluding the length of the prefix.
For instance, if the URI prefix is "https://arweave.net/" and we assume Arweave identifiers are 20 characters long max, we would set this value to 20.
Readonly
isIndicates whether to use a sequential index generator or not.
When set to true
, NFTs will be minted sequentially.
When set to false
, NFTs will be minted in a random order.
Generated using TypeDoc
A set of settings that aim to reduce the size of the Candy Machine whilst allowing items to be manually inserted for more flexibility.
This introduces
name
anduri
prefixes that will be used for each item inserted.Example
For instance, say all inserted items will have the following structure, where zeros represent the dynamic part of the name and URI:
Then we can use the following prefixes:
And the following lengths:
We could even go one step further and set the
nameLength
to zero by relying on template variables in the name prefix:Now, the program will automatically append the item number to the name of each minted NFT.