Ethereum Dapp: Connect React app to MetaMask Tutorial

Поділитися
Вставка
  • Опубліковано 1 гру 2024

КОМЕНТАРІ • 82

  • @hnsa3203
    @hnsa3203 2 роки тому +4

    Funny how you just spent 17 minutes of your time and in turn saved hours for hundreds of people.
    This was a great help, thanks a bunch.

  • @romulogonzalez739
    @romulogonzalez739 3 роки тому +16

    you literally uploaded the most completed and up to date tutorial about react dapps.

    • @darwinprayoga
      @darwinprayoga 2 роки тому

      yup i mean he the most catchy tutorial

  • @josephangelodelosreyes4206
    @josephangelodelosreyes4206 3 роки тому +2

    Thanks for this simple tutorial! Gives devs a quick overview on how to use metamask API.

  • @silver2132
    @silver2132 3 роки тому +1

    New to Reactjs, following your steps and it works perfectly. Waiting to see the next tutorial regarding doing transcations. Thanks Michael.

    • @michael_couch
      @michael_couch  3 роки тому +1

      Thanks for the feedback! In this video: ua-cam.com/video/swZRo6LFrCw/v-deo.html , I talk about contract interaction with ethers.js. I'll put out an ERC-20 video though that will specifically handle an ERC-20 transaction through a react front end.

    • @silver2132
      @silver2132 3 роки тому

      @@michael_couch Thanks Michael!

  • @carlossilva-ub4pv
    @carlossilva-ub4pv 2 роки тому +3

    simple and to the point, I really liked the tutorial!

  • @thlfranklin
    @thlfranklin 2 роки тому

    "show all the single steps" -- Thank you for that!!

  • @princesinghchouhan5250
    @princesinghchouhan5250 7 місяців тому

    exactly what i was looking for from past 2 days.. thank you so much for this tutorial.. this helped a LOT.. great and very easy to understand tutorial.. keep it up. you really helped me.

  • @blankslate6393
    @blankslate6393 2 роки тому +3

    Great tutorial. Please make more of react/solidity/metamask stuff. Love to see a betting dapp tut for example.

  • @okpain8324
    @okpain8324 2 роки тому

    the best tutto i saw in youtube Good teaching

  • @shishirtiwari4112
    @shishirtiwari4112 2 роки тому

    Just a quick tip i figured out after implementing this on app ,put that etherium listener inside useEffect and run it on mount so you dont have multiple listeners on rerender

  • @vezga
    @vezga 3 роки тому +1

    Can I say "I love you" because this is exactly what I have been looking for, just a way to build a button that connects to metamask.

    • @michael_couch
      @michael_couch  3 роки тому +1

      Any other things you're looking for examples of?

    • @vezga
      @vezga 3 роки тому

      @@michael_couch the entire front end process and interacting with contracts feels like an abstract to me. There aren't many videos on it it's as if everyone just gets it.

  • @MysticxYl
    @MysticxYl 2 роки тому

    Thanks a ton mate. Your videos are really helpful and interesting.(psst: You are a funny guy)

  • @vartotojas
    @vartotojas 3 роки тому +2

    Could you make another part of explaining how to make transactions and get balance of custom token. Although this is the best video I've found so far, keep it up.

    • @michael_couch
      @michael_couch  3 роки тому +2

      Yep, next upload will be basic contract interaction, then most likely a coin or NFT after that.

  • @rpWeb3
    @rpWeb3 3 роки тому +3

    when do you have to start filming The Expanse again?? really looking forward to a new season!!!

  • @naumanshigri
    @naumanshigri 3 роки тому +2

    thank you very much. very helpful

  • @papacolor
    @papacolor 3 роки тому +2

    Great vid, very informative. Thanks!

  • @Notpenguin4649
    @Notpenguin4649 3 роки тому +2

    Thanks for the tutorial ! It's very easy and helpful.

  • @Uncleee2222
    @Uncleee2222 3 роки тому +2

    how to get other balance from different contract than eth ?

  • @zelenytypek
    @zelenytypek 2 роки тому

    nice video but theres an issue with browsers on phones. just white screen with nothing on it

  • @TheNodeKillProtocol
    @TheNodeKillProtocol 3 роки тому +1

    Great tutorial, thank you so much for uploading this 👍

  • @metinilkbahar2801
    @metinilkbahar2801 2 роки тому

    Very informative!! Much appreciated.

  • @ride.withzero
    @ride.withzero 2 роки тому +1

    Hi! Thanks a lot for thisa video, helped me so much i achieve to set up everything, but the balance won't show up!! Everything works good and fine but the only thing i miss is the balance.. Nothing different from your code :(
    Need some help

  • @kirill632
    @kirill632 3 роки тому

    you don't need to use --save when installing packages, only --save-dev when installing for dev

  • @jayzhou9637
    @jayzhou9637 2 роки тому

    Amazing tutorial sir thanks for sharing

  • @QiuqiuVG
    @QiuqiuVG 2 роки тому

    Great tutorial. Where is the part of ethers.js part?

  • @CryptoPapsOfficial
    @CryptoPapsOfficial 2 роки тому

    Thanks for this tutorial.

  • @jonathanleon3126
    @jonathanleon3126 2 роки тому +1

    Hey Michael, great tuto!!! How would you get information about the address owned NFTs from there?

  • @RoyceDuong
    @RoyceDuong 2 роки тому

    awesome tutorial, thank you for putting this together!

  • @thaer1367
    @thaer1367 2 роки тому

    very Nice , wating for an ICO website for presell ? BNB or Matic ?

  • @investingthelike111
    @investingthelike111 2 роки тому

    Hello say I am wanting to set up a website and people pay for shirts using meta mask , how can we link the metamask payment to the shirts purschased etc, so when someone buy a shirts can they send their payment with a note saying for this shirt is for bob fox from 123 Ford St New York, or do how would we know that they have paid and what for being the owner of the website, or would they have to enter their waller number when making the purchase , and we then just check our meta mask transactions that the wallet number has paid us the correct $'s

  • @sakshambisen3580
    @sakshambisen3580 3 роки тому +1

    I need an advice on which ReactJs framework to use(I previously used NextJs) for Dapps(problem with NextJs is Dynamic routing(when user type URL directly on address bar))?

    • @michael_couch
      @michael_couch  3 роки тому

      I can't really say which React framework would be best. This example utilizes the simple create-react-app boilerplate.

  • @kashifnawaz5830
    @kashifnawaz5830 3 роки тому +2

    Can you please let me know how to make a minting website for NFTs?

    • @michael_couch
      @michael_couch  3 роки тому

      Stay tuned! I'll probably do an ERC-20 first, then an NFT minter.

  • @parapadirapa
    @parapadirapa 2 роки тому

    so... good tutorial BUT.... what about the ethers.js connection that you dais you'd do?......

  • @Supercool7042
    @Supercool7042 2 роки тому

    thank you for this tutorial !!!
    i learnt a lot..........

  • @bernapolat1881
    @bernapolat1881 2 роки тому

    Great tutorial, thanks! But how can I keep wallet connected after the page refreshed

  • @FTWkangaroo
    @FTWkangaroo 2 роки тому

    Great Tutorial, thank you sir

  • @mayursamrutwar560
    @mayursamrutwar560 2 роки тому

    Hello Michael, thanks for the video. Can you please make a video about how to log in using metamask?

  • @ferielbenali7823
    @ferielbenali7823 8 місяців тому

    When i transfer the amount to an adresse the console show me rpc error :internal json rpc error what should i do ??

  • @Banksy_said_hi
    @Banksy_said_hi 2 роки тому

    Thanks for your video!

  • @CavanMitchell
    @CavanMitchell 2 роки тому

    Thanks, straight to the point :)

  • @reflectreflex7612
    @reflectreflex7612 3 роки тому

    Me and my friend are working on using crypto to fundraiser and we have a dapp tenplate that already was coded we got from a good friend. It is already set up but it already had a wallet adress to receive. If I change that to our sdress and release the fundraiser will it work? After i downloaded the site and everything was pre-installed do I need to edit anything else?

  • @mayursamrutwar560
    @mayursamrutwar560 2 роки тому

    How to disconnect the metamask wallet from the website?

  • @akiratoriyama1320
    @akiratoriyama1320 2 роки тому

    Great video!! Thank you very much!!!

  • @ramichehab4797
    @ramichehab4797 3 роки тому

    Thank you for your video but I think there is an error with time 9:37 I got `onClick` listener to be a function, instead got a value of `string` type.

  • @RossPfeiffer
    @RossPfeiffer 2 роки тому

    what happened to good ol' web3? I'm confused

  • @olafnub-e2n
    @olafnub-e2n Рік тому

    how does window.ethereum run without importing ethers.js?

  • @jeffreyxu2029
    @jeffreyxu2029 2 роки тому

    great tutorial

  • @goodtimesbradtimes3625
    @goodtimesbradtimes3625 2 роки тому

    Thank you. Very helpful

  • @MsAtifMehmood
    @MsAtifMehmood 3 роки тому

    Hi I want my users profiles login with meta mask wallet connect on website but they can see their profile like traditional signup login . How can I desgin the profile and login with meta mask . Like do I need to do traditional way to design user profile. But login with meta mask can you explain some .

  • @GurpreetSingh-yw3hb
    @GurpreetSingh-yw3hb 3 роки тому +1

    Good Job

  • @mehdibehzad9821
    @mehdibehzad9821 Рік тому

    Great, i have question, How do i ask ?

  • @sakshambisen3580
    @sakshambisen3580 3 роки тому +1

    Great video bud!!

  • @benjaminantalfia9067
    @benjaminantalfia9067 3 роки тому +1

    Extremely helpful, thank you so much

  • @samjam7546
    @samjam7546 2 роки тому

    Brilliant! Thanks!

  • @suyashshakya7167
    @suyashshakya7167 Рік тому

    any method to disconnect from metamask?

  • @GavinBlog
    @GavinBlog 2 роки тому

    how to disconnect ? Thank you

  • @ninjagaskin
    @ninjagaskin 2 роки тому

    cool! thanks for the tutorial

  • @KaranSingh-ly4dv
    @KaranSingh-ly4dv 2 роки тому

    how can i disconnect the wallet ?

  • @david-dong
    @david-dong 2 роки тому

    keep going bro ! love it

  • @ngocthachho4525
    @ngocthachho4525 3 роки тому

    does it work well on the mobile browser?

  • @heronlancellot
    @heronlancellot 2 роки тому

    Top!

  • @Vineet0k
    @Vineet0k 2 роки тому

    Thank you so much for this. Can you do one with Angular?

  • @notavi78
    @notavi78 2 роки тому

    Why was ethers js installed?

  • @ismoilshokirov
    @ismoilshokirov 2 роки тому

    It is a really cool tutorial, thank you
    I've got just 1 question, should I move
    window.ethereum.on('accountsChanged', accountChangedHandler);
    window.ethereum.on('chainChanged', chainChangedHandler);
    to uesEffect hook? or it is okay to use it inside function body

    • @chefc3023
      @chefc3023 2 роки тому

      yea so it doesnt run over and over again