The Big Three
When working with Yerbas assets you will most likely be using one of these three. They are by far the most used types of assets. It can help to think of these assets as pieces of some abstract on-chain website.
Main assets
Running on our website analogy, a main asset is like the domain name.
Metadata | Information |
---|---|
Asset Name | 3-30 capital letters. '.' and '_' are also allowed, but they cannot be at the beginning or end of the asset name. More than one of these special characters also cannot be next to one another. The names YERB, YERBAS, and YERBAS are reserved. |
Ownership Asset | Main assets have an associated ownership asset |
Prerequisites | None |
Asset Amount | 1 - 21,000,000,000 of this asset can be created |
Cost | 69.420 YERB |
Reissuability | This asset can be set to be reissued |
Divisibility | Divisibility can be set from 0-8 |
Associated Data | This asset can have associated data |
The ownership asset of a main asset is required to create the following two assets.
Sub-assets
A sub-asset can be likened to a website's path. Creating a sub asset requires a main asset ownership token.
Metadata | Information |
---|---|
Asset Name | The sub-portion of the name must be at least 1 capital letter. '.' and '_' are also allowed, but they cannot be at the beginning or end of the sub-portion. More than one of these special characters also cannot be next to one another. The full sub-asset name takes the form [main asset name]/[sub-portion]. This full name must be 30 or less characters. |
Ownership Asset | Sub-assets have an associated ownership asset |
Prerequisites | A main asset's ownership asset |
Asset Amount | 1 - 21,000,000,000 of this asset can be created |
Cost | 20 YERB |
Reissuability | This asset can be set to be reissued |
Divisibility | Divisibility can be set from 0-8 |
Associated Data | This asset can have associated data |
Unique assets
A unique asset can be likened to a file on a website. Creating a unique asset requires a main asset ownership token or a sub-asset ownership token. There can only be 1 of a unique asset.
Metadata | Information |
---|---|
Asset Name | The unique portion of the name must be at least 1 character. The full unique asset name takes the form [main or sub asset name]#[unique portion]. This full name must be 30 or less characters. |
Ownership Asset | Unique assets have no associated ownership asset |
Prerequisites | A main asset or sub-asset's ownership asset |
Asset Amount | 1 of this asset can be created |
Cost | 0.2 YERB |
Reissuability | This asset cannot be reissued |
Divisibility | Divisibility is 0 |
Associated Data | This asset can have associated data |