How To Create a Token (Step-by-Step ERC20 Code Explained)
Whiteboard Crypto Whiteboard Crypto
909K subscribers
110,753 views
0

 Published On Nov 15, 2022

Join the Bootcamp waitlist to fully understand how to write smart contracts and build your own dApp: https://whiteboardcrypto.com/

Here's the code:
//SPDX-License-Identifier: MIT
pragma solidity 0.8.13;
import "https://github.com/OpenZeppelin/openz...";
import "https://github.com/OpenZeppelin/openz...";
contract TheodoresToken is ERC20("Theodores Token", "TT"),Ownable{
function mintFifty() public onlyOwner {
_mint(msg.sender, 50 * 10**18);
}
}

show more

Share/Embed