Writing a dApp using Web3 and Solidity Contract, Truffle, Ganache, MetaMask | Part 2

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ธ.ค. 2024

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

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

    I express my deep gratitude, I watched a lot of similar lessons, but everywhere there were problems that could not be solved, here I managed to figure it all out and get the basis for creating my own application.

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

    i have watching different tutorials to sharpen my web3 skills and this is by far the best tutorial i have watched. Kudos

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

    This far was the best dApp tutorial i've ever watched, very straight forward and amazing. Thanks dude,

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

    I checked every video on node js/web3/ganache and this is the only one that has exactly what i need , thank you very much and keep it up

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

    Never usually comment however this deserves it. Spent hours trying to get a basic working app with truffle and javascript and this is the only tutorial that was clear and worked for me. Cheers mate, keep it up :)

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

    ok, now I know why this tutorial i so excelent, becouse you just learned it
    I love to learn from someone who remembered the times when he could not do it yet, because then it is always explained so clearly

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

      Haha good point, yeah I think I made this tutorial like a week after playing around with this stuff

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

    the best tut for beginner. thanks dude for making this amazing projects

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

    Best dApp Amazing tutorial online today, straightforward and short

  • @chris-zlrr
    @chris-zlrr 2 ปีที่แล้ว

    thanks man! first video that actually explained it

  • @pnch-zj1mn
    @pnch-zj1mn ปีที่แล้ว

    well done boss, helpful asf!

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

    Productive Content !!!

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

    Hey ! Thank you for your video !
    I'd like to know why the network is 5777 in the index.js but not 1337 (as we set up the metamask network)?

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

    Good job, thank you very much 👍

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

    Hi Great video. I am just starting out to learn more about Smart Contract. Just downloaded your repo and tried to run it. May I know what is the localhost that I should be running on for the Front End?

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

    I'm using command line ganache and it runs on 8545. The metamask reflects this but the UI isn't connecting and the error is in the configuration.networks['5777'].address part. Any idea?

  • @lamnguyen-oh1dm
    @lamnguyen-oh1dm ปีที่แล้ว

    i have an error when i console.log(ticket). its all "null".

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

    thank you very much for this vedio

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

    Good job babe!

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

    Thank you for video

  • @林咨妤-m6c
    @林咨妤-m6c 2 ปีที่แล้ว

    Your video is very good, this is what I need. But I met a problem is MetaMask stopped providing the window.web3 API to websites. How can I fix it? I want to use the current version. The document of MetaMask provide is install the Legacy Web3 extensionin my browser.

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

      Idk I don’t touch web3 anymore

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

    great sir , can show us if it was react js as frontend

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

    thank you

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

    What is the IDE you are using?

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

    Really a great video I downloaded your source code also added my own additional design but when I buy a ticket at 0.01 ether to whom does that ether go?. How to check the reciever balance whether he received it or not. Can you plz help

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

      the money goes directly into the contract. The contract itself has an address which can hold money. If you want to get the money out of the contract, you could modify the buyTicket method to send the funds to the owner of who deployed the contract:
      (bool success, ) = owner.call{
      value: msg.value,
      }("");
      require(success, "Failed to send money");

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

      @@WebDevCody Thank you so much Can you make a video for sending and receiving these ether from sender to receiver, it will help a lot of beginners like myself.

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

    its a great video, i learned very much. but metamask keeps telling me they cannot estimate gas..

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

    Although there is a bug , after like 10 min of starting the script and the blockchain and everything works fine , it stops showing the tickets and displays this error in console ,
    index.js:297 Uncaught (in promise) Error: Returned values aren't valid, did it run Out of Gas? You might also see this error if you are not using the correct ABI for the contract you are retrieving data from, requesting data from a block number that does not exist, or querying a node which is not fully synced.

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

      Oh nevermind i think i fixed it , it's a web3 bug , just switch "web3": "^1.7.0" by
      "web3.js": "1.0.0-beta.35" in package.json and save

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

    Yu didn't tell how to get package lock file build file

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

      Pls can yu tell how to get that

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

    didn't metamask deprecated web3?

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

      Idk probably, this tutorial is old

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

      @@WebDevCody still very helpful tutorial! thank you