theblockchainchief / web3-hub

Ready to use smart contracts and web3 scripts to ease your Blockchain Development
20 stars 19 forks source link

Adding smart contract for voting dapp #5

Closed gurusinb closed 2 years ago

gurusinb commented 2 years ago

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes # (issue)

What features have been added or changed/Fixed(In Points)(Required)

-

Blockchain this work is compatible with(Required)

Type of change(Required)

Please delete options that are not relevant.

Checklist(Required):

Output Screenshots(Required)

mbcse commented 2 years ago

@gurusinb Please fill the pull request template and also make an issue for this and link that issue here

mbcse commented 2 years ago

@gurusinb The contract is also not perfect and does not include all functions. Please solve the issues I have raised and complete the contract into a fully implementable election contract

gurusinb commented 2 years ago

What other functions are required? Please help.

mbcse commented 2 years ago

What other functions are required? Please help.

Functions like banning candidates, adding voting period, not allowing contract address to vote, etc. You can search for multiple implementations of election contracts on internet, club them and make a single all rounder one