Data Model
In language-specific guides we already walked you through registering domains, accounts, and assets. Here we merely wish to illustrate the relationship between various objects in the blockchain.
+-----------------------------------------------+
| |
| +-----------------+ |
| |Domain | |
| +--------------+ | |
| ||Asset | | |
+--+--+ ||Definition(s)| | |
|World| +--------------+ | |
+--+--+ | | |
| +------------+ | |
| ||Account(s)|| | has +-----------+ |
| |------------------------->Signatories| |
| +-----------------+ +-----------+ |
| | |
| | has +--------+ |
| +------->Asset(s)| |
| +--------+ |
+-----------------------------------------------+
The following example shows the relationship between domains, accounts, and assets.
Language-specific guides to register these objects
Language | Guide |
---|---|
CLI | Register a domain, an account, an asset |
Rust | Register a domain, an account, an asset |
Kotlin/Java | Register a domain, an account, an asset |
Python | Register a domain, an account, an asset |
JavaScript/TypeScript | Register a domain, an account, an asset |
The diagram below provides a more detailed illustration of the relationship between domains, accounts, and assets in the blockchain. You can learn more about permissions and roles and metadata in the corresponding sections. The asset structure is illustrated in a dedicated chapter.