How To Create a Token (Step-by-Step ERC20 Code Explained)
122,673
Published 2022-11-15
Here's the code:
//SPDX-License-Identifier: MIT
pragma solidity 0.8.13;
import "github.com/OpenZeppelin/openzeppelin-contracts/blo…";
import "github.com/OpenZeppelin/openzeppelin-contracts/blo…";
contract TheodoresToken is ERC20("Theodores Token", "TT"),Ownable{
function mintFifty() public onlyOwner {
_mint(msg.sender, 50 * 10**18);
}
}
All Comments (21)
-
Dude, you are a natural born teacher, explained everything thoroughly and methodically. Good stuff
-
You have no idea how awesome you are to put out information like this. I just started my adventure with coding and solidity just using AI (helps, but lacks explaining and giving 100% accurate code). This video just helped me understand the basics and from there i can teach myself further.
-
This is top notch - well explained and straight to the point.
-
No one explains better than Theo 😊 Great video once again.
-
Great work Theodore! I love your channel!
-
Rug pull guide thank you my man
-
Can't Believe that there is this guy who explains it very clearly, clear than my life path
-
Your videos are the best! Your work is really appreciated. Would you consider doing a video(s) on the unspent transaction model (BTC) vs the account balance model (ETH)? Thanks for being my crypto tutor.
-
Great video once again looking forward to the next video on meme coins
-
Waiting for long time...for this
-
Top content as always!
-
Awesome video ! Great context and very well explained. I would like to deploy my token on the BSC binance smart chain network. What should i do different ?
-
Thank you dude, I made my first crypto!
-
Any reason to use Chrome over Brave, though? I thought you prefer the latter, given the video you made some time ago.
-
Your video is the best about creating token. Easy and to the point
-
THIS WILL BE LOVELY. THANK YOU.
-
immediately subbing, this is perfect
-
What does one use a token to accomplish? How does a value price form and what system does a buyer’s cash go thru? Do you request your token to be listed on an exchange? Thanks
-
Hey when u put pragma solidity and chose what version to use is there a different version nowadays or keep the same one
-
Greetings much appreciated 👍