setNftTokenSymbol
Set the symbol (shorthand name) of the NFT.
The default token symbol is NAUTILUS-NFT
.
Official OceanProtocol documentation: DDO Specification
Usage
import { AssetBuilder, Nautilus } from '@deltadao/nautilus'
import { Wallet } from 'ethers'
const nautilus = await Nautilus.create(new Wallet('0x1234'))
const assetBuilder = new AssetBuilder()
assetBuilder.setNftTokenSymbol('NFT-SYMBOL')
const asset = assetBuilder.build()
await nautilus.publish(asset)
Returns
- Type:
AssetBuilder
The asset builder instance to chain building calls with.
Parameter
symbol
- Type:
string
A short descriptive symbol to use for the NFT. A symbol is usually a shorthand representation of the name.
assetBuilder.setNftTokenSymbol(
'NFT-SYMBOL'
)