Solidity by Example - Deploying a Voting Smart Contract

  Рет қаралды 32,961

Nader Dabit

Nader Dabit

Күн бұрын

Пікірлер: 60
@WysockiD
@WysockiD 3 жыл бұрын
this channel is going 10x this year, thanks for your in depth and understandable walk throughs in a space where there is very little of it available. much love
@naderdabit
@naderdabit 3 жыл бұрын
💙💙💙💯
@Jaxbulid
@Jaxbulid 3 жыл бұрын
Nice! I want to switch my career as a web software engineer to blockchain and smart contracts developer, I'm studying a lot, and these kind of videos are super helpful, there is not much great material yet about these topics. Looking forward to your nexts videos!
@naderdabit
@naderdabit 3 жыл бұрын
Awesome to hear, glad you enjoyed it!
@maximdegeyter5258
@maximdegeyter5258 3 жыл бұрын
This is going to be such a good series! I'm thinking about changing from Full-Stack JS developer to a Blockchain developer and your content makes it a lot easier. Thanks Nader 👏
@doruktopcu
@doruktopcu 2 жыл бұрын
Not only in financial martkets, but in writing the financial markets too. Lit!
@mayassalman
@mayassalman 3 жыл бұрын
first channel where I hit 'like' before even video start loading :) ,thanks nadir
@misterjaypeasmith
@misterjaypeasmith 3 жыл бұрын
So so so pleased you are in the space. Your content on other topics is superb and this is no different! Q: in your opinion, what other languages best compliment Solidity from a syntactic/logic perspective? Typescript perhaps?
@Finebyymee
@Finebyymee 2 жыл бұрын
this is how its Done! thanks man thank you so much for all the explanation. Its great keep it up
@razaqmalomo
@razaqmalomo 2 жыл бұрын
Great vidoe , clear explanation. KINDLY SHARE YOUR VSCODE SETTING . i really love the contrast
@Yehia_Sayah
@Yehia_Sayah 3 жыл бұрын
Welcome back Nader, I'm happy 😊
@lveiga
@lveiga 3 жыл бұрын
Keep the amazing work Nader.
@wouterdeschuyter
@wouterdeschuyter 3 жыл бұрын
Interesting but right away quite complex, would love to see some other Solidity tuts with more basic functionality too!
@mayassalman
@mayassalman 3 жыл бұрын
as a homework for all of us, winner must be an array of winners !!
@HaysStanford
@HaysStanford 3 жыл бұрын
Hell yeah! Nice job on 10K subs!
@esotomay21
@esotomay21 3 жыл бұрын
love this content. keep pumping more out!
@chauquyennguyen2434
@chauquyennguyen2434 3 жыл бұрын
Thanks a lot. This tutorial helps me so much 😀
@Tame.Nation
@Tame.Nation 2 жыл бұрын
Fantastic video, Thanks so much..... You're awesome
@tendies
@tendies 3 жыл бұрын
Thank you for your work!
@jcloudofthrones
@jcloudofthrones 3 жыл бұрын
The best! Thanks Nader.
@ICOReviewtoken
@ICOReviewtoken 3 жыл бұрын
where can i get source code ?
@sureshkm
@sureshkm 3 жыл бұрын
Thank you so much! By the way, what are the options for updating the existing contract?
@adeleke5140
@adeleke5140 2 жыл бұрын
this is an amazing tutorial; thank you Nader. btw, what vscode is this? it looks really nice.
@marcosmolina9349
@marcosmolina9349 Жыл бұрын
Is there a tutorial that shows how to call these functions on js?
@catchETHiopia
@catchETHiopia Жыл бұрын
I know the code it for learning purpose, doesn't handle tie votes right?
@throxe
@throxe 3 жыл бұрын
Thank you very much for this content. Can you make a video on building a CRYPTO EXCHANGE please. Thanking you in anticipation❤👌
@murat6018
@murat6018 2 жыл бұрын
Man, Solidity's logic is so different from what I'm used to, i.e. JS front end web development. Like, it's so weird. I'm trying to understand it as like, which part of solidity can be interpolated to JS? and most of the time I'm left with no answers. Like, mappings are a mysteryy to me. Are they like JS arrays or objects? If they're like objects, what are structs, they feel more like JS objects. But, it seems that you can define what type of items a damn array will get, and you can choose it to be structs. Gosh. Anyway, thanks for the tutorial. We need more courses on Solidity...
@user-pj8nl7zl2z
@user-pj8nl7zl2z 2 жыл бұрын
Helpline 📲📩 QUESTIONS CAN COME IN ⬆️…
@freshcotech79
@freshcotech79 3 жыл бұрын
Would you write for a publication on medium for web3 developers. There wasn't one on medium so I made on called be "Web3". I though it would be use for the community to cut through all the crypo investing saturation. Other than your dev post and documenting it hard to find a variety of resource in one place.
@ehsankhorasani_
@ehsankhorasani_ 3 жыл бұрын
Good job nader
@RockmanR
@RockmanR 3 жыл бұрын
I still didn't get why we need a While Loop. And how come it won't be an infinite loop if the voter[to] have already delegated. Thank you Nader for the valuable content.
@advaith2188
@advaith2188 3 жыл бұрын
It won't be an infinite loop because it essentially stops when the delegation loops back to the sender(msg.sender). At that point, I suppose the transaction just reverts without saving state changes, with that error message("found loop in delegation")
@abhinav1025
@abhinav1025 Жыл бұрын
Default address in delegate is 0.
@codeWithBala
@codeWithBala 2 жыл бұрын
What is the purpose of touch used in command prompt
@codeWithBala
@codeWithBala Жыл бұрын
The same person after 7 months of BlockChain developer...I am going to answer myself Touch is used for creating files. Hope you understand!
@onlyfaas
@onlyfaas 3 жыл бұрын
Thanks for this!
@Mummie560
@Mummie560 3 жыл бұрын
what color theme do you use on vscode, Nader?
@Mummie560
@Mummie560 3 жыл бұрын
Its "Shades of Purple" for those curious :)
@rahimihoussam4511
@rahimihoussam4511 2 жыл бұрын
thanks man that was helpfull
@francoperez03
@francoperez03 2 жыл бұрын
CRACCCCKK!! thank you!
@mikekalapoth
@mikekalapoth 3 жыл бұрын
How can I add weight in a voting system? For example the president 's vote is 2 and other people 1???
@robertshawnmitchell
@robertshawnmitchell 3 жыл бұрын
in the constructor "voters[chairperson].weight = 2;"
@freshcotech79
@freshcotech79 3 жыл бұрын
@@robertshawnmitchell Do you need to create a separate constructor or can you make different weight to different titles in the same constructor?
@parbatikandel6900
@parbatikandel6900 3 жыл бұрын
How can we put a condition in solidity that person below 18 yrs cannot vote
@danielbusuttil7703
@danielbusuttil7703 3 жыл бұрын
Thank you!
@azamatturaev904
@azamatturaev904 2 жыл бұрын
thank you man
@newborn7850
@newborn7850 2 жыл бұрын
sir how to create react js front end for it
@hassanxelamin
@hassanxelamin 2 жыл бұрын
npm install create-react-app or npm install vite@latest
@newborn7850
@newborn7850 2 жыл бұрын
@@hassanxelamin trying thanku
@mariajanechan5906
@mariajanechan5906 2 жыл бұрын
Awesome!
@manlequang9576
@manlequang9576 3 жыл бұрын
thank you
@mwaikul
@mwaikul 2 жыл бұрын
github?
@pokokichi5318
@pokokichi5318 3 жыл бұрын
Awesome
@kettenbach
@kettenbach 3 жыл бұрын
First 🙏
@Rob-do-it
@Rob-do-it 3 жыл бұрын
Close second 💫
@chesster5981
@chesster5981 2 жыл бұрын
So easily explained wtf
@MoxAIprofit
@MoxAIprofit 3 жыл бұрын
guys I need someone to guide me how to become blockchain developer I have some experience but I still totally beginner
@justkaz7104
@justkaz7104 Жыл бұрын
736
@abhinav1025
@abhinav1025 Жыл бұрын
if (delegate_.voted) { // If the delegate already voted, // directly add to the number of votes proposals[delegate_.vote].voteCount += sender.weight; } else { // If the delegate did not vote yet, // add to her weight. delegate_.weight += sender.weight; } the if statement won't run in any case, as the while loop above it will eventually point to the person with null delegation which means delegate_.voted will be false. Am i right?
@Silvertestrun
@Silvertestrun Жыл бұрын
Thank you!
Solidity by Example - Digital Marketplace
36:40
Nader Dabit
Рет қаралды 17 М.
How to have fun with a child 🤣 Food wrap frame! #shorts
0:21
BadaBOOM!
Рет қаралды 17 МЛН
«Жат бауыр» телехикаясы І 26-бөлім
52:18
Qazaqstan TV / Қазақстан Ұлттық Арнасы
Рет қаралды 434 М.
УЛИЧНЫЕ МУЗЫКАНТЫ В СОЧИ 🤘🏻
0:33
РОК ЗАВОД
Рет қаралды 7 МЛН
Learn Solidity: The COMPLETE Beginner’s Guide (Latest Version 0.8)
1:39:11
The Only Unbreakable Law
53:25
Molly Rocket
Рет қаралды 353 М.
Angular 19 is a BEAST of a release!
19:39
Maximilian Schwarzmüller
Рет қаралды 56 М.
Smart Contract Tutorial - Vending Machine Smart Contract in Solidity
34:34
Smart Contract Tutorial - Create a lottery smart contract in Solidity
45:23
How to have fun with a child 🤣 Food wrap frame! #shorts
0:21
BadaBOOM!
Рет қаралды 17 МЛН