Master Ethers.js for Blockchain Step-by-Step [Full Course]

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ม.ค. 2025

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

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

    Clear as usual, thanks Greg.
    Note: If anyone gets an error as I did at 21:12 ~ "Error: ENS name not configured (operation="resolveName" . . . it's because double quote are needed around the contract address instead of single quotes. It's a # not a string.

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

      THANK YOUUUU!

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

      Hi I get the error @33.01 as Gregory shown but he not revealed to solve that any help might be appreciated

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

    Thanks Greg. There are quite a number of great tutorials focused on MetaMask and Web3 but that presents a challenge.
    It's been tough to understand how to directly interact w/the contracts on the blockchain without a web browser.
    This clarified things quite a bit.

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

    Incredibly helpful. Thank you. Moving to become a web3.0 Developer, and this is exactly what I needed.
    Multiple frameworks, overwhelming docs, etc made it intimidating. Your methodological approach is a testament to the strong fundamental knowledge you have,

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

    i swear everytime i look for some help when i get stuck with code i end up with gregory teaching me, thank you gregory yet again you save me :) :) :) legend

  • @stereodev1350
    @stereodev1350 2 ปีที่แล้ว

    THNX for your slogan turning people into blockchain masters ...
    Def one of my first motivational pushes ... Great One Liner !

  • @angiishere
    @angiishere 2 ปีที่แล้ว

    I cant belive this content is free! 10/10

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

    Literally I am searching for this from past few days and today you make a crash course, thanks a lot 🔥💯🙏

  • @darismathew
    @darismathew 2 ปีที่แล้ว

    Thanks, Greg. This is the best tutorial available on the internet about ethers js.

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

    On lessons 3 (51:03), what's the point of having `account1` variable (sender's address) if you'd never "use" the variable on the computation process? I mean we use our own PK and create the wallet based on our signing key then all is done.
    Do we really need the sender's account1?

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

    Just really solid content. Nice work! Keep it up!

  • @victorhenriquecollasanta4740
    @victorhenriquecollasanta4740 2 ปีที่แล้ว

    THATS MY BOYYYYYY, exactly what i needed, thanks gregory

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

    I have been waiting for this.

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

    The 'A' in ABI does not stand for abstract, it's
    A - application
    B - binary
    I - interface

  • @pmacc2311
    @pmacc2311 2 ปีที่แล้ว

    Brilliant to see you doing a vid on ethers, Greg! Superstar! I'm still missing the Tele on the wall, I hope yer finding some time to play it!!

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

    man this is so gold. Thanks a lot for that

  • @hrishikeshdeoghare4359
    @hrishikeshdeoghare4359 2 ปีที่แล้ว

    thank you Greg! you made it easy to grasp etherjs

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

    Dear Gregory, I have got a question,
    How do you zoom into your screen without reducing the quality? ( on 16:41 )
    do you use a special application or something? I need to know this, could you help me?!

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

    the hardest part of programming is learning all these dependencies

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

    A really helpful video, thank you so much about this

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

    @33:03 How did you fix that error? I'm getting hte same thing. Can anyone help??

    • @aadesh6069
      @aadesh6069 2 ปีที่แล้ว

      did you got the solution for that? I'm getting that same error.

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

      hey did you get solution?

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

      Open a new terminal window, navigate to your project folder and run "npx hardhat node". You will have the network running in background while you perform your tests.

  • @gonzaotc
    @gonzaotc 2 ปีที่แล้ว

    Amazing tutorial!, thanks you so much for simplifying the complex.

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

    Do I need to connect Wallet if you are not using transfer function?

  • @chrisvongsawat5900
    @chrisvongsawat5900 2 ปีที่แล้ว

    Really great video! Learned so much from this!

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

    Hi Error : I get the error @33.01 as Gregory shown but he not revealed to solve that, any help might be appreciated. Thanks in advance!!!

  • @cryptonicchronic8111
    @cryptonicchronic8111 2 ปีที่แล้ว

    you rock G! keep up the great work! thank you again and again youre the GOAT for coding tuts bro!

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

    Awesome tutorial! Thank you, man

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

    Hey Greg! Awesome content man!! I have a question, when trying to run the transaction (lesson 3) I get a processing error for insufficient funds. I do have the 0.1 ETH in the Kovan network so I'm at a loss. Do I have to specify anywhere in the script to look for the funds in the test network, not the mainnet?🤔

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

      Nevermind, I found it! Cheers!!

    • @DamageSoftware
      @DamageSoftware 2 ปีที่แล้ว

      @@minipirate888 hey mate, I have the same problem. Can you tell us how did you resolved it ? Please.

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

      @@DamageSoftware in your infura id, kovan should replace mainnet

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

    Is there a more detailed ethers.js paid course?

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

    can anyone tell me the name of editor he is using for coding

  • @VAPORBAR
    @VAPORBAR 2 ปีที่แล้ว

    Thank you so much. Im able to connect and pull data from my smart contract ie. totalSupply. How do I format the output to display in html on my page instead of the console?

  • @aviroxi
    @aviroxi 2 ปีที่แล้ว

    thank you so much for being born in this world!! :) love your work ❣

  • @Bhavya-b2y
    @Bhavya-b2y ปีที่แล้ว

    For those doing this tutorial now, use sepolia network for Lesson 4

  • @jasonlewis4972
    @jasonlewis4972 2 ปีที่แล้ว

    Could I use a ganache instance instead of Infura and access the smart contracts I created ?

  • @Bhavya-b2y
    @Bhavya-b2y ปีที่แล้ว

    Great Video Greg, Thanks

  • @guer0n
    @guer0n 2 ปีที่แล้ว

    Thanks a lot, Greg. This is priceless!

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

    Hi Greg, nice video for ethers js.
    At lesson 4 when I run the app I am getting this error - Error: missing revert data in call exception. Please help. Thanks

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

    "your fan on your computer might start spinning so fast, and bad things are gonna happen" 😂such a mild humorous caution

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

    How to solve error at 33:04

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

    can you tell me what terminal you use?

  • @0x0abb
    @0x0abb 2 ปีที่แล้ว

    Great tutorial - I found it very useful!

  • @FictionTv-e8n
    @FictionTv-e8n 8 หลายเดือนก่อน

    Sir what is the terminal used for this operation

  • @sapanb7568
    @sapanb7568 2 ปีที่แล้ว

    Thanks Greg It was helpful

  • @chillduration
    @chillduration 2 ปีที่แล้ว

    Sensei Gregory, thanks.

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

    Doubt: we add await since we want that particular line of code or whatever to finish executing before moving onto the next. Am I correct?

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

    in the video for example, you get an Error and you fixed it in the video, but didnot mention how to fix, i am getting the same error. can you please help me fix it.

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

    How do I fix that NETWORK_ERROR I keep having? Can someone help me please?

    • @hyunduk0206
      @hyunduk0206 2 ปีที่แล้ว

      Passing your "INFURA_ID" sholud work.

  • @stoicguac9030
    @stoicguac9030 2 ปีที่แล้ว

    I've filled out the dap university boot camp form for years...I've yet to get an email on entry or pricing or anything

  • @akumaw752
    @akumaw752 2 ปีที่แล้ว

    hello, in the 4 exercice, we use contract.connect(wallet) to send Link from account 1 to account 2, we don't need it in 3 exercice cause it's ETH ? i'm right ?

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

    Just experimenting. Can anyone let me know why the following 2 lines return different values for tx?
    console.log(tx);
    console.log("Raw tx after tx.wait():" + tx);
    The first produces exactly what Gregory is showing. The second line produces:
    "Raw tx after tx.wait():[object Object]"
    Thanks!

    • @tajammulpasha8020
      @tajammulpasha8020 2 ปีที่แล้ว

      because you're concatenating string + object, and js

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

      JSON.stringfy(tx)

  • @victorhenriquecollasanta4740
    @victorhenriquecollasanta4740 2 ปีที่แล้ว

    is there a way to make this transactions using truffle dashboard? i just got hacked after doing this copy and paste private key stuff, it seens very outdated, if we can do trasactions by signing them with metamask withou exposing the private key would be nice

  • @pequod4557
    @pequod4557 2 ปีที่แล้ว

    I needed this. Thank you so much!

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

    is the infura id just the key that infura makes you? I substituted the "My First Key" value in and got Error: could not detect network (event="noNetwork", code=NETWORK_ERROR, version=providers/5.5.3)

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

      the address he provided in this video no longer works. This one does 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2

  • @satheeshp2384
    @satheeshp2384 2 ปีที่แล้ว

    Hi Friend, How we get all the imported account of metamask by ethers js

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

    thanks Greg!
    its still unclear to me why I would use ethersjs over web3js

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

      You don't need 2 switch. At the end of the day it's just preference. People that are newer and often hardhat users tend to use ethers. Old folks which may still use truffle tend to use web3js.

    • @Phyx1u5
      @Phyx1u5 2 ปีที่แล้ว

      @@nutz2599 i see thanks! I'm definitely more acquainted with truffle and web3js

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

    Hi Gregory, thanks for the great videos!
    I have a question... The Private Key should not be exposed. I know we can use dotenv and .gitignore to hide .env files. But eventually, they make their way to the browser in the JavaScript where they can be inspected with developer tools. So, how can we protect the Private Key??? Thanks Gregory!

  • @mikhatanu
    @mikhatanu 2 ปีที่แล้ว

    is there a way to get contract abi automatically, without using the explorer?

  • @abhishekchoudhari1969
    @abhishekchoudhari1969 2 ปีที่แล้ว

    How should I solve the JSON RPC internal error on metamask

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

    How to Bulk transfer?

  • @amyyadav0
    @amyyadav0 2 ปีที่แล้ว

    Hey Greg, great tutorial. After the merge, test networks like kovan, rinkeby are not working, so will be helpful if you can update the tutorial. Thanks!

  • @m.z6437
    @m.z6437 2 ปีที่แล้ว +1

    very useful must watch

  • @thecryptobeard
    @thecryptobeard 2 ปีที่แล้ว

    Thanks for your content bro!!!

  • @frameworkathletics2440
    @frameworkathletics2440 2 ปีที่แล้ว

    what is the extension for the code interface ?

  • @javierdash1
    @javierdash1 2 ปีที่แล้ว

    loved it. Thanks!

  • @AbiolaJacobs
    @AbiolaJacobs 2 ปีที่แล้ว

    can this be turned into an npm package?

  • @邓小娟-d9t
    @邓小娟-d9t ปีที่แล้ว

    is that all ?how can i get next course

  • @sohailahmed3663
    @sohailahmed3663 2 ปีที่แล้ว

    This is tooo much good video but how can connect my smart contract to the front of react.js?
    I like this vide Thank you Mr Dappp univeristy

  • @mohamadjavadsafari1981
    @mohamadjavadsafari1981 2 ปีที่แล้ว

    insane course tnx alot

  • @Ben-mf4go
    @Ben-mf4go 2 ปีที่แล้ว

    Great stuff, thanks.

  • @theusmachado1
    @theusmachado1 2 ปีที่แล้ว

    my Provider , in error ! swap is other?

  • @ak94-x4i
    @ak94-x4i 2 ปีที่แล้ว

    I'm doing the exact same thing as you are but I'm getting:
    Some error to try to run async function without a catch block.....

    • @ak94-x4i
      @ak94-x4i 2 ปีที่แล้ว

      Lol, "npm i ethers" fixed this.

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

    how did u auto format the code

  • @hyarbi
    @hyarbi 2 ปีที่แล้ว

    you need to upload the bootcamp using ethers.js

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

    Thanks. I learnt a lot.

  • @mihailomarcetic2516
    @mihailomarcetic2516 2 ปีที่แล้ว

    great video !!!

  • @satheeshp2384
    @satheeshp2384 2 ปีที่แล้ว

    How to get coin image ??

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

    Absolutely awesome

  • @dalyryl
    @dalyryl 2 ปีที่แล้ว

    I've got a new reason to live again. Thanks for this. HAHAHA

  • @cryptopiafanai8916
    @cryptopiafanai8916 2 ปีที่แล้ว

    can you do a full tutorial on hardhat please

  • @siddharthpatel7284
    @siddharthpatel7284 2 ปีที่แล้ว

    loved it thank you

  • @angelsrt3
    @angelsrt3 2 ปีที่แล้ว

    Error: call revert exception (method="name()", errorArgs=null, errorName=null, errorSignature=null, reason=null, code=CALL_EXCEPTION, version=abi/5.5.0)

  • @sunnyjoy9556
    @sunnyjoy9556 2 ปีที่แล้ว

    Yerrp!! Love it. Can I do it on an Acer Aspire?

  • @Diwakar-pd4kp
    @Diwakar-pd4kp 2 ปีที่แล้ว +1

    Sir , how much you earn in a month ?

  • @davidaboumatar2189
    @davidaboumatar2189 2 ปีที่แล้ว

    Thank you.

  • @edwassermann8368
    @edwassermann8368 2 ปีที่แล้ว

    nice one!

  • @Phyx1u5
    @Phyx1u5 2 ปีที่แล้ว

    awesome thank you!

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

    Thousand and thousands seems a bit much especially that there are approx. 10k blockchain devs in total :D

  • @rolltoheaven
    @rolltoheaven 2 ปีที่แล้ว

    Why dont you just use process.ENV.INFURA_ID and hide .ENV file. or Just create a test INFURA_ID and delete after video.

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

    Mrs Charlotte's is legit and her method works like magic I keep on earning every single week with her new strategy

    • @rams.waroop3911
      @rams.waroop3911 2 ปีที่แล้ว

      Through
      Whats~~~~app!!!👇📩

    • @rams.waroop3911
      @rams.waroop3911 2 ปีที่แล้ว

      ꧁༒☬෴十𝟭𝟯𝟭2𝟯𝟭𝟵𝟰2𝟳𝟱෴☬༒꧂

    • @rams.waroop3911
      @rams.waroop3911 2 ปีที่แล้ว

      Trade with her and remember to share testimonies with others ☝️😊..🇺🇸🇺🇸

    • @parker2665
      @parker2665 2 ปีที่แล้ว

      Yes but do you know I have been paid out today😇

    • @cryptodev2615
      @cryptodev2615 2 ปีที่แล้ว

      Let me Charlotte know I'm ready to give her my SSN so she can improve my wealth

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

    What is `nonce`? Someone please help :(

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

      number created once

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

    last two sections

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

    hey greg, is this your real sound or why is that?? it's so deep idk

  • @CputRustin
    @CputRustin 8 หลายเดือนก่อน +1

    Great video thank you so much however please,
    Drink some water take breaks, stop gulping every 2 minutes Thanks again👍😂

  • @andresbr92
    @andresbr92 2 ปีที่แล้ว

    Man this tutorial is nice BUT...Why are you talking SO CLOSE to the mic? It sounds like ASMR =)

  • @ritikjain3975
    @ritikjain3975 2 ปีที่แล้ว

    Best

  • @hassanxelamin
    @hassanxelamin 2 ปีที่แล้ว

    52:32

  • @jopadjr
    @jopadjr 2 ปีที่แล้ว

    125th...Thanks

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

    Gracias so un cra

  • @razorjhon2622
    @razorjhon2622 2 ปีที่แล้ว

    why is this 17:52 guys poor , he should get donated !

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

    Despite the economic downturn, I'm so happy. I have been earning $ 60,000 from my $ 7,000 investment every 14days and can proudly say that crypto investment is the future😊

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

      As a first time investor, I started trading with Mr Walls with just a $ 4,000, now my portfolio is worth $ 9,400 within the space 2weeks of trading with him

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

      Same here, I made $12,400 profits on investing since I started trading with Walls Donald his trading strategies are too notch am winning consistently trading with Mr Walls Donald . He really the best broker Il've made a lot of profit investing with him

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

      I heard a lot of investing with Mr Donald and how good he is, please how safe are the profit?

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

      @@andyalfred1647 I trade with him, The profit are secured and over a 100% return on investment directly sent to your wallet.

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

      I also trade with him, Big thanks to Mr Walls for what he did for my family and I 🙏🤗

  • @gabkov
    @gabkov 2 ปีที่แล้ว

    okay