Descriptor Data Builder

const descriptorData = DescriptorDataBuilder
.create('Some name')
.setBackground('QmUFc4dyX7TJn5dPxp8CrcDeedoV18owTBUWApYMuF6Koc', 'image/jpeg')
.setAvatar('QmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR', 'image/gif')
.setSocialMediaLinks(['https://somelink.com'])
.setAlias('alias','tld') // or just 'alias' (without tld - default: signum)
.setCustomField('xc', 'value')
.setDescription('description')
.setExtension('QmUFc4dyX7TJn5dPxp8CrcDeedoV18owTBUWApYMuF6Koc')
.setHomePage('https://homepage.com')
.setType('oth')
.setSendRule('^[a-Z]{3}$')
.build();

Creates SRC44-compliant DescriptorData object to be used as description in Smart Contracts, Account Info, and/or Aliases

Methods