Build Ethereum Decentralized Voting App (DOA) | Create Smart Contract, Deploy | Dapp App Project

  Рет қаралды 33,895

Daulat Hussain

Daulat Hussain

Күн бұрын

Пікірлер: 136
@daulathussain
@daulathussain 7 ай бұрын
Get Resource Updated Video: kzbin.info/www/bejne/hnmWdKOOe8hjY5Isi=qmwFlNGbmT4CSt0r Get Source Code: bit.ly/Ethereum-Decentralised-Voting-Dapp-Code
@cryptovision2024
@cryptovision2024 3 ай бұрын
Love how you explain blockchain technology; it's such an important topic.
@cryptovision2024
@cryptovision2024 3 ай бұрын
The history of Bitcoin you covered was fascinating!
@yontenjamtsho4315
@yontenjamtsho4315 2 жыл бұрын
Nice video tutorials. How to make a particular admin login to the system? I don't want other users to login to the system and add candidates.
@ot1675
@ot1675 2 жыл бұрын
how to do this?
@daulathussain
@daulathussain Жыл бұрын
you can do the changes in the smart contract where the owner of the contract will allow to add candidates
@atrij10
@atrij10 2 ай бұрын
1:55:05 When i try to upload the image, in the inspect section it is showing "undefined" and the image is not uploading although I'm connected to the internet and having no errors Please help
@daulathussain
@daulathussain 2 ай бұрын
Instead of using Indira you have to use pinnata Watch this video kzbin.info/www/bejne/hnmWdKOOe8hjY5Isi=5beYaORU-xjarpdF
@MdSaifulIslam-dw6ee
@MdSaifulIslam-dw6ee 2 жыл бұрын
Actively looking for the 2nd part
@daulathussain
@daulathussain 9 ай бұрын
ok
@Mai-cw9tw
@Mai-cw9tw 10 ай бұрын
i run the command "npm run dev" as shown in 15:12, and after i have clicked the link to the localhost, it says site can't be reached...
@daulathussain
@daulathussain 10 ай бұрын
Make sure you should download the starter file and start building the project for that if you use the letter version is going to create an issue
@gabru2780
@gabru2780 10 ай бұрын
Hi, You have used "Lock" in line 6 @13:41 but when I use the command {npx hardhat run scripts/deploy.js --network localhost} @48:30 it gives an error {HardhatError: HH700: Artifact for contract “Lock” not found} but when i change the "Lock" in line 6 to "Create" then it works fine and shows the expected output i.e. "Lock with 1ETH is deployed to :...." I want to know If I am doing something wrong or what please tell.
@daulathussain
@daulathussain 10 ай бұрын
Make sure you have to use the node version 18.12 If you use letters version is going to create a problem when you will deploy the contract Because right now, Hardhat is not compatible with the latest node version For better understanding, make sure to download the starter file and install the exact version
@rajeswari689
@rajeswari689 9 ай бұрын
Hello bro , u have Instagram I'd? I gotta talk with u personally
@anushkathakur6531
@anushkathakur6531 11 ай бұрын
bhaiya,I have searched through all your projects,I wanted to take your suggestion on which project as a beginner to include in my resume....As the interviewer is surely gonna ask why I chose other core NFT market projects,so found a little fabricated to answer that while blockchain's contribution in voting seemed useful,can this voter Dapp be a good one for resume?? I see you have used hardhat in this too as you commented on a chat project that it can help me use test ether....hope so this project too has no difficulty in that sense....Also bhaiya,I have an earnest request,I tried finding starter files but its not available I guess now
@daulathussain
@daulathussain 11 ай бұрын
I will make a video on this And I will update the starter file so you can download
@manasbhutada1900
@manasbhutada1900 3 күн бұрын
Hey did u make this project then?
@HarshvardhanChandravanshi-p6v
@HarshvardhanChandravanshi-p6v 2 ай бұрын
1:29:10 I am not able to use the css which you applied in file Input.module.css
@daulathussain
@daulathussain 2 ай бұрын
Kindly check that your CSS file is correctly connected, and you have provided the right class and imported properly as a module
@vikram9547
@vikram9547 2 сағат бұрын
Same problem bro what have you done bro
@NguyenBaLam-kj7do
@NguyenBaLam-kj7do Ай бұрын
Hi, I got Error uploading file: HTTPError: project id required at 1:55:00, please help me
@daulathussain
@daulathussain Ай бұрын
Make sure to use Pinata IPFS, watch this video: kzbin.info/www/bejne/hnmWdKOOe8hjY5Isi=jvbL4RWyhMvCmjo6
@sharahari5791
@sharahari5791 2 ай бұрын
i am getting ENS error that when i am trying to get the voterRight function in the contract at 2:07:38 , the error is rror creating voter: Error: network does not support ENS (operation="getResolver", network="unknown", code=UNSUPPORTED_OPERATION, version=providers/5.7.2),can you give me any guidance
@daulathussain
@daulathussain 2 ай бұрын
That is because of your network configuration Watch this: kzbin.info/www/bejne/hnmWdKOOe8hjY5Isi=zlJgbXmJby77WsS8
@HPradeep-q2c
@HPradeep-q2c 2 ай бұрын
@daulathussain i am also facing the same error i am used thirdweb sdk instead of infura
@daulathussain
@daulathussain 2 ай бұрын
@@HPradeep-q2c Don't use third web, it has totally different setup, use pinata, just watch the video in which I have explained how to get Pinata keys
@HPradeep-q2c
@HPradeep-q2c 2 ай бұрын
​@@daulathussainbut sir I have been able to get the keys and save the images using ipfs
@yashrajdeshmukh6832
@yashrajdeshmukh6832 3 ай бұрын
the infura ipfs is giving error for not having the access to the network, I went through the documentation as it needed projectid and secret key now but still having few issues in it.
@daulathussain
@daulathussain 3 ай бұрын
Currently, infura, I had stopped it IPFS service Kindly watch this video in that we have discussed about the alternate method which you can use, which is piñata kzbin.info/www/bejne/hnmWdKOOe8hjY5Isi=COZG_W6IOofpp1O1
@domza47
@domza47 Жыл бұрын
How do I add the localhost network on my metamask?
@daulathussain
@daulathussain 9 ай бұрын
check hardhat video
@harshharsh5641
@harshharsh5641 Жыл бұрын
What is the prerequisites for this project?
@daulathussain
@daulathussain Жыл бұрын
javascript, you have to know
@gibzrival1565
@gibzrival1565 11 ай бұрын
Can voters register themselves automatically, without having to assign adresses each time
@daulathussain
@daulathussain 11 ай бұрын
Must watch this for all updates Build Blockchain Voting Dapp (Decentralized) using Nextjs, Solidity, MetaMask & Hardhat | Voting App kzbin.info/www/bejne/naOxdYyfq552bJI
@braintest382
@braintest382 4 ай бұрын
Which framework you have used in backend development?
@daulathussain
@daulathussain 4 ай бұрын
It’s a blockchain project We have use smart contract for managing all the data and the contract is deployed on blockchain test network. Just follow the complete project, you will understand every single logic about the project
@annmol4500
@annmol4500 2 жыл бұрын
can you explain line no 93 :- Candidate storage candidate = candidates[_address]; and how it is different from lineno:-100 candidate._address = _address;
@zhenfutaofang2534
@zhenfutaofang2534 Жыл бұрын
you can ask chatgpt. haha
@daulathussain
@daulathussain 9 ай бұрын
check the updated video
@AbhishekMishra-lf9bq
@AbhishekMishra-lf9bq 2 жыл бұрын
Getting 401 error unauthorized Catch block is executed kindly help how to configure with ipfs
@daulathussain
@daulathussain 2 жыл бұрын
Here is the source code, Compare your code github.com/daulathussain/votingOeganization
@daulathussain
@daulathussain 2 жыл бұрын
@@AbhishekMishra-lf9bq On authentication is required, simply use the URL which I have explain in the video
@HarshSharma-qm6mu
@HarshSharma-qm6mu Жыл бұрын
Is a a frontend model onlt or the complete web dev project
@daulathussain
@daulathussain Жыл бұрын
complete project
@geepy5708
@geepy5708 2 жыл бұрын
You’re doing damn good
@munsarabuukar3518
@munsarabuukar3518 2 жыл бұрын
Amazing 😍😍😍
@SdBottomg
@SdBottomg 4 ай бұрын
can you tell which vs extensions to use
@daulathussain
@daulathussain 4 ай бұрын
For what
@greebou
@greebou 8 ай бұрын
which node version you're using....?
@daulathussain
@daulathussain 8 ай бұрын
NodeJs: v18.12.1 NPM: 8.19.2 Download the starter file: www.theblockchaincoders.com/sourceCode/etherescan-clone-with-next-js-project-source-code
@husseinashmar-m7e
@husseinashmar-m7e Жыл бұрын
Hello, I cant see why it duplicates the candidates and voters cards can you please help!
@daulathussain
@daulathussain Жыл бұрын
What error are you getting share the screen shot here theblockchaincoders@gmail.com
@lilgainz
@lilgainz 2 жыл бұрын
how can i make a seperate page for voting organiser to add candidate only accessible by id of organizer
@daulathussain
@daulathussain 2 жыл бұрын
we already have two separate registration from for user and candidate, if you want to include accessible by id, then you have to include a function in your smart contract, and create a new page to attach the function in fronted-end
@lilgainz
@lilgainz 2 жыл бұрын
@@daulathussain and why is the error coming ipfs while creating candidate
@lilgainz
@lilgainz 2 жыл бұрын
can u please share the source code which is working completely please it would be highly appreciating
@aimanibnubayd7216
@aimanibnubayd7216 Жыл бұрын
Can you tell me please which create-next-app version it is?
@daulathussain
@daulathussain Жыл бұрын
{ "name": "votingproject", "version": "0.1.0", "private": true, "scripts": { "dev": "next dev", "build": "next build", "start": "next start", "lint": "next lint" }, "dependencies": { "@openzeppelin/contracts": "^4.7.0", "axios": "^0.27.2", "dotenv": "^16.0.1", "ethers": "^5.6.9", "ipfs-http-client": "^57.0.3", "next": "12.2.1", "react": "18.2.0", "react-countdown": "^2.3.2", "react-dom": "18.2.0", "react-dropzone": "^14.2.2", "react-icons": "^4.4.0", "web3modal": "^1.9.8" }, "devDependencies": { "@nomicfoundation/hardhat-toolbox": "^1.0.1", "hardhat": "^2.10.0" } }
@aimanibnubayd7216
@aimanibnubayd7216 Жыл бұрын
Thank you so much sir, all of the videos are really too helpful, i will complete all of your projects. I have completed half of this video but am currently facing a problem about infura, I hope you will help me with another reply soon.
@Unknown373d
@Unknown373d 10 ай бұрын
@@aimanibnubayd7216 hey bro did u do this project? im trying to do this, please reply
@odionmario5490
@odionmario5490 Жыл бұрын
Please sir can a voter vote for more than one candidate (the different candidates are for different political positions. Like parliament and presidency)
@daulathussain
@daulathussain Жыл бұрын
But in this contract the voter can only give vote to one candidate you can build the contract like that but you have to do a little bit modification then it will work but in this contract they can give only one vote
@SathiyaVasudevan-n3k
@SathiyaVasudevan-n3k 3 ай бұрын
Brother....these codes cant run in windows 10 laptop.....😢..what to do ?
@daulathussain
@daulathussain 3 ай бұрын
It will work in any operating system. Make sure you have to use the exact node version like 18.12.1 which I have explained in this video. kzbin.info/www/bejne/hnmWdKOOe8hjY5Isi=bQ-JW6n9oUYIR-3G
@digvijaydevare1299
@digvijaydevare1299 Жыл бұрын
Can anyone explain what is happening at 24:51
@daulathussain
@daulathussain Жыл бұрын
we are using the openzippline contract, for creating the Id
@digvijaydevare1299
@digvijaydevare1299 Жыл бұрын
Do we have to run the file for creating the id
@daulathussain
@daulathussain Жыл бұрын
Just follow the complete project i have explain everything
@digvijaydevare1299
@digvijaydevare1299 Жыл бұрын
You didn't mention about the assets folder can you please tell what is inside tha assets folder and .next folder cuz having error while importing assets folder in allowed-voter file.
@cineaddict1633
@cineaddict1633 11 ай бұрын
Daulat sir contracts.sol file is removed from the openzepplin now how can we make this now?
@daulathussain
@daulathussain 11 ай бұрын
Use the exact openzeppline package version wait I will update the starter file so you can download that
@daulathussain
@daulathussain 11 ай бұрын
Download Starter File: www.theblockchaincoders.com/sourceCode/ethereum-decentralized-voting-project-source-code
@ishmahafeez
@ishmahafeez 9 ай бұрын
@@daulathussain i still cant find it in the source code files pls help
@Unknown373d
@Unknown373d 10 ай бұрын
bro is this project working now? @2024/ I want to do this project
@daulathussain
@daulathussain 10 ай бұрын
Yes, it’s working. Absolutely fine. You can build. Simply download the start file and start following the tutorials.
@fusiontube3406
@fusiontube3406 2 жыл бұрын
Is this full course ? If not, where can I find your full course mentioned in 3:46
@daulathussain
@daulathussain 2 жыл бұрын
yes, check other projects like NFT Marketplace
@tuntunewala
@tuntunewala Жыл бұрын
sir will there be any gas fees , when a user wil vote ?
@daulathussain
@daulathussain Жыл бұрын
Yes, when ever any user will interact with smart contract they have to pay Gas fee
@tuntunewala
@tuntunewala Жыл бұрын
@@daulathussain But sir don't u think this is the drawback of a voting app , why would a user vote if he/she have to pay for it...
@anthonysalas7763
@anthonysalas7763 2 жыл бұрын
I went to the starter file but it is missing all the code. do you have a file with all the code in it. I want to learn the basics of compiling before diving into the code. I have some experience in C++ and understand the scientific concepts behind the language but I want to compile a Dapp using existing code and your instruction. I have a different learning style and want to take small steps at a time. thank you.
@munsarabuukar3518
@munsarabuukar3518 2 жыл бұрын
This is not a begginer course you need to learn basics then come back here it will be great one
@akarshsrivastav2696
@akarshsrivastav2696 2 жыл бұрын
Sir Ipfs does not work now. it requires authorisation
@hoainamduong1868
@hoainamduong1868 2 жыл бұрын
you can use pinata instead
@daulathussain
@daulathussain Жыл бұрын
you can use pinata
@abubakarrishi5332
@abubakarrishi5332 8 ай бұрын
how can you deploye without having the create file kindly solve the issue for me
@daulathussain
@daulathussain 8 ай бұрын
Just watch this all the updates are explained in this update video Blockchain Decentralized Voting DApp | Hardhat, Solidity, Next.js, IPFS & Smart Contracts 2024 kzbin.info/www/bejne/hnmWdKOOe8hjY5I
@cryptovision2024
@cryptovision2024 3 ай бұрын
I’m curious about your favorite cryptocurrency project right now.
@finitech5325
@finitech5325 9 ай бұрын
Sir if i buy the code and it will still not run then ?
@daulathussain
@daulathussain 9 ай бұрын
Yes , watch this video Build Blockchain Voting Dapp (Decentralized) using Nextjs, Solidity, MetaMask & Hardhat | Voting App kzbin.info/www/bejne/naOxdYyfq552bJI
@greebou
@greebou 8 ай бұрын
its not working at 16:19
@daulathussain
@daulathussain 8 ай бұрын
NodeJs: v18.12.1 NPM: 8.19.2 Download the starter file: www.theblockchaincoders.com/sourceCode/etherescan-clone-with-next-js-project-source-code
@elfavicenna7283
@elfavicenna7283 Жыл бұрын
Which version of vscode is this?
@daulathussain
@daulathussain Жыл бұрын
latest version, if anything going wrong with your VS Code, simply reinstall the vs code, you will have the latest version
@bluepip1156
@bluepip1156 2 жыл бұрын
I deployed the smart contract on remix and it threw errors.
@daulathussain
@daulathussain 9 ай бұрын
what error, check updated video
@aimanibnubayd7216
@aimanibnubayd7216 Жыл бұрын
Sir infura doesn't work currently, so can you please give me the code how to use pinata over infura in allowed-voter.js and voter.js
@daulathussain
@daulathussain Жыл бұрын
I already made a video about it. You can check that.
@riobire3067
@riobire3067 Жыл бұрын
Is the code on your video complete?
@daulathussain
@daulathussain Жыл бұрын
Yes, its complete project, follow the complete tutorial
@harshharsh5641
@harshharsh5641 Жыл бұрын
is it complete ?
@daulathussain
@daulathussain Жыл бұрын
Yes
@ANDYHOZIYI
@ANDYHOZIYI Жыл бұрын
hi sir, if i without having the ethereum token, mean that i cant do this project unless i buy it?
@daulathussain
@daulathussain Жыл бұрын
You can build this project, use localhost and use hardhat Just follow the complete project, you will understand everything
@akarshsrivastav2696
@akarshsrivastav2696 2 жыл бұрын
sir infura does not work please help
@daulathussain
@daulathussain 2 жыл бұрын
Know you have to get your own IPFS Key from Infura because infura have change the policy, logo into infura account and create IPFS project in the you will get you private Key And secret key Check NFT Marketplace project in the i have explain that how you can to that
@milindlanje936
@milindlanje936 Ай бұрын
error while installing npx hardhat
@daulathussain
@daulathussain Ай бұрын
Use this nodeJs version 18.17.1
@milindlanje936
@milindlanje936 Ай бұрын
@@daulathussain npm warn cli npm v11.0.0 does not support Node.js v18.17.1. This version of npm supports the following node versions: `^20.17.0 || >=22.9.0`.
@daulathussain
@daulathussain Ай бұрын
@@milindlanje936 Watch this: kzbin.info/www/bejne/hnq1YaJ4i9Sqjrcsi=KDBLN_qasJ_phhX4
@akarshsrivastav2696
@akarshsrivastav2696 2 жыл бұрын
How can I join discord?
@Kavindu_Jayayathilaka98
@Kavindu_Jayayathilaka98 Жыл бұрын
how can I get the source code for this ?
@daulathussain
@daulathussain Жыл бұрын
Check the website daulathussain. Com go to blog section you will find the an article in that you get the code
@vanickperexdedjounfodjoumb7554
@vanickperexdedjounfodjoumb7554 Жыл бұрын
Hello, I have this error: Failed to load resource: the server responded with a status of 401 (Unauthorized) I do not know how to solve it
@daulathussain
@daulathussain Жыл бұрын
you have to get your own Infura key and secret key because infura has changed the global URL, I have already explain how to do that check old videos
@vanickperexdedjounfodjoumb7554
@vanickperexdedjounfodjoumb7554 Жыл бұрын
@@daulathussain thank please i have the second error *net::ERR_UNKNOWN_URL_SCHEME* when i want to use fileurl to
@vanickperexdedjounfodjoumb7554
@vanickperexdedjounfodjoumb7554 Жыл бұрын
with ** do i have to change the the fileUrl ?
@daulathussain
@daulathussain Жыл бұрын
@@vanickperexdedjounfodjoumb7554 YES
@vanickperexdedjounfodjoumb7554
@vanickperexdedjounfodjoumb7554 Жыл бұрын
is good
@nachiketmore9068
@nachiketmore9068 2 жыл бұрын
We want Second Part..!!
@daulathussain
@daulathussain 2 жыл бұрын
ok
@Swathi-p1n
@Swathi-p1n Жыл бұрын
How to download metamask
@daulathussain
@daulathussain Жыл бұрын
metamask.io/
@MizanurRahman-jz4rf
@MizanurRahman-jz4rf 2 жыл бұрын
can you make a decentralized heath managment system from scratch
@daulathussain
@daulathussain 2 жыл бұрын
Thanks for the idea brother, Once I finish this Full stack NFT Marketplace project after that
@MizanurRahman-jz4rf
@MizanurRahman-jz4rf 2 жыл бұрын
@@daulathussain thats will be great. thank you. can you suggest me another thing how to share files between two contract like student to their teacher using ipfs.
@daulathussain
@daulathussain 2 жыл бұрын
@@MizanurRahman-jz4rf, you can create a state variable which keep all the data that you want to share. In a simple way create a function that receives data from IPFS and once you have the data and share
@AsianMotors-j9c
@AsianMotors-j9c 6 ай бұрын
on time period of .......24.50...... i have faced problem related to counter, that in my laptop when i click on the increment() then there is no opening of any folder or plugins ... but somehow i will manage and write the same code that you can showcase but they did'nt work ... can you please guide me .... i've created this, in folder of contracts (i created utils)> utils(then in utils folder i created this counter.sol file)> Counters.sol and write this code @ title @author @dev library Counters{ struct Counter{ uint256 _value; //default: 0 } function current(Counter storage counter) internal view returns(uint256) { return counter._value; } function increment (Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal{ uint256 value =counter._value; require((value > 0, "Counter:decrement overflow")); unchecked { counter._value = value - 1; } } }
@daulathussain
@daulathussain 6 ай бұрын
You have to use the exact openzippline package version If you use the latest version in that, we don’t have the counter contract You can simply download the start file in that all the versions are provided and simply follow it www.theblockchaincoders.com/sourceCode/ethereum-decentralized-voting-project-source-code
@vikram9547
@vikram9547 2 сағат бұрын
1:31:20 i am unable to upload the css which you have applied in file input.module.css
Complete Web3.0 Project | Build Your First Web3.0 Real World Project
2:21
Voting Project using Solidity | Remix IDE | Smart Contract | Blockchain
19:57
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
Every Minute One Person Is Eliminated
34:46
MrBeast
Рет қаралды 26 МЛН
Build and Deploy a Web 3.0 Cryptocurrency Exchange Decentralized Application
3:20:06
Build Your First Blockchain App Using Ethereum Smart Contracts and Solidity
1:31:07
How To Code Your First Ethereum Smart Contract
19:18
Dapp University
Рет қаралды 187 М.
РОБОТ-ПЫЛЕСОС за 1$ vs 1000$ !
23:02
GoldenBurst
Рет қаралды 258 М.
как тебе будут продавать в 2025
16:22
Тихон Смирнов
Рет қаралды 415 М.
I built my own WEBSITE BUILDER and you can do it too !
6:23
Raj talks tech
Рет қаралды 34 М.