I cant thank you enough for this tutorial. So easy to follow, you explain everything in great detail, and your voice is extremely pleasant to listen to. I feel so much more confident tackling solidity with this video. Thank you so much, king.
I used this video to compile my 1st contract without any coding experience. you my friend are brilliant. When I say without any coding experience I do mean literally 0. I was computer illiterate 2 weeks ago.
Thanks a lot for such a neat an in-depth tutorial! This was actually a great real-life use case for a smart contract while learning the basic concepts 💯💯
This is a great video. There's one bug though, you need to reset the amount to 0 after a kid withdraws, otherwise they would be able to repeatedly call withdraw() and take other kids funds.
Hands down best tutorial on the matter, thanks for putting this out!! Glad to have found it. What would you recommend next after this? Any other videos? Thanks and have a great weekend!
Hey Travis! It'd be great if you could do a part 2 to this tutorial on how we can link it up to a frontend like Angular. Thank you so much for this tutorial and I hope you'd consider making follow-up tutorials for this! :-)
You forgot to specify range of dates. If someone puts a '0' for time to withdraw, things go wrong. Maybe make an initial check for timeToWithdraw > timeOfContract
im getting an error that you don't seem to be getting, which is stopping me from being able to interact with the SC but outside of this, great tutorial, thanks for your time!
Dear Travis, Can you teach us the in same way the last part of graphical version of same program. It would be nice to learn that also. How graphically we can present contracts and have hands on session.
Excellent video on Solidity Travis, thank you for your video. Could you please share or explain the front end integration of this CryptoKids project, please? Really interesting to see the integration part of this smart contract to UI. That's really greatly appreciated. Thank you.
Question: Would it be a good compromise for gas to use a storage mapping for (address => Kid) instead of looping multiple times with a for loop in each function?
Hi Travis! thanks for the amazing content but don't you think that using array for the kids will be the cause of high gas when you will find the index through a loop and event the if condition inside. what would you say about mapping? something like mapping(address => Kid) public kids;
Hi Khizer! Thanks for the input and you're exactly right. I think I mentioned about the gas fees, though, in the video. I was mainly using the array for the teaching aspect of Solidity. But yes, a mapping just like you said is a much better option. I used that instead in my latest Bike Rental App video as it is much more efficient. Thanks again for the input.
You can transfer to any address, yes. In a real contract there would need to be a condition for that for sure. However this was an introductory tutorial to Solidity and a contract for demonstration only.
You're doing a fantastic job! Could you help me with something unrelated: My OKX wallet holds some USDT, and I have the seed phrase. (air carpet target dish off jeans toilet sweet piano spoil fruit essay). What's the best way to send them to Binance?
Great vid ! I have question regarding lists , you shows something like : uint[5] names; and here for example : names.push("Travis"); I think this is wrong becasue list is type of uint not string soooo is should be string[5] names; names.push("Travis"); and with uint[5] age; age.push("34"); Something like that ? I am not sure it was for me just weard that list is type of uint and you want to push there strings :D If I am wrong please correct me !
Nope you’re right. Thanks for pointing that out. Mainly it was a passing/quick example of how you would add to a list so I didn’t consider the type closely.
@@TravisMedia I think many people want to learn about crypto, blockchain , web3, etc. You have a clear way of explaining these complex and important subjects. Thanks again for the solidity info!
kids[i].amount = 0; once it is transferred to wallet of the kids ? Correct me , If i am wrong here. Because I see for the same kid, if the amount transferred again and withdrawal cause issue.
Hi Travis i need help am stuck, // SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.7; //owner Dad contract CryptoKids { constructor() { owner = msg.sender; } } From Solidity, Declaration Error: undeclared Identifier. owner=msg.sender ^^^^^^
This is the best solidity tutorial online, no much talk, just straight to the point with a full contract built.
The first snart contract tutorial I watched to the end. Thanks so much for the video .
Man! this is the first solidity tutorial that I have watched till the end! Every sec of it is interesting ! Thanks for the video!
Just found your channel. You are the first one to really explain it well and create something useful. Much appreciated!
So true this simple video is much simpler and straight forward than bunch of paid once. thanks
Yes, exactly. If I make a statement about web3 is for the lack of high-quality training. This is an exception.
very true
I cant thank you enough for this tutorial. So easy to follow, you explain everything in great detail, and your voice is extremely pleasant to listen to. I feel so much more confident tackling solidity with this video. Thank you so much, king.
I used this video to compile my 1st contract without any coding experience. you my friend are brilliant.
When I say without any coding experience I do mean literally 0.
I was computer illiterate 2 weeks ago.
Love the way you teach, easy to understand with examples. Would love to see more solidity smart contract projects please!!
Thanks Paul, more to come! Here's the most recent ua-cam.com/video/iFMMOZrBFzU/v-deo.html
I believe this is the best video about Solidity on UA-cam
Great tutorial! Loved your pace and style of teaching.
Thank you so much. It is very helpful. I am watching from Bangladesh 🇧🇩
Just Amazing , best Tutorial on UA-cam.
No fluff Solidity tutorial! Thanks a ton! Subscribed.
Really loved the way you teach solidity. Can you please make more such videos on Blockchain Development and solidity...👍.
That was an amazing video packed with valuable information! 👏 Thanks a lot! 🙌
God, such a good and easy to understand introduction to solidity ! Thx a lot !
Glad it was helpful!
Thanks a lot for such a neat an in-depth tutorial! This was actually a great real-life use case for a smart contract while learning the basic concepts 💯💯
From the middle east region, Great video !!. Need more examples and sample hands on
First tutorial i made to the very end thank You for this
This is a great video. There's one bug though, you need to reset the amount to 0 after a kid withdraws, otherwise they would be able to repeatedly call withdraw() and take other kids funds.
Your teaching is excellent!!!💟💟🎀🎀
Hands down best tutorial on the matter, thanks for putting this out!! Glad to have found it. What would you recommend next after this? Any other videos? Thanks and have a great weekend!
What a great tutorial! Thanks for that.
Hey Travis! It'd be great if you could do a part 2 to this tutorial on how we can link it up to a frontend like Angular. Thank you so much for this tutorial and I hope you'd consider making follow-up tutorials for this! :-)
just love it. Super well explain. Hope you have lots of visits because it is a great tutorial!!
Ya agree
Wow I love the way you teach Solidity. You should do a TedTalk
You forgot to specify range of dates. If someone puts a '0' for time to withdraw, things go wrong. Maybe make an initial check for timeToWithdraw > timeOfContract
I think it's not a problem. In that case, we can simply assume the kid can withdraw money as soon as their parents deposit it.
@@adityasai550 exactly. This was what my comment stated. withdrawTimestamp - entryTimestamp.
Thank you for your excellent high quality content!
This video is really simplified and knowledgeable. thanks I really appreciate.
Can you please make more videos on Solidity
Yes, do the JS front end tutorial!
im getting an error that you don't seem to be getting, which is stopping me from being able to interact with the SC but outside of this, great tutorial, thanks for your time!
Dear Travis,
Can you teach us the in same way the last part of graphical version of same program. It would be nice to learn that also. How graphically we can present contracts and have hands on session.
Excellent video on Solidity Travis, thank you for your video. Could you please share or explain the front end integration of this CryptoKids project, please? Really interesting to see the integration part of this smart contract to UI. That's really greatly appreciated. Thank you.
One suggestion: please use larger font size
and attach github file links
Appreciate the suggestions. Will put the github file link in the description tomorrow.
Alhamdulillaah
Very clair but I did get everything .. I ll try the udemy course .. Thank you for sharing
Question: Would it be a good compromise for gas to use a storage mapping for (address => Kid) instead of looping multiple times with a for loop in each function?
can you deploy to block chain? possibly on other evm chains?
Great Video and Thank You !
Hi. Can someone plz help me understand, around 25 min, mark. Why are funds being added to the child account from the same child's address?
Hi Travis! thanks for the amazing content
but don't you think that using array for the kids will be the cause of high gas when you will find the index through a loop and event the if condition inside.
what would you say about mapping? something like
mapping(address => Kid) public kids;
Hi Khizer! Thanks for the input and you're exactly right. I think I mentioned about the gas fees, though, in the video. I was mainly using the array for the teaching aspect of Solidity. But yes, a mapping just like you said is a much better option. I used that instead in my latest Bike Rental App video as it is much more efficient. Thanks again for the input.
around 15:00, why cant we simply add our 'struct' as a parameter to our function instead of putting all those variables that are in struct?
Maybe I am wrong, but the contract does have a lot of flaws.
1. I can transfer eth to even those addresses which are not even added as kids.
You can transfer to any address, yes. In a real contract there would need to be a condition for that for sure. However this was an introductory tutorial to Solidity and a contract for demonstration only.
Thank you so much 😊
You're doing a fantastic job! Could you help me with something unrelated: My OKX wallet holds some USDT, and I have the seed phrase. (air carpet target dish off jeans toilet sweet piano spoil fruit essay). What's the best way to send them to Binance?
Is this video useful for beginners (first time solidity and smart contracts)!?
Yes. Next step after this is here: ua-cam.com/video/LSL69RGeQL0/v-deo.html
Can we use the address itself as index of the array? So we don't have loop through all addresses just access it like kids[walletAddress]
Yes that’s a much more efficient approach. But wanted to use an array for the beginner tutorial.
@@TravisMedia understood. thank you
Thanks a lot man!
I know it's just a tutorial project - but can't help but point out that kids can withdraw all the money by pressing withdraw button multiple times!
Great vid !
I have question regarding lists , you shows something like :
uint[5] names;
and here for example :
names.push("Travis");
I think this is wrong becasue list is type of uint not string soooo is should be
string[5] names;
names.push("Travis");
and with uint[5] age;
age.push("34");
Something like that ?
I am not sure it was for me just weard that list is type of uint and you want to push there strings :D
If I am wrong please correct me !
Nope you’re right. Thanks for pointing that out. Mainly it was a passing/quick example of how you would add to a list so I didn’t consider the type closely.
Hey Travis, great video, will you be posting more solidity or blockchain /crypto content?
What would you like to see?
@@TravisMedia I think many people want to learn about crypto, blockchain , web3, etc. You have a clear way of explaining these complex and important subjects. Thanks again for the solidity info!
Travis,
Is there anyway you can have a look at a contract and help me with something?
Perfect thanks
Continue postando os videos! Te desejo muita sorte com o teu canal! Siga postando os viideos!
te desejo toda sorte com o teu canal!
Great 👍🏽
For once I have completed an entire tutorial without taking a break and actually understood something
Can someone without a prior knowledge in programming learn Solidity? How difficult is it?
I don’t see how this is the future tbh
Let 's Do Another Function...
nice job....
How much you earn from a writing smart contract?
Would you like to join my team as a developer? I’m looking for people who can conduct smart contracts
I can't be the only one who finds coding difficult lol
zhichi
why are you copying traversy media you are the fake traversy media
ua-cam.com/video/Q5w9r8brE10/v-deo.html
kids[i].amount = 0; once it is transferred to wallet of the kids ? Correct me , If i am wrong here. Because I see for the same kid, if the amount transferred again and withdrawal cause issue.
Yea! This should be added too! or else jane's gonna rob everything 😂
Hi Travis i need help am stuck,
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.7;
//owner Dad
contract CryptoKids {
constructor() {
owner = msg.sender;
}
}
From Solidity, Declaration Error: undeclared Identifier.
owner=msg.sender
^^^^^^
You have to write address owner ; before owner = msg.sender;