GroupDescriptor

class GroupDescriptor(var ticker: String? = null, var name: String? = null, var docUri: String? = null, var doc: String? = null, var decimals: Int? = null)

Constructors

Link copied to clipboard
constructor(ticker: String? = null, name: String? = null, docUri: String? = null, doc: String? = null, decimals: Int? = null)

Properties

Link copied to clipboard
Link copied to clipboard
var doc: String?

The token description document as a JSON string.

Link copied to clipboard

Where this document will be placed: if http or https is used, this connects this group with a domain

Link copied to clipboard
var name: String?
Link copied to clipboard

Functions

Link copied to clipboard

Turn this group descriptor into a genesis opreturn script and a Token description document file. Return that filename

Link copied to clipboard
fun buildTokenDescriptionDoc(wallet: Wallet, genesisAddr: PayAddress): String?
Link copied to clipboard
fun buildTokenDescriptionFile(wallet: Wallet, genesisAddr: PayAddress, outputFile: Path): Boolean