Giter Club home page Giter Club logo

wec_recruitment_blockchain's Introduction

Wec Recruitment Blockchain Task

This is written in the solidity language and tested using the Remix IDE. Implemented a blockchain-based election using smart contract.

This election has various features to conduct an election with utmost security. The features of this election are:

  1. Admin sets the duration for voting.
  2. Multiple elections can happen for different posts at the same time.
  3. Every candidate can contest/apply for the posts for different elections based on criteria given by admin.
  4. Voters can vote once in each election.
  5. Every user can view the candidate that has won the election after it has been concluded.

Functions used:

  1. candidate_apply(): Candidates have to apply using this external function with their address. This helps the candidate to give an entry for the post he is applying for. Further, he is also added to the list of candidates contesting for that particular post.
  2. add_organiser(): This function adds an organiser to the org_map using its address.
  3. assign_org(): The admin has the power to assign an organisation.
  4. accept_candidate(): The admin accepts the candidate after looking at his application.
  5. reject_candidate(): The admin rejects the candidate after looking at his application.
  6. vote(): Here, the voters have the ability to vote for a preferred candidate.
  7. post_winner(): Displays the winner of a post after election has been concluded.

wec_recruitment_blockchain's People

Contributors

hanumavamsi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.