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

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 พ.ย. 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);
    }
    }

ความคิดเห็น • 299

  • @Nascytrippier
    @Nascytrippier 28 วันที่ผ่านมา +50

    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 28 วันที่ผ่านมา

      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 28 วันที่ผ่านมา

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

    • @bennys5676
      @bennys5676 28 วันที่ผ่านมา

      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 28 วันที่ผ่านมา

      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 28 วันที่ผ่านมา

      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

  • @arthur9490
    @arthur9490 ปีที่แล้ว +28

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

  • @kaankbts7230
    @kaankbts7230 ปีที่แล้ว +55

    Rug pull guide thank you my man

  • @styliann
    @styliann ปีที่แล้ว +8

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

  • @tobakaloki5694
    @tobakaloki5694 10 หลายเดือนก่อน +8

    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.

  • @user-vn5zn6om2v
    @user-vn5zn6om2v 2 หลายเดือนก่อน

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

  • @thanoss77
    @thanoss77 ปีที่แล้ว +6

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

    • @TheMessanger
      @TheMessanger ปีที่แล้ว

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

    • @mrdingles5107
      @mrdingles5107 ปีที่แล้ว

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

  • @jm7990
    @jm7990 ปีที่แล้ว +1

    Great work Theodore! I love your channel!

  • @ventacode
    @ventacode ปีที่แล้ว

    Waiting for long time...for this

  • @jatinker10
    @jatinker10 ปีที่แล้ว +5

    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 ปีที่แล้ว

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

  • @DerBluffer
    @DerBluffer ปีที่แล้ว +2

    Top content as always!

  • @JeJeNtwrk
    @JeJeNtwrk ปีที่แล้ว

    THIS WILL BE LOVELY.
    THANK YOU.

  • @Curiouz_Creator
    @Curiouz_Creator ปีที่แล้ว

    Thank you dude, I made my first crypto!

  • @jameshuggins8335
    @jameshuggins8335 ปีที่แล้ว +1

    Greetings much appreciated 👍

  • @manfrombritain6816
    @manfrombritain6816 ปีที่แล้ว

    immediately subbing, this is perfect

  • @gst1005
    @gst1005 ปีที่แล้ว

    great video, thanks!

  • @antonpictures
    @antonpictures ปีที่แล้ว

    great job!

  • @eugeniusgmbl
    @eugeniusgmbl ปีที่แล้ว

    Thank You!!!

  • @creol3511
    @creol3511 ปีที่แล้ว

    Awesome!

  • @A_M2052
    @A_M2052 ปีที่แล้ว

    Nice! 👍🏽

  • @vanbonz142
    @vanbonz142 ปีที่แล้ว

    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 ?

  • @carmindaAntunes
    @carmindaAntunes ปีที่แล้ว +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 ปีที่แล้ว

      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 ปีที่แล้ว

      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 ปีที่แล้ว

      @@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 ปีที่แล้ว

      @@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 ปีที่แล้ว

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

  • @mahdiyealimohammadi568
    @mahdiyealimohammadi568 ปีที่แล้ว

    thanks a lot

  • @smanolloff
    @smanolloff ปีที่แล้ว +1

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

  • @PompCircus
    @PompCircus 8 หลายเดือนก่อน +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

  • @akashshrestha01
    @akashshrestha01 9 หลายเดือนก่อน

    nice

  • @Prince_of_Winterfell
    @Prince_of_Winterfell 4 หลายเดือนก่อน

    Natural born teacher

  • @kaltrex9465
    @kaltrex9465 หลายเดือนก่อน

    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

  • @moufbreava
    @moufbreava ปีที่แล้ว

    Theodore Token to the moon!!

  • @paperhandzz100
    @paperhandzz100 11 หลายเดือนก่อน

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

  • @thwnsingsingthawn6725
    @thwnsingsingthawn6725 ปีที่แล้ว

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

  • @cryptoricanqueen
    @cryptoricanqueen ปีที่แล้ว

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

  • @themindfulcoder3992
    @themindfulcoder3992 10 หลายเดือนก่อน

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

  • @josephlikesred2411
    @josephlikesred2411 11 หลายเดือนก่อน +1

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

  • @yasinundercover
    @yasinundercover ปีที่แล้ว

    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 !

  • @ViceCoin
    @ViceCoin ปีที่แล้ว +1

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

  • @voodoorose37
    @voodoorose37 11 หลายเดือนก่อน +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 5 หลายเดือนก่อน

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

  • @ELenaGarcia-jy5co
    @ELenaGarcia-jy5co 11 หลายเดือนก่อน +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 11 หลายเดือนก่อน

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

    • @Kareenwood8738
      @Kareenwood8738 11 หลายเดือนก่อน

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

    • @ibrahimbarakat5872
      @ibrahimbarakat5872 11 หลายเดือนก่อน

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

    • @melissagreen2727
      @melissagreen2727 11 หลายเดือนก่อน

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

    • @jennisonspolly5120
      @jennisonspolly5120 11 หลายเดือนก่อน

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

  • @henrygarcia1132
    @henrygarcia1132 10 หลายเดือนก่อน

    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!

  • @helenefuldsc9007
    @helenefuldsc9007 ปีที่แล้ว

    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?

  • @TAREEBITHETERRIBLE
    @TAREEBITHETERRIBLE ปีที่แล้ว +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 9 หลายเดือนก่อน

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

  • @planet_babylon
    @planet_babylon ปีที่แล้ว +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 ปีที่แล้ว

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

    • @Andrew-ig5sp
      @Andrew-ig5sp ปีที่แล้ว +2

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

  • @AscendingPilot
    @AscendingPilot 8 หลายเดือนก่อน +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.

    • @HuidaFR
      @HuidaFR 7 หลายเดือนก่อน

      me too

  • @kratosngr
    @kratosngr ปีที่แล้ว

    Wow

  • @westsidegreg555
    @westsidegreg555 4 หลายเดือนก่อน

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

  • @user-xv7mc4rn9k
    @user-xv7mc4rn9k 7 หลายเดือนก่อน +1

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

  • @anislouriche4775
    @anislouriche4775 ปีที่แล้ว +1

    Did you use MATIC on Polygon or MATIC on Ethereum?

  • @adammmad
    @adammmad ปีที่แล้ว

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

  • @elvismatasaru2953
    @elvismatasaru2953 2 หลายเดือนก่อน

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

  • @Ketofit62
    @Ketofit62 ปีที่แล้ว

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

  • @joinn6458
    @joinn6458 ปีที่แล้ว

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

  • @dheluxeTV
    @dheluxeTV ปีที่แล้ว

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

  • @yasirlove499
    @yasirlove499 ปีที่แล้ว

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

  • @IdahoPotatoes
    @IdahoPotatoes ปีที่แล้ว

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

  • @CryptoBoblicious
    @CryptoBoblicious 6 หลายเดือนก่อน

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

  • @dariousmoiras2476
    @dariousmoiras2476 ปีที่แล้ว +1

    What about a picture for the thumbnail?

  • @mafnref1208
    @mafnref1208 8 หลายเดือนก่อน

    Is it included smart contract tutorial?

  • @doodlearmy2.049
    @doodlearmy2.049 ปีที่แล้ว

    Pls tell about metgain token which is working on trc20

  • @zaahidmall4496
    @zaahidmall4496 4 หลายเดือนก่อน

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

  • @bluetril
    @bluetril 4 หลายเดือนก่อน

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

  • @nakedsquirtle
    @nakedsquirtle ปีที่แล้ว +2

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

  • @user-db6ht3vk3t
    @user-db6ht3vk3t 3 หลายเดือนก่อน

    What can you tell about MINA project?

  • @bradvani
    @bradvani ปีที่แล้ว

    Sam was here

  • @motivationworld468
    @motivationworld468 ปีที่แล้ว +1

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

    • @adithpcadith3985
      @adithpcadith3985 3 หลายเดือนก่อน

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

  • @rightcourse
    @rightcourse ปีที่แล้ว +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

  • @youdontneedslowmotionjustbrain
    @youdontneedslowmotionjustbrain ปีที่แล้ว

    Do you also have a video for marketing address etc?

  • @Toyman-rj9vy
    @Toyman-rj9vy 11 หลายเดือนก่อน +3

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

    • @relaxationguru4240
      @relaxationguru4240 11 หลายเดือนก่อน

      me as well ,

    • @davesomeone4059
      @davesomeone4059 9 หลายเดือนก่อน

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

  • @munesharts__9311
    @munesharts__9311 ปีที่แล้ว

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

  • @aemde
    @aemde ปีที่แล้ว

    guuud

  • @27bossjunior
    @27bossjunior ปีที่แล้ว

    do you have a bsc ca ??

  • @autolovers1
    @autolovers1 ปีที่แล้ว

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

    • @thepoeticpoet
      @thepoeticpoet ปีที่แล้ว

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

  • @JulienCohenMusic
    @JulienCohenMusic ปีที่แล้ว

    It's like getting in a masterclass of chinese

  • @-Motivation-Master-
    @-Motivation-Master- 4 วันที่ผ่านมา

    How to add a logo on that token ?

  • @aboynamedhan
    @aboynamedhan 2 หลายเดือนก่อน

    how do i make public claim?

  • @UltorXbt
    @UltorXbt ปีที่แล้ว

    Is this constantly updated?

  • @lennycloudz2cloudz233
    @lennycloudz2cloudz233 3 หลายเดือนก่อน

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

  • @tripore
    @tripore ปีที่แล้ว

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

    • @WhiteboardCrypto
      @WhiteboardCrypto  ปีที่แล้ว +2

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

    • @SkatoholicVideo
      @SkatoholicVideo 8 หลายเดือนก่อน

      ​@@WhiteboardCryptobut how to calculate worth

  • @WheelR.
    @WheelR. ปีที่แล้ว +1

    I want to know how safe this token could be?

    • @esnapii680
      @esnapii680 ปีที่แล้ว

      You can't say if it has backdoor

  • @khizar_mmv
    @khizar_mmv ปีที่แล้ว

    2nd view

  • @AmanKumar23
    @AmanKumar23 9 หลายเดือนก่อน +2

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

    • @hbertquach3122
      @hbertquach3122 9 หลายเดือนก่อน +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 9 หลายเดือนก่อน +1

      a

  • @tapassew8652
    @tapassew8652 ปีที่แล้ว

    right now there are more tether on erc 20 blockchain

  • @hrv0.-
    @hrv0.- 6 หลายเดือนก่อน

    Pepecoin to the ground :D

  • @starrebornalpha
    @starrebornalpha หลายเดือนก่อน

    why not deploy on eth instead of matic? wth

  • @RimleStudios
    @RimleStudios 3 หลายเดือนก่อน +1

    oooooouu qaqa sene soxublar jankovic vare sene ktktktkktktkt elesin

  • @NdewoNigeria
    @NdewoNigeria 7 หลายเดือนก่อน

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

    • @R7score
      @R7score 7 หลายเดือนก่อน

      add lp

  • @SiFuJasper
    @SiFuJasper ปีที่แล้ว +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 ปีที่แล้ว +1

      Missed the jail (hopefully) part 👌👌

    • @Andrew-ig5sp
      @Andrew-ig5sp ปีที่แล้ว

      #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 ปีที่แล้ว

    Isn't that what sam bankrun freed did

  • @willmac623
    @willmac623 ปีที่แล้ว

    where's the how to meme coin videos?

  • @MrAlpinab7
    @MrAlpinab7 ปีที่แล้ว +31

    Could this token be listed on FTX ? 🤣

  • @VoidNumber
    @VoidNumber 4 หลายเดือนก่อน

    Somebody want to list his token in new crypto wallet?

  • @dallassegno
    @dallassegno ปีที่แล้ว +1

    sol stands for shit outta luck

  • @PedroRodriguez-dl5yt
    @PedroRodriguez-dl5yt ปีที่แล้ว

    667 like, I will be millionaire, je je je

  • @JonesyStayFly
    @JonesyStayFly 10 หลายเดือนก่อน

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

    • @davesomeone4059
      @davesomeone4059 9 หลายเดือนก่อน

      Is this true? Is so how did they steal them?

  • @dallassegno
    @dallassegno ปีที่แล้ว

    ha ha ha why would anyone care exactly today

  • @M8Akram
    @M8Akram 4 หลายเดือนก่อน

    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

  • @williamadepoju9847
    @williamadepoju9847 ปีที่แล้ว

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

  • @light-light
    @light-light ปีที่แล้ว

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

  • @riff1431
    @riff1431 ปีที่แล้ว

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

    • @BituMan21
      @BituMan21 ปีที่แล้ว

      same for me

    • @riff1431
      @riff1431 ปีที่แล้ว

      @@BituMan21 i can help you