Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 492 Bytes

File metadata and controls

15 lines (10 loc) · 492 Bytes

Mint to Address

We can mint and transfer the asset to an Address.

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 Address to send it to.

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