Batch mint Tokens to many addresses
Private
contractPrivate
erc20Mint Tokens
Rest
...args: [to: string, amount: string | number]Mint tokens to a specified address.
const toAddress = "{{wallet_address}}"; // Address of the wallet you want to mint the tokens to
const amount = "1.5"; // The amount of this token you want to mint
await contract.token.mint.to(toAddress, amount);
Rest
...args: [to: string, amount: string | number]Private
detectUse contract.erc20.mint.prepare(...args)
instead
Generated using TypeDoc
Mint ERC20 Tokens
Remarks
Token minting functionality that handles unit parsing for you.
Example