Mint
To use the function we must import it.
use std::asset::mint;
To mint some amount of an asset we specify the amount
that we would like to mint and pass it into the mint()
function.
let amount = 10;
mint(SubId::zero(), amount);
To use the function we must import it.
use std::asset::mint;
To mint some amount of an asset we specify the amount
that we would like to mint and pass it into the mint()
function.
let amount = 10;
mint(SubId::zero(), amount);