MyToken is an Ethereum ERC20 token contract that allows the contract owner to mint tokens to a provided address, and users to burn and transfer tokens.
- Mint tokens to a specified address by the contract owner.
- Burn tokens by any user.
- Transfer tokens between addresses.
- Remix-IDE
- Name: MetaCrafterToken
- Symbol: MCT
- Decimals: 18
Mints new tokens and assigns them to the specified account.
account
: The address to which the tokens will be minted.amount
: The number of tokens to mint.
This function can only be called by the contract owner.
Burns the specified number of tokens from the caller's account.
amount
: The number of tokens to burn.
Transfers tokens from the caller's account to the specified recipient.
recipient
: The address to which the tokens will be transferred.amount
: The number of tokens to transfer.
MIT License-see details here
Copyright (c) 2023 Gaurav Kumar Singh