Implements TZIP-16 norm for contract's metadata.
Adds or removes an entry to the
Below is a typical metadata file:
There are 2 ways to associate this metadata to a contract:
- upload the file to a public URI (typically
ipfs) and store the URI in the contract's
metadatamap (as the value of key
- store metadata fields in the contract's
The association may be done at deployment time with Completium CLI:
With public URI:
With stored metadata:
This can also be done once the contract is deployed with the
Note that the URI is sent in bytes format.