Token Cells

The tokens cells contain the information of each unique token created from the factory and will be governed by the NFT script.

Type:
 - code_hash: NFT_Script
 - type: "type"
 - args: Factory_code_hash<32 bytes> + Factory_type<uint8> + Factory_args<32 bytes> + TOKEN_ID
Data:
 - Token specific data (can be empty)
Lock: <user defined>

Using the factory cell type fields in the args of the token allows getting the information of the factory from the token Cell. This script should provide verification to ensure that each token has a unique TOKEN_ID, we propose using the Type_id logic here to achieve that.

Last updated