Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 540 Bytes

File metadata and controls

15 lines (10 loc) · 540 Bytes

Mint to Address or Contract

We can mint and transfers to an Address or a Contract.

To use the function we must import it.

{{#include ../../../../code/operations/asset_operations/src/lib.sw:mint_to_import}}

To mint some amount of an asset we specify the amount that we would like to mint and the Identity to send it to.

{{#include ../../../../code/operations/asset_operations/src/lib.sw:mint_to}}