setName
Set the name of the asset.
Usage
import { , } from '@deltadao/nautilus'
import { } from 'ethers'
const = await .(new ('0x1234'))
const = new ()
.('Randomly Generated Weather Data')
const = .()
await .()
ddo.metadata: { name: 'Randomly Generated Weather Data'}Returns
- Type:
AssetBuilder
The asset builder instance, to chain further calls with.
Parameters
name
- Type:
string
A short descriptive name to use for the asset's metadata.
.(
'Asset Name'
)