Function
mint
mint( chromiaClient: IClient, adminSignatureProvider: SignatureProvider, accountId: BufferId, assetId: BufferId, amount: Amount, ): Promise<{ receipt: TransactionReceipt }>mints assets
Parameters
- chromiaClient: IClient
a client to connect to the blockchain
- adminSignatureProvider: SignatureProvider
a signature provider with the keypair stored in chromia.yml under
lib.ft4.core.admin - accountId: BufferId
the account that will receive the newly minted asset
- assetId: BufferId
the asset to mint
- amount: Amount
how much to mint
Returns Promise<{ receipt: TransactionReceipt }>
a TransactionReceipt object that allows to check the status of the transaction and its RID
- chromiaClient: IClient