Every asset has a Tree file on IPFS that describes the properties of the asset, including creator, creation time, license, etc. This Tree file, known as the "AssetTree," is a crucial component in managing and verifying the authenticity of digital assets on a blockchain. The AssetTree contains a collection of metadata, also known as "Nid" or content identifiers, that describe the properties of the asset.
The Nid of the AssetTree is included in the on-chain Commits. AssetTree allows anyone to retrieve the assets from IPFS and verify the properties of the asset. This allows anyone to verify that the asset has not been tampered with, and that it can be traced back to its original creator.
To illustrate, consider a digital art piece, the AssetTree for that piece would include information such as the artist's name, the date the art was created, the license under which the art is distributed, any relevant keywords, and any other information about the art. This information can be used to verify that the digital art is authentic and has not been tampered with, and also makes it easy for others to discover and learn more about the art.
Overall, AssetTree provides a comprehensive view of the properties of the asset and ensures transparency and accountability, making it an essential part of the assetization process.
AssetTree is a JSON file on IPFS containing the following information:
assetCid: (string) The Nid of the asset file
assetCreator: (string) Name of the asser creator
encodingFormat: (string) The asset's type expressed using a MIME format
assetTimestampCreated: (timestamp) Creation time of the asset file
assetSha256: (string, optional) SHA-256 hash of the asset file
abstract: (string) A summary or abstract of the asset
creatorWallet: (string, optional) Wallet address of the asset creator
license.name: (string, optional) License of the asset file
license.document: (string, optional) URL of the license file
usedBy: (string, optional) URL of the website that uses the asset
nftRecord: (string, optional) IPFS Cid where you can find all the NFT records. More details can be found in the nftRecord page.
custom: (JSON, optional) Custom metadata
The DBDiagram describes the relationship between Commit and AssetTree tables. Here is an example of the AssetTree file. You may also refer to the nit open-source project for more examples of how to create AssetTree and Commit.
- This specification follows the EIP-191 verification method for input: data, signature and output: signer's wallet address.