Asset Creation
An asset is a representation of whatever is being preserved. Each asset can be owned by just one individual at a time.
Last updated
Was this helpful?
An asset is a representation of whatever is being preserved. Each asset can be owned by just one individual at a time.
Last updated
Was this helpful?
Creating an asset is as simple as calling create
. This command registers a new universally unique address in Tephra. The address will be timestamped and stored in the Tephra changeset. All changes are preserved in chunks on / .
Addresses can be used to retrieve information about an asset like its contents (see below), owner, date of creation, chain of custody, etc. These details are public and can be viewed by anyone using Tephra Validate.
Assets can also contain details that are preserved as part of the changeset. Media should be uploaded to and provided as an address so that values are is immutable.
All of these fields are optional.
Field
Type
name
string
description
string
image
{ type: 'ipfs', address: string }
attributes
{ label: string, value: string }[]