Skip to content

Latest commit

 

History

History
64 lines (43 loc) · 2.35 KB

IssuanceBuilder1.md

File metadata and controls

64 lines (43 loc) · 2.35 KB

IssuanceBuilder1

Build & Model A FAT-1 Issuance

Kind: global class
Access: public

new IssuanceBuilder(tokenId, identityChainId, sk1)

Param Type Description
tokenId string arbitrary string to use as a token identifier
identityChainId string 64 character Factom Chain ID of the identity to issue the token under
sk1 string SK1 Private key belonging to the identity at identityChainId

issuanceBuilder1.symbol(symbol) ⇒ IssuanceBuilder

Set a symbol for the token

Kind: instance method of IssuanceBuilder1

Param Type Description
symbol string arbitrary string to use as a token symbol identifier. e.x. MYT

issuanceBuilder1.supply(supply) ⇒ IssuanceBuilder

Set a maximum circulating supply for the token

Kind: instance method of IssuanceBuilder1

Param Type Description
supply number An integer maximum circulating supply to allow for the token. May be -1 for infinite, otherwise must be greater than 0

issuanceBuilder1.metadata(metadata) ⇒ IssuanceBuilder

Set arbitrary metadata for the token issuance

Kind: instance method of IssuanceBuilder1

Param Type Description
metadata * The metadata. Must be JSON stringifyable

issuanceBuilder1.build() ⇒ Issuance

Build the issuance

Kind: instance method of IssuanceBuilder1