setDescription
Set the description of the asset. This supports the markdown syntax.
Usage
import { , } from '@deltadao/nautilus'
import { } from 'ethers'
import from './description.md'
const = await .(new ('0x1234'))
const = new ()
.()
const = .()
await .()
ddo.metadata: { description: { '@value': '# Asset Title\n\nA detailed description…', '@language': 'en', '@direction': 'ltr' }}# Asset Title
A detailed description of my asset and what it offers.
This supports markdown, such as **highlights** or [links](https://link.to/my-external-resource) to other resources.Returns
- Type:
AssetBuilder
The asset builder instance, to chain further calls with.
Parameters
description
- Type:
string
The description you want to set to the asset's metadata to be built. Can contain markdown syntax.
.(
'# Title for my asset\n\nA **detailed** description of my asset.'
)