Registers
Registers are where data gets storaged on-chain. Each register is classified using a name that can be seen as the protocol, type or standard the data is related to, therefore, simplifying the process.
Examples of standards can be:
name
/description
/image
: to store personal information.web
: to link to one or more websites.account+<social_network>
: to define the user in that social network that represents the suri, e.g.account+twitter
,account+instagram
, etc.
Off-chain data
All data is stored on-chain, therefore to store protected or private information there are two options:
Encrypt the information and store it publicly or
Store the information off-chain and keep on-chain only the link to that information.
The latter is the best way to store private information because it prevents anyone from knowing anything about it and can be removed without storing it on-chain forever. Moreover, it is perfect for large data like images or videos, which otherwise would be very expensive.
Versions
Registers are versioned i.e. they are associated a specific version of a suri, therefore the date of a register that does not belong to the current version of the suri should be ignored because it is considered outdated or that it belongs to another owner.
Last updated