Jumped into several web3-related channels. None have explained it as well as you. Thanks!
@salmanabdulaziz75522 жыл бұрын
Travis you made Blockchain to understand like Nursery rhymes. Great way to let us learning . Instrumental in making career in blockchain.
@pil_low2 жыл бұрын
Travis, bro you are so great. Please bring more courses. It's easy to follow up your contents. Thank you.
@Nicogs2 жыл бұрын
Thank you Travis! After giving up on Solidity a few months ago, back in the game after this tutorial. Simple, clear with a perfect project based exercise. I was wondering if there is a way (because it is still a smart-contract) to have someone deposit funds first for X amount of time and when timespan is bigger than X it returns the bike so that someone can't rent a bike for ever without ever turning it back? You should create more Solidity tutorials 🙆♂ you got yourself a new subscriber!
@moteteletsa20342 жыл бұрын
Suppose I want to see a list os renters, or count a number of renters. How do I do that?
@satyendrakumar33192 жыл бұрын
Hi Travis I don't have any programming experience can I learn it
@AdilAli-lo7dq2 жыл бұрын
Wouldn't be surprised if this guy identified as a goat🐐🔥
@AdilAli-lo7dq2 жыл бұрын
when is the front-end part of this project dropping ?
@TravisMedia2 жыл бұрын
Later next week the course will go live. Took me a little longer than expected.
@pankajjoshi82922 жыл бұрын
Adil Ali did u got Front End part. If so pls let me know I am doing my Final year Bachelor Project on This. Thank you
@newborn78502 жыл бұрын
Hey guys did u got front end.
@mrshephu2 жыл бұрын
thanku travis where we can find the front end
@TravisMedia2 жыл бұрын
travis.media/courses
@MrSamay1010 ай бұрын
I took your subscription . for web3 development but your video is not very smooth its stuck i email many times but no one is responding . pls work on this
@gobindapaul85062 жыл бұрын
Can you make a simple bot with solidity for understanding how bot work
@maheshbabusurepalli6532 жыл бұрын
Thank you so much for the video, sir. Due is deducting twice from the wallet. The first time is while depositing ETH/BNB to the contract, the second time is while making the payment. Actually, while making the payment due should deduct from the deposited ETH/BNB. But, it is deducting again from my own wallet. Please correct me if there is anything wrong with my understanding.
@TravisMedia2 жыл бұрын
Hi Mahesh!. So when you deposit, it deposits to the smart contract balance, but it also credits the balance of the person depositing. If only I have deposited and I deposit $10, then the smart contract in total will have $10 AND that $10 will be allotted to my balance. So all $10 in the smart contract belongs to me. If I spend $8, then $8 is deducted from my balance. Nothing changes in the total on the smart contract, but NOW only $2 of the balance is mine. The other $8 now belongs to the owner of the contract. One thing I didn't include is a function for the owner to be able to withdraw regularly the amount that is his/hers after transactions are made. Could add that functionality if you desire. Please let me know if that helps clarify.
@maheshbabusurepalli6532 жыл бұрын
For making the payment function we are using a payable modifier. So if you spend 8$. along with a deduction from your balance. 8$ more dollars will be added to the small contract. That means we are paying due twice right??
@TravisMedia2 жыл бұрын
@@maheshbabusurepalli653 Actually, you are exactly right. It's an oversight on my part, thanks for pointing it out. The fix is to update the makePayment function: 1. Remove payable 2. add a parameter of uint amount 3. change the two occurences of msg.value to amount 4. Then on the front end when calling this function we would need to pass in, converted to Wei format, the amount you are paying in addition to the walletAddress. This has been addressed in the upcoming course for this. Thanks again!
@dineshrambabukushwaha47572 жыл бұрын
@@TravisMedia Instead of adding another uint amount paramter, can we directly deduct from the balance param which is the amount stored in the bike Rental app in the initial deposit ? Bikers[walletAddress].balance -= Bikers[walletAddress].due;
@dineshrambabukushwaha47572 жыл бұрын
@Travis Media is it correct way ?
@nanonkay56692 жыл бұрын
Why didn't you just make the rate 0.001 per minute? Isn't that the same thing without all the extra math to do in between?