Skip to content
LogoLogo

setAuthor

Set the author name of the asset. This should be the name of the company responsible for publishing and maintaining this asset.

Usage

import { ,  } from '@deltadao/nautilus'
import {  } from 'ethers'
 
const  = await .(new ('0x1234'))
 
const  = new ()
.('deltaDAO AG') 
const  = .() 
 
await .() 
ddo.metadata:
{
author: 'deltaDAO AG'
}

Returns

The asset builder instance, to chain further calls with.

Parameters

author

  • Type: string

The author you want to set to the asset's metadata to be built.

.(
    'Company Name'
)