Skip to main content

Creating Assets

When creating an asset, you need to know what type of asset you want, the name of the asset, the amount of an asset, how much it costs to create an asset, and the metadata associated with an asset.

Assets cannot be differentiated against one another except through their names. This means that all asset names must be unique; an asset creation will not be accepted by the chain if the name is not unique.

Asset names are encoded via the ascii scheme. This means that asset names can currently only be in the latin alphabet.

The cost of creating an asset can also be see more of as cost to "reserve the name"; this cost is static no matter how much of an asset you create (However, do note that it costs 100 YERB to reissue an asset).

When creating a child asset the parent asset and parent ownership asset have no control over it. If you wish to have more control over assets, see restricted assets

To put this information in a more readable format, all of the upcoming asset types will contain the following chart:

MetadataInformation
Asset NameName specifications
Ownership AssetOwnership specifications
PrerequisitesPrerequisite specifications
Asset AmountAmount specifications
CostCost specifications
ReissuabilityReissuability specifications
DivisibilityDivisibility specifications
Associated DataAssociated data specifications

This table denotes the fields avaliable and their limitations.

For instance, an ownership asset table looks like this:

MetadataInformation
Asset NameBase asset name + '!'
Ownership AssetNo associated ownership asset
PrerequisitesCreated with another asset
Asset AmountThere can only be 1 of some ownership asset
CostComes with the base asset
ReissuabilityCannot be reissued
DivisibilityHas 0 divisibility
Associated DataNo data can be associated