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.
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 :)
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
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?
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?
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.
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
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");
@@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.
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.
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.
i have watching different tutorials to sharpen my web3 skills and this is by far the best tutorial i have watched. Kudos
This far was the best dApp tutorial i've ever watched, very straight forward and amazing. Thanks dude,
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
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 :)
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
Haha good point, yeah I think I made this tutorial like a week after playing around with this stuff
the best tut for beginner. thanks dude for making this amazing projects
Best dApp Amazing tutorial online today, straightforward and short
thanks man! first video that actually explained it
well done boss, helpful asf!
Productive Content !!!
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)?
Good job, thank you very much 👍
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?
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?
i have an error when i console.log(ticket). its all "null".
thank you very much for this vedio
Good job babe!
Thank you for video
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.
Idk I don’t touch web3 anymore
great sir , can show us if it was react js as frontend
thank you
What is the IDE you are using?
vs code
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
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");
@@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.
its a great video, i learned very much. but metamask keeps telling me they cannot estimate gas..
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.
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
Yu didn't tell how to get package lock file build file
Pls can yu tell how to get that
didn't metamask deprecated web3?
Idk probably, this tutorial is old
@@WebDevCody still very helpful tutorial! thank you