How To Code Your First Ethereum Smart Contract

Поделиться
HTML-код
  • Опубликовано: 10 июн 2024
  • 🤑Learn how to become a highly paid blockchain dev:
    www.dappuniversity.com/bootcamp
    🔴Subscribe to this channel: / @dappuniversity
    Follow me on Twitter (@DappUniversity): / dappuniversity
    Email me: gregory@dappuniversity.com
  • НаукаНаука

Комментарии • 117

  • @marcbechamp
    @marcbechamp 2 года назад +101

    2 years later and the tutorial worked flawlessly. Just a few differences in the Solidity UI. This is exactly what I needed to get started immediately. No Git, no Node, no npm, just code and debugging. Thanks a million. Thumbs up & suscribed.

    • @nidacanpolat3316
      @nidacanpolat3316 6 дней назад

      Why can't I take action when I enter an http address in the environment option?

  • @tankstechtutorials5721
    @tankstechtutorials5721 3 года назад +5

    nice, I was looking for something quick like this to get me started

  • @codysatornino8162
    @codysatornino8162 3 года назад +8

    This was the first thing I watched where I could understand a little bit of it. I don't know what exactly I just did, but I followed your instructions and it was working. I just don't know where to look from here to learn more about it all lol thanks for this video

  • @solvability2782
    @solvability2782 2 года назад +1

    thanks. simple, short, sweet. appreciate it bro

  • @pvitto98
    @pvitto98 2 года назад +2

    You’re so good in making tutorials

  • @tyranitartrading1561
    @tyranitartrading1561 2 года назад +1

    wow i am gonna use this info thanks dude hella usefull for a start. I am looking to start a new nft project and need to learn how to write a smart contract for something somewhat like staking but diffrent lol. in all honesty i would love some more advice if you are down to give it! thanks again dude!

  • @sridhar7970
    @sridhar7970 5 месяцев назад +1

    Bro that's really nice and thanks for such a good explanation as I was worried with how to interact with contact you gave a nice way of explanation 😀

  • @AdventurersGuild23
    @AdventurersGuild23 4 года назад +35

    hey, Gregory can you please make a dapp using visual studio code, please.

    • @neilshah4440
      @neilshah4440 2 года назад

      its the same process, it just cant be run in VSC, you have to use another app for that (for now)

    • @ariansk9011
      @ariansk9011 Год назад

      That app is ??

  • @diptanshumalviya7547
    @diptanshumalviya7547 4 года назад +3

    Hye! I know you don't read messages. if you see please make a video on what to do after making smart contract and what is vyper?

  • @HobbyistLifestyle
    @HobbyistLifestyle 2 года назад +1

    How would you attach a deed to the smart contract?

  • @rhondadotterer8349
    @rhondadotterer8349 2 года назад

    I have a contract, when I started it I DID NOT have any coding knowledge and still don’t, when it was created I did not set it so I could extract any of the accumulated coins that would be paid to the contract , can you help me?

  • @pudsey7527
    @pudsey7527 2 года назад

    So once you connect your metamask your smart contract is ready?

  • @tvapp5327
    @tvapp5327 2 года назад +1

    Awesome presentation - what would happen to uint value if we decrement when zero....

    • @cryptophoenix2023
      @cryptophoenix2023 2 года назад

      Depending on which version of Solidity you are using, it'll either revert or it'll result in an underflow. I think 0.8.0+ will result in a revert error, and anything below that will result in an underflow. If you don't know what underflow/overflow is then look it up, it's kinda cool but also extremely bad for smart contracts if it happens lol

  • @Adisirvya
    @Adisirvya 3 года назад +1

    Thanks man

  • @AlexCruz-zf1qn
    @AlexCruz-zf1qn 2 года назад +1

    Following this code right now, wonder what will happen have Zero experience in this so praying for the best !

  • @christopherayoub2973
    @christopherayoub2973 3 года назад +2

    I had an error in line 10. It says New.sol:10:22: ParserError: Expected ';' but got 'Number' count += count 0; ^.
    I have everything written corectly though

  • @moisespineda7886
    @moisespineda7886 2 года назад

    I subscribed as soon as he said free boot camp. Worth it

    • @royanguiano2610
      @royanguiano2610 2 года назад

      how has the classes been you joined?? have you been learning?

  • @Tafsirul555
    @Tafsirul555 4 года назад +2

    Sir, how to verify ERC20 Token In Etherscen... Please help sir

  • @bokirbx7942
    @bokirbx7942 4 года назад +1

    hi sir, please make a video how to change name or profile of erc20 token has already created

  • @crazegamez290
    @crazegamez290 3 года назад +1

    i was getting error saying the declation was already called for the event increment and fuction increment and vise versa for the decrement

  • @pinpeter
    @pinpeter 3 года назад +1

    Im using a macbook i dont see the same thing like on the tutorial !

  • @arthurh1969
    @arthurh1969 2 года назад +1

    I did my first smart contract! Yay! But what happens when I decrement below zero? It gives me a wierd result.

    • @nayanbhatia2151
      @nayanbhatia2151 10 месяцев назад

      uint refers to uninsigned int which are non negative numbers. Use different variable types for correct results.

  • @strangeQuirks
    @strangeQuirks 2 года назад +1

    What if many people run the counter smart contract at the same time? How would it ensure the count is consistent?

    • @rainmanj9978
      @rainmanj9978 2 года назад

      What do you mean?

    • @strangeQuirks
      @strangeQuirks 2 года назад

      @@rainmanj9978 I am wondering if there are race conditions, but i guess not?

  • @nidacanpolat3316
    @nidacanpolat3316 6 дней назад

    Why can't I take action when I enter an http address in the environment option?

  • @mrlifted365
    @mrlifted365 3 года назад

    7am - April 25th 2021- Stamp me as being here.

  • @poulamimishra3711
    @poulamimishra3711 10 дней назад

    Thank you.
    It is running

    • @nidacanpolat3316
      @nidacanpolat3316 6 дней назад

      Why can't I take action when I enter an http address in the environment option?

  • @marcpanther8515
    @marcpanther8515 11 месяцев назад

    Each time the function is called, a transaction happens, right? Why doesn't it need to wait for confirmation?
    It seems to increment/decrement instantaneously. Is that just because of the simulated environment?

    • @bully1676
      @bully1676 3 месяца назад

      Correct, you answered your own question. It's in a virtual environment so it's not on the actual blockchain using actual gas

  • @georgesherpa
    @georgesherpa 2 года назад

    thanks

  • @terryterry1655
    @terryterry1655 2 года назад

    how to buid a smart contract fpr insurance company?

  • @posenaitito786
    @posenaitito786 2 года назад

    Is this how I can open a smart contract to start up nft?

  • @oldestsol3754
    @oldestsol3754 2 года назад

    Hey i forget if i comented already but i would totally love it if you could give me some tips with a few questions i have!! Thanks

  • @pinpeter
    @pinpeter 3 года назад +1

    Can I still do this with a Mac or NO ?

    • @FrankZen
      @FrankZen 3 года назад +2

      It's in a browser so I don't see why not...

  • @trickstersabo4662
    @trickstersabo4662 3 года назад +1

    Your free 10 hour course isn't sending me an email to join.

  • @superhuman9265
    @superhuman9265 3 года назад +1

    Sir can you help me, I want to add a burning feature, Burnable, Mintable, Operable (ERC1363), Token Recover

  • @AdventurersGuild23
    @AdventurersGuild23 4 года назад +1

    hey greg i was wondering if you can do a solidity project in vs code please

  • @jomoljaison1545
    @jomoljaison1545 2 года назад

    function assignBoss(address _boss,string memory _companyname)public onlyArbiter
    {
    bossSetting[_companyname]=msg.sender;
    }
    I want to set these bosses in modifier like onlyBoss.What to do

  • @workouttv7968
    @workouttv7968 4 года назад +2

    make a video about how to create a android dapp

  • @apexoriginators1167
    @apexoriginators1167 6 месяцев назад

    bro web3 provider option is not coming

  • @T1ger8oi
    @T1ger8oi 3 года назад +1

    Can you teach us how to clone an existing contract and how to deploy it?

    • @christopherozarks6285
      @christopherozarks6285 2 года назад +2

      Copy/paste my friend!! Other wise just type it word for word on a notepad or something and then type it out on IDE of your choice.

    • @gabmad7028
      @gabmad7028 Год назад

      No

  • @prototype8861
    @prototype8861 Месяц назад

    A wild guess, data types probably affect gas fees.

  • @MarKac9090
    @MarKac9090 2 года назад

    please make some tutorial about Solana smart contract

  • @tn9753
    @tn9753 4 года назад +2

    How do you save a Remix file to your GitHub account? Thanks in advance.

    • @letsgobrandon3007
      @letsgobrandon3007 2 года назад

      I remixed a remix once and it was back to normal.

  • @poulamimishra3711
    @poulamimishra3711 9 дней назад

    How to create .js file , please send the link.

  • @TjSpoonManJacques
    @TjSpoonManJacques 3 года назад +3

    Solidity hell is when you type in the exact code that's in the video but you 3 red compiler errors!!!!

    • @revxnth
      @revxnth 3 года назад

      i didn't get any error lmao

    • @mironadiel
      @mironadiel 2 года назад

      same here, i got the error for line 9, 14 and 15

  • @janhvibhosle3852
    @janhvibhosle3852 4 года назад +1

    Sir please make one tutorial regarding pharmacy supply chain management using ethereum.

  • @devgatling
    @devgatling Год назад

    dope!

  • @artofficialapol
    @artofficialapol 2 года назад

    I received an error that said:
    ParserError: Expected ‘;’ but got ‘event’
    - -> TSC.sol:6:5:
    |
    6 event Increment(unit value);
    | ^^^^^
    What does this mean?

  • @seanbannon325
    @seanbannon325 2 года назад

    doesnt seem like that website exists anymore

  • @sumonbose6816
    @sumonbose6816 Год назад

    no update video

  • @vibedoutshorts8600
    @vibedoutshorts8600 2 года назад

    Share this video guys

  • @arcadiadragoons5467
    @arcadiadragoons5467 2 года назад +4

    I need a developer to help me with my NFt collection

    • @TVEJason
      @TVEJason 2 года назад +2

      You and I both

  • @draflex
    @draflex 2 года назад +1

    That was so easy! Time for my next lesson...

    • @gabmad7028
      @gabmad7028 Год назад +1

      Your next lesson will be not to comment such a stupid comment

    • @gabmad7028
      @gabmad7028 Год назад +1

      Goofy ahh

  • @ankushraj3599
    @ankushraj3599 Год назад

    Can we use C++ for creating smart contract?

  • @jongwynne7434
    @jongwynne7434 3 года назад +1

    Thanks for the video but way over my head. I am ideas guy, I see the idea behind them. If you ask me this is the KEY to crypto anything? Even the building of the sites that bring such value.

  • @gen_ztech9
    @gen_ztech9 2 года назад +1

    is this real eth you can sell and buy ???

  • @AquinoThug
    @AquinoThug 4 года назад

    Hello from Brazil. Nice to meet yours vídeos

  • @lstewartproductions
    @lstewartproductions 3 года назад

    Hang on guy purchasing my house, have to go to grad school to learn programming before you buy it.

  • @martinburke5707
    @martinburke5707 Год назад

    You intrested in joining a Crypto startup NFT project?

  • @arselaedwin
    @arselaedwin 2 года назад

    Well... we follow the steps u do but..... How can we do it without watching videos?.

  • @ajaykrishnakv941
    @ajaykrishnakv941 2 года назад

    Thanks a ton mate!

  • @Florian-tc5qh
    @Florian-tc5qh Год назад

    The intro is cringe but the tutorial is very good

  • @cryptobeast5643
    @cryptobeast5643 2 года назад

    doesnt work

  • @umairshahid6645
    @umairshahid6645 4 года назад +3

    please make a android blockchain dapp and connect it with smart contraact

  • @tosgem
    @tosgem 3 года назад +3

    Please make a tutorial for how to make my own Token. Thank you. Pajeet

  • @dansb8432
    @dansb8432 2 года назад

    So.. basically, a "contract" is a class.... hmp.

  • @ward7576
    @ward7576 2 года назад +1

    From the comments here I recognize that many of you haven't had any programming experience. Although it's not all that, it's really recommended to have it in order to have frustration free experience where you don't have to fight easy battles just to get to the point of the video.

  • @rayrivera1830
    @rayrivera1830 3 года назад

    Will this be a skill that will get you a job in the foreseeable future?

  • @pooblock4092
    @pooblock4092 3 года назад +2

    good thing im from java....

  • @storyverse665
    @storyverse665 Год назад

    Is this contract compatible with ERC-721 OR ERC-1155

  • @QW3RTYUU
    @QW3RTYUU 3 года назад

    Oof those comments..

  • @10phante
    @10phante 2 года назад

    Can you do it for me :(

  • @CryptoCrimZn
    @CryptoCrimZn 9 месяцев назад

    Do you have a school???

  • @lucidlagomorph5809
    @lucidlagomorph5809 Год назад

    yes its not much fun with a template contract I want to get stuck into some geekery

  • @kdpoint4221
    @kdpoint4221 2 года назад

    🤗🤗🤗

  • @yevgeniybondar7509
    @yevgeniybondar7509 2 года назад

    LIKE

  • @alicantipi4235
    @alicantipi4235 2 года назад

    what a beautiful guy

  • @sinancetinkaya
    @sinancetinkaya 3 года назад +9

    hey you can extend your video to 2 hours just by explaining the history of semicolon in programming languages.
    we, the viewers have tons of time to waste, don't worry.

  • @alex-tv6tr
    @alex-tv6tr 2 года назад

    hey hey hey hotshot - SLOW DOWN - you do not give a link to the site but speak the words at a two to the dozen, you do not produce a link, you do not even add it to your youtube when you say it- you simply go to the website. So please, calm down and revisit your youtube video and remember- some of us are not geniuses - and known NOTHING ! lol :) But t least I know I know nothing if you get my drift.

  • @rimvydasb3531
    @rimvydasb3531 2 года назад

    Your count incrementation cost ~o.oo5 eth ~ 9 euros… pretty insane.

  • @leviathanragnarok4491
    @leviathanragnarok4491 2 года назад

    hey guys, im a student looking to gain some experience in solidity and smart contracts. If you have a porject that that i can work on please contact id love to be part of the team