How To Create a Token (Step-by-Step ERC20 Code Explained)

Sdílet
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);
    }
    }

Komentáře • 298

  • @Nascytrippier
    @Nascytrippier Před dnem +33

    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.

    • @cainenoble
      @cainenoble Před dnem

      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

    • @Virgocynthia
      @Virgocynthia Před dnem

      She's really good in studying the market and making a strategy and i am learning so much from her already

    • @bennys5676
      @bennys5676 Před dnem

      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.

    • @JamesMiller-zm6ku
      @JamesMiller-zm6ku Před dnem

      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.

    • @annakar387
      @annakar387 Před dnem

      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

  • @kaankbts7230
    @kaankbts7230 Před rokem +53

    Rug pull guide thank you my man

  • @arthur9490
    @arthur9490 Před rokem +27

    Dude, you are a natural born teacher, explained everything thoroughly and methodically. Good stuff

  • @styliann
    @styliann Před rokem +8

    This is top notch - well explained and straight to the point.

  • @thanoss77
    @thanoss77 Před rokem +6

    No one explains better than Theo 😊 Great video once again.

    • @TheMessanger
      @TheMessanger Před rokem

      yeap awsome I wonder if it was him emailing me offering me an investment option anyone got an email like this?

    • @mrdingles5107
      @mrdingles5107 Před rokem

      Actually the guy(price time) who makes youtube videos for Sphere Finance, sounds just like Theodore when he explains things

  • @user-vn5zn6om2v
    @user-vn5zn6om2v Před měsícem

    Can't Believe that there is this guy who explains it very clearly, clear than my life path

  • @tobakaloki5694
    @tobakaloki5694 Před 9 měsíci +7

    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.

  • @jm7990
    @jm7990 Před rokem +1

    Great work Theodore! I love your channel!

  • @jatinker10
    @jatinker10 Před rokem +4

    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.

  • @petermarsh2174
    @petermarsh2174 Před rokem

    Great video once again looking forward to the next video on meme coins

  • @Curiouz_Creator
    @Curiouz_Creator Před rokem

    Thank you dude, I made my first crypto!

  • @JeJeNtwrk
    @JeJeNtwrk Před rokem

    THIS WILL BE LOVELY.
    THANK YOU.

  • @ventacode
    @ventacode Před rokem

    Waiting for long time...for this

  • @DerBluffer
    @DerBluffer Před rokem +2

    Top content as always!

  • @jameshuggins8335
    @jameshuggins8335 Před rokem +1

    Greetings much appreciated 👍

  • @manfrombritain6816
    @manfrombritain6816 Před rokem

    immediately subbing, this is perfect

  • @vanbonz142
    @vanbonz142 Před rokem

    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 ?

  • @gst1005
    @gst1005 Před rokem

    great video, thanks!

  • @carmindaAntunes
    @carmindaAntunes Před rokem +84

    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.

    • @jamesdrew296
      @jamesdrew296 Před rokem

      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.

    • @Wellingtonluzia3
      @Wellingtonluzia3 Před rokem

      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.

    • @Brendavonrohr4
      @Brendavonrohr4 Před rokem

      @@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.

    • @mohammeddumadi8323
      @mohammeddumadi8323 Před rokem

      @@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?

    • @Brendavonrohr4
      @Brendavonrohr4 Před rokem

      @@mohammeddumadi8323 *DEBORAH STAVARACHE CASTRO* is the coach that guides me.

  • @smanolloff
    @smanolloff Před rokem +1

    Any reason to use Chrome over Brave, though? I thought you prefer the latter, given the video you made some time ago.

  • @kaltrex9465
    @kaltrex9465 Před 21 dnem

    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

  • @antonpictures
    @antonpictures Před rokem

    great job!

  • @paperhandzz100
    @paperhandzz100 Před 10 měsíci

    Hey when u put pragma solidity and chose what version to use is there a different version nowadays or keep the same one

  • @eugeniusgmbl
    @eugeniusgmbl Před rokem

    Thank You!!!

  • @TAREEBITHETERRIBLE
    @TAREEBITHETERRIBLE Před 11 měsíci +3

    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?

    • @davesomeone4059
      @davesomeone4059 Před 8 měsíci

      New version of software comes out in a year usually. Relax.

  • @planet_babylon
    @planet_babylon Před rokem +3

    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.

    • @jm7990
      @jm7990 Před rokem

      Google it. The DEXs have instructions on how to apply then you'll have to add liquidity.

    • @Andrew-ig5sp
      @Andrew-ig5sp Před rokem +2

      Can't mint tokens and then just trade them for other crypto. Marketing + Utility is needed.

  • @thwnsingsingthawn6725

    Thank you
    Can you pls make video for how to create website after I created the token

  • @cryptoricanqueen
    @cryptoricanqueen Před rokem

    The mintfifty does not appear on the left side where the orange buttons are. Not sure what I am doing wrong

  • @yasinundercover
    @yasinundercover Před rokem

    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 !

  • @themindfulcoder3992
    @themindfulcoder3992 Před 10 měsíci

    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??

  • @mahdiyealimohammadi568
    @mahdiyealimohammadi568 Před 11 měsíci

    thanks a lot

  • @voodoorose37
    @voodoorose37 Před 10 měsíci +2

    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

    • @0xJo_x
      @0xJo_x Před 4 měsíci

      contract TheodoresToken is ERC20("Theodores Token", "TT"), Ownable(msg.sender) {
      // ...
      }

  • @henrygarcia1132
    @henrygarcia1132 Před 9 měsíci

    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!

  • @AscendingPilot
    @AscendingPilot Před 7 měsíci +2

    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.

  • @helenefuldsc9007
    @helenefuldsc9007 Před rokem

    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?

  • @ViceCoin
    @ViceCoin Před rokem +1

    Remix does not connect with inject web3 or Metamask on Android devices. Any alternative to remix?

  • @PompCircus
    @PompCircus Před 7 měsíci +1

    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

  • @A_M2052
    @A_M2052 Před rokem

    Nice! 👍🏽

  • @creol3511
    @creol3511 Před rokem

    Awesome!

  • @anislouriche4775
    @anislouriche4775 Před rokem +1

    Did you use MATIC on Polygon or MATIC on Ethereum?

  • @westsidegreg555
    @westsidegreg555 Před 3 měsíci

    Did the Meme coin video ever come out ?? Or is that in your boot camp now ?

  • @elvismatasaru2953
    @elvismatasaru2953 Před měsícem

    You can do something similar for Solana or Bnb smart chain?

  • @josephlikesred2411
    @josephlikesred2411 Před 10 měsíci +1

    when I tried to do the code the part "ownable" is the part that errored me and idk how to fix it

  • @yasirlove499
    @yasirlove499 Před rokem

    I'm already making a profit with LEO, what else do I need a token for?

  • @user-xv7mc4rn9k
    @user-xv7mc4rn9k Před 6 měsíci +1

    hey ser I have error went I entre the ownable link i ask to chat gpt and they want delete all ownable think

  • @adammmad
    @adammmad Před rokem

    It looks good, but for this I need to do something, it's easier to just buy leo or similar tokens.

  • @Prince_of_Winterfell
    @Prince_of_Winterfell Před 3 měsíci

    Natural born teacher

  • @joinn6458
    @joinn6458 Před rokem

    there's in error in it says spdx license identifier not provided in source file.

  • @motivationworld468
    @motivationworld468 Před rokem +1

    How can I trade our created tokens on polygon? How can I provide liquidity to it?

    • @adithpcadith3985
      @adithpcadith3985 Před 2 měsíci

      Bro you need add your crypto on any dex, and there you can provide liquidity, so you can fix the price

  • @akashshrestha01
    @akashshrestha01 Před 8 měsíci

    nice

  • @ELenaGarcia-jy5co
    @ELenaGarcia-jy5co Před 10 měsíci +31

    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.

    • @Jefferyadams210
      @Jefferyadams210 Před 10 měsíci

      I'm surprised you know her. I've been making a lot of profits investing with her for a few months now.

    • @Kareenwood8738
      @Kareenwood8738 Před 10 měsíci

      Mrs Reyes changed my life because of the high profits I got from investing with her.

    • @ibrahimbarakat5872
      @ibrahimbarakat5872 Před 10 měsíci

      You invest with Mrs Reyes too? Wow that woman has been a blessing to me and my family.

    • @melissagreen2727
      @melissagreen2727 Před 10 měsíci

      I'm new at this, please how can I reach her?

    • @jennisonspolly5120
      @jennisonspolly5120 Před 10 měsíci

      I was skeptical at first till I decided to try. Its huge returns is awesome. I can't say much

  • @dheluxeTV
    @dheluxeTV Před rokem

    when I click reannounce owner it transfer to 0x00000 address how to back to its original owner or to other address?

  • @Ketofit62
    @Ketofit62 Před rokem

    Please explain how to do this on the new EOS. Token creator

  • @IdahoPotatoes
    @IdahoPotatoes Před rokem

    The only way for others to buy tokens is directly from me after i mint them?

  • @doodlearmy2.049
    @doodlearmy2.049 Před rokem

    Pls tell about metgain token which is working on trc20

  • @user-db6ht3vk3t
    @user-db6ht3vk3t Před 2 měsíci

    What can you tell about MINA project?

  • @CryptoBoblicious
    @CryptoBoblicious Před 5 měsíci

    Uff sounds easy how your are explaining, but I guess if I try would not be easy lol

  • @mafnref1208
    @mafnref1208 Před 7 měsíci

    Is it included smart contract tutorial?

  • @rightcourse
    @rightcourse Před rokem +1

    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

  • @Toyman-rj9vy
    @Toyman-rj9vy Před 11 měsíci +3

    It worked perfectly until I inputted ownable. Is this an old version?

    • @relaxationguru4240
      @relaxationguru4240 Před 10 měsíci

      me as well ,

    • @davesomeone4059
      @davesomeone4059 Před 8 měsíci

      @@relaxationguru4240 I had to ad my wallet number after "ownable". Like this : Ownable(0x9B38Db6a701c568545dCfcC03FcB875f56ceddC4){
      function mintFifty() public onlyOwner

  • @WheelR.
    @WheelR. Před rokem +1

    I want to know how safe this token could be?

    • @esnapii680
      @esnapii680 Před rokem

      You can't say if it has backdoor

  • @youdontneedslowmotionjustbrain

    Do you also have a video for marketing address etc?

  • @nakedsquirtle
    @nakedsquirtle Před rokem +2

    What if Destiny (a woman's name) asked someone if they could create a token from the command line?

  • @kratosngr
    @kratosngr Před rokem

    Wow

  • @autolovers1
    @autolovers1 Před rokem

    there is no contract in my place so weird .. to check that green checkmark in beggining

    • @thepoeticpoet
      @thepoeticpoet Před rokem

      control button + s, probably didn't compiled the code

  • @tripore
    @tripore Před rokem

    Excellent. However, that doesn't explain the market space : how much your TT tocken worth in USD or BTC.

    • @WhiteboardCrypto
      @WhiteboardCrypto  Před rokem +2

      It's worth nothing 😂 You can build a token to learn, as opposed to trying to make money

    • @SkatoholicVideo
      @SkatoholicVideo Před 7 měsíci

      ​@@WhiteboardCryptobut how to calculate worth

  • @moufbreava
    @moufbreava Před 11 měsíci

    Theodore Token to the moon!!

  • @dariousmoiras2476
    @dariousmoiras2476 Před rokem +1

    What about a picture for the thumbnail?

  • @zaahidmall4496
    @zaahidmall4496 Před 3 měsíci

    Why do I get a error when I add onlyowner and own able

  • @27bossjunior
    @27bossjunior Před rokem

    do you have a bsc ca ??

  • @munesharts__9311
    @munesharts__9311 Před rokem

    bro but it is taking 100$ for deploying what should i do???

  • @bluetril
    @bluetril Před 4 měsíci

    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...
    :( :(

  • @JulienCohenMusic
    @JulienCohenMusic Před rokem

    It's like getting in a masterclass of chinese

  • @bradvani
    @bradvani Před rokem

    Sam was here

  • @UltorXbt
    @UltorXbt Před rokem

    Is this constantly updated?

  • @aboynamedhan
    @aboynamedhan Před měsícem

    how do i make public claim?

  • @lennycloudz2cloudz233
    @lennycloudz2cloudz233 Před 2 měsíci

    maybe make a tutorial where you show how to send your tokens to your wallet

  • @tapassew8652
    @tapassew8652 Před rokem

    right now there are more tether on erc 20 blockchain

  • @starrebornalpha
    @starrebornalpha Před 15 dny

    why not deploy on eth instead of matic? wth

  • @RimleStudios
    @RimleStudios Před 2 měsíci +1

    oooooouu qaqa sene soxublar jankovic vare sene ktktktkktktkt elesin

  • @AmanKumar23
    @AmanKumar23 Před 8 měsíci +2

    TypeError: No arguments passed to the base constructor. Specify the arguments or mark "TheodoresToken" as abstract.

    • @hbertquach3122
      @hbertquach3122 Před 8 měsíci +1

      import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; and "@openzeppelin/contracts/access/Ownable.sol"; to use the integrated openzepplelin package integrated in remix IDE

    • @MOTIONMORT
      @MOTIONMORT Před 8 měsíci +1

      a

  • @NdewoNigeria
    @NdewoNigeria Před 6 měsíci

    The token is worth zero. How do you get the token to be worth something?

  • @MrAlpinab7
    @MrAlpinab7 Před rokem +31

    Could this token be listed on FTX ? 🤣

  • @hrv0.-
    @hrv0.- Před 5 měsíci

    Pepecoin to the ground :D

  • @SiFuJasper
    @SiFuJasper Před rokem +10

    #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

    • @VforVanish
      @VforVanish Před rokem +1

      Missed the jail (hopefully) part 👌👌

    • @Andrew-ig5sp
      @Andrew-ig5sp Před rokem

      #8 piss off many other humans that will want you to be locked in a jail cell and hope your donations will prevent it.

  • @dalejohnson130
    @dalejohnson130 Před rokem

    Isn't that what sam bankrun freed did

  • @willmac623
    @willmac623 Před rokem

    where's the how to meme coin videos?

  • @VoidNumber
    @VoidNumber Před 3 měsíci

    Somebody want to list his token in new crypto wallet?

  • @dallassegno
    @dallassegno Před rokem +1

    sol stands for shit outta luck

  • @PedroRodriguez-dl5yt
    @PedroRodriguez-dl5yt Před rokem

    667 like, I will be millionaire, je je je

  • @JonesyStayFly
    @JonesyStayFly Před 9 měsíci

    I created a token and someone stole all of them. It's a horrible experience

  • @khizar_mmv
    @khizar_mmv Před rokem

    2nd view

  • @light-light
    @light-light Před rokem

    when click deplay, metamask does not pop up and don't show estimated gas.

  • @M8Akram
    @M8Akram Před 3 měsíci

    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

  • @dallassegno
    @dallassegno Před rokem

    ha ha ha why would anyone care exactly today

  • @williamadepoju9847
    @williamadepoju9847 Před rokem

    LOL, you won't teach how to write a modifier because it's not your bootcamp... Wow

  • @aemde
    @aemde Před rokem

    guuud

  • @riff1431
    @riff1431 Před rokem

    I got an error: creation of MyToken errored: [ethjs-query] while formatting outputs from RPC '{"value":{"code":-32603,"data":{"code":-32000,"message":"transaction underpriced"}}}'