Custom Data
Custom data is not a separate contract. It's a string field within the Domains struct in the TLD contract (Explained by punk domains):
The purpose of custom data is to hold an arbitrary amount of various data (stored as a stringified JSON object).
Because the custom data field is unstructured, the Punk Domains community has to define a common standard for structuring JSON data in order to avoid parsing issues.
#Custom data standard
This section holds the official standard for structuring the custom data JSON object. Note that the standard may change over time, but we'll try to make sure that changes are always backward compatible.
Custom data JSON structure (example for astro.smol
):
Note that comments should be excluded from your custom data. They are present in the above example just to provide some more information on the structure.
Last updated