Skip to content

token:mint

Mint tokens to an account. Calls the mint(address,uint256) function commonly exposed by OpenZeppelin-based ERC20 tokens (usually role- or owner-gated).

token:mint <amount> <token> <to> <account>
NameTypeDescription
amountnumberAmount in token units (wei)
tokenaddressToken address
tocommandKeyword to
accountaddressRecipient
load token
set $token 0x9C58BAcC331c9aa871AFD802DB6379a98e80CEdb
token:mint 100e18 $token to @me
  • mint(address,uint256) is not part of the ERC20 standard — it exists only where the contract exposes it (OpenZeppelin Wizard-style tokens), usually gated by MINTER_ROLE or the owner.