How To Create a Token (Step-by-Step ERC20 Code Explained)
Vložit
- čas přidán 14. 11. 2022
- Join the Bootcamp waitlist to fully understand how to write smart contracts and build your own dApp: whiteboardcrypto.com/
Here's the code:
//SPDX-License-Identifier: MIT
pragma solidity 0.8.13;
import "github.com/OpenZeppelin/openz...";
import "github.com/OpenZeppelin/openz...";
contract TheodoresToken is ERC20("Theodores Token", "TT"),Ownable{
function mintFifty() public onlyOwner {
_mint(msg.sender, 50 * 10**18);
}
}
From my observation and historical market pattern, there might be a bit of turbulence in the market coming up, but here's the deal: Trying to guess what's going to happen next is less important than spreading your bets when trading and thinking long term. It's not about guessing the market's next move; it's about playing it smart and steady...managed to grow a nest egg of around 100k to a decent 732k in the space of a few months... I'm especially grateful to rachael campbell, whose deep expertise and traditional trading acumen have been invaluable in this challenging, ever-evolving financial landscape.
RACHAEL CAMPBELL understanding of market indicators is impressive. She knows exactly when to enter and exit trades for maximum profit. her siignals are top notch
She's really good in studying the market and making a strategy and i am learning so much from her already
The fact that I got to learn and earn from her program is everything to me think about it, it's a win-win for both ways.
Wow. I'm a bit perplexed seeing rachael campbell. name been mentioned here also. Didn't know she has been good to so many people.
She is my family's personal broker and also a personal broker in many families I'm United States, she's a licensed broker and a FINRA AGENT in United states
Rug pull guide thank you my man
😂😂😂😂
Top comment
Hhhhhh real men don't cry but revenge
Dude, you are a natural born teacher, explained everything thoroughly and methodically. Good stuff
he is actually!
This is top notch - well explained and straight to the point.
No one explains better than Theo 😊 Great video once again.
yeap awsome I wonder if it was him emailing me offering me an investment option anyone got an email like this?
Actually the guy(price time) who makes youtube videos for Sphere Finance, sounds just like Theodore when he explains things
Can't Believe that there is this guy who explains it very clearly, clear than my life path
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.
Great work Theodore! I love your channel!
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
Thank you dude, I made my first crypto!
THIS WILL BE LOVELY.
THANK YOU.
Waiting for long time...for this
Top content as always!
Greetings much appreciated 👍
immediately subbing, this is perfect
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 ?
great video, thanks!
We are already in the big crash, Inflation is a catastrophe. This CPI report is a colossal failure. To bring the housing market to a halt, the FED will have to pull all the stops. The unfortunate issue is that other markets are being decimated. If you want to stay green, you have to rely on a lot of diversification. Currently up 14% and being careful. Still a better deal than leaving it in a savings or checking account yielding 0-1 percent interest.
People believe their currency has the worth it does because they have no other option. Even in a hyper-inflationary environment, individuals must continue to use their hyperinflationary currency since they likely have minimal access to other currencies or gold/silver coins.
Inflation is gradually going to become part of us and due to that fact any money you keep in cash or in a low-interest account declines in value each year. Investing is the only way to make your money grow and unless you have an exceptionally high income, investing is the only way most people will ever have enough money to retire.
@@Wellingtonluzia3 You are right! I diversified my 450K portfolio across various market with the aid of an investment coach, I have been able to generate a little bit above 1.3m in net profit across high dividend yield stocks, ETF and bonds during this red season.
@@Brendavonrohr4 How can I reach out to this coach? because I'm seeking for a more effective investment approach How good is this person at portfolio diversification, particularly with regard to digital assets?
@@mohammeddumadi8323 *DEBORAH STAVARACHE CASTRO* is the coach that guides me.
Any reason to use Chrome over Brave, though? I thought you prefer the latter, given the video you made some time ago.
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
great job!
Hey when u put pragma solidity and chose what version to use is there a different version nowadays or keep the same one
Thank You!!!
6:50 I had to switch pragma 0.8.13 to pragma 0.8.20 as well as the solidity compiler, will this affect my contracts negatively?
New version of software comes out in a year usually. Relax.
This is fantasitc. Thank you. Can we have a second video where you walk us through how the token dervies its value from the base pair, and how it can be traded on an exchange? I feel creating the token is the first step, but how do we utilise it and convert to other cryptos? Thank you.
Google it. The DEXs have instructions on how to apply then you'll have to add liquidity.
Can't mint tokens and then just trade them for other crypto. Marketing + Utility is needed.
Thank you
Can you pls make video for how to create website after I created the token
The mintfifty does not appear on the left side where the orange buttons are. Not sure what I am doing wrong
Bro Thanks a lot ! Can you help me I can't verify my toke over BSCscan when I type the code it shows that its an issue that we use the two links inside the code you showed... Do you have a solutions? I want to give my token a wallpaper etc. Thanks !
Thanks for the great video!! When I try and deploy it keeps failing and says ' Warning! Error encountered during contract execution [invalid opcode: opcode 0x5f not defined]' on polyscan...any idea where I've gone wrong??
thanks a lot
You're so great at this and am so grateful but it won't allow me beyond the onlyOwner modifier part, adding ,Ownable and the contract link at import, from contract downward it's all highlighted in red. It also won't allow me to build in 0.8.13 but only 0.8.19, despite my trying to change it. Help please? Thank you
contract TheodoresToken is ERC20("Theodores Token", "TT"), Ownable(msg.sender) {
// ...
}
So what’s the payout for minting your own token? What did you mint so little tokens? The big dogs mint T or Q. This I will search I guess I am self driven so this just seems small. Nt good enough for this guy!
It's a really good video but I am just wondering does it need updating because adding Ownable and the second import doesn't seem to work on my end. keep receiving an error still.
me too
Theo - I'd like to create a multiple wallet code for charity. Is there something in OpenZep for this? how can I find the codes?
Remix does not connect with inject web3 or Metamask on Android devices. Any alternative to remix?
I don't understand the only owner part - Ive input the code exactly how you have and everything on those line is underlined red. Confused
Nice! 👍🏽
Awesome!
Did you use MATIC on Polygon or MATIC on Ethereum?
Did the Meme coin video ever come out ?? Or is that in your boot camp now ?
You can do something similar for Solana or Bnb smart chain?
when I tried to do the code the part "ownable" is the part that errored me and idk how to fix it
I'm already making a profit with LEO, what else do I need a token for?
hey ser I have error went I entre the ownable link i ask to chat gpt and they want delete all ownable think
It looks good, but for this I need to do something, it's easier to just buy leo or similar tokens.
Natural born teacher
there's in error in it says spdx license identifier not provided in source file.
How can I trade our created tokens on polygon? How can I provide liquidity to it?
Bro you need add your crypto on any dex, and there you can provide liquidity, so you can fix the price
nice
I will be forever grateful to you, you changed my whole life and I will continue to preach on your behalf for the whole world to hear you saved me from huge financial debt with just a small investment, thank you Mrs Maria Reyes.
I'm surprised you know her. I've been making a lot of profits investing with her for a few months now.
Mrs Reyes changed my life because of the high profits I got from investing with her.
You invest with Mrs Reyes too? Wow that woman has been a blessing to me and my family.
I'm new at this, please how can I reach her?
I was skeptical at first till I decided to try. Its huge returns is awesome. I can't say much
when I click reannounce owner it transfer to 0x00000 address how to back to its original owner or to other address?
Please explain how to do this on the new EOS. Token creator
The only way for others to buy tokens is directly from me after i mint them?
Pls tell about metgain token which is working on trc20
What can you tell about MINA project?
Uff sounds easy how your are explaining, but I guess if I try would not be easy lol
Is it included smart contract tutorial?
Thank you for sharing this valid information. Staking in a pool is such a good deal, and that's why we have the best liquidity mining aggregator, Grizzlyfi. Kindly research it. You'd be glad you did
It worked perfectly until I inputted ownable. Is this an old version?
me as well ,
@@relaxationguru4240 I had to ad my wallet number after "ownable". Like this : Ownable(0x9B38Db6a701c568545dCfcC03FcB875f56ceddC4){
function mintFifty() public onlyOwner
I want to know how safe this token could be?
You can't say if it has backdoor
Do you also have a video for marketing address etc?
sure
What if Destiny (a woman's name) asked someone if they could create a token from the command line?
Wow
there is no contract in my place so weird .. to check that green checkmark in beggining
control button + s, probably didn't compiled the code
Excellent. However, that doesn't explain the market space : how much your TT tocken worth in USD or BTC.
It's worth nothing 😂 You can build a token to learn, as opposed to trying to make money
@@WhiteboardCryptobut how to calculate worth
Theodore Token to the moon!!
What about a picture for the thumbnail?
Why do I get a error when I add onlyowner and own able
do you have a bsc ca ??
bro but it is taking 100$ for deploying what should i do???
how to continue if there is an error thrown at 13:58 like this:
No injected provider found. Make sure your provider (e.g. MetaMask, ...) is active and running (when recently activated you may have to reload the page).
in fact the oprion as for the environment is slightly different -it contains INJECTED PROVIDER but no METAMASK...
:( :(
It's like getting in a masterclass of chinese
Sam was here
Is this constantly updated?
how do i make public claim?
maybe make a tutorial where you show how to send your tokens to your wallet
right now there are more tether on erc 20 blockchain
why not deploy on eth instead of matic? wth
oooooouu qaqa sene soxublar jankovic vare sene ktktktkktktkt elesin
TypeError: No arguments passed to the base constructor. Specify the arguments or mark "TheodoresToken" as abstract.
import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; and "@openzeppelin/contracts/access/Ownable.sol"; to use the integrated openzepplelin package integrated in remix IDE
a
The token is worth zero. How do you get the token to be worth something?
add lp
Could this token be listed on FTX ? 🤣
😂😂
No, it's too legitimate
😂😂😂
Probably
No
Prob worth more than FTT
Pepecoin to the ground :D
#1 go to MIT.
#2 date the daughter of the director of economics
#3 connive with the chair of the SEC who happened to work under said director above
#4 place ex girlfriend as head of trading firm
#5 create exchange just months after mother creates political super pac
#6 create token to use as collateral for funding exchange and leverage on ex girlfriend’s trading firm
#7 instant billionaire
piece of cake
Missed the jail (hopefully) part 👌👌
#8 piss off many other humans that will want you to be locked in a jail cell and hope your donations will prevent it.
Isn't that what sam bankrun freed did
where's the how to meme coin videos?
Somebody want to list his token in new crypto wallet?
sol stands for shit outta luck
667 like, I will be millionaire, je je je
I created a token and someone stole all of them. It's a horrible experience
Is this true? Is so how did they steal them?
2nd view
when click deplay, metamask does not pop up and don't show estimated gas.
The graph of this video is really weak,
But if you make another clear videos, I think you will get more subscribers and likes and comments
ha ha ha why would anyone care exactly today
LOL, you won't teach how to write a modifier because it's not your bootcamp... Wow
guuud
I got an error: creation of MyToken errored: [ethjs-query] while formatting outputs from RPC '{"value":{"code":-32603,"data":{"code":-32000,"message":"transaction underpriced"}}}'
same for me
@@BituMan21 i can help you