GithubHelp home page GithubHelp logo

pfdc1-blockvote's Introduction

BlockVote ๐Ÿค๐Ÿป

BlockVote is a blockchain based election system which lets voters elect candidate in an election.

Technology Stack ๐ŸŽจ

  1. BootStrap
  2. Truffle
  3. Ganache

How to use it? ๐ŸŽ‰

Make Sure that you've Truffle and Ganache installed

  1. Clone the repo: git clone https://github.com/iSumitBanik/BlockVote.git

  2. Navigate to the folder: cd BlockVote

  3. Install dependencies: npm install along with ganache-cli installing using the command npm install ganache-cli -g

  4. Open a new terminal window and run ganache-cli command, keep it running in the background. 4.1 On another window,run the deploy contract using: truffle migrate --reset

  5. Spin up the Blockvote application by running: npm run dev

  6. To Cast Vote,

    6.1 First Connect to localhost:8545 network in Metamask.

    6.2 Secondly, copy one of the private key from the Ganache cli console and import it in the Metamask account section.

    6.3 You should see 99-100 ETH in your address once you import it.

    6.4 Manually connect Metamask to the cast vote page by clicking on the Not Connected option which is shown left side of your address.

    6.5 Once it shows connected, you can successfully cast your vote.

pfdc1-blockvote's People

Contributors

0xsumitbanik avatar dependabot[bot] avatar groverongo avatar sebastianknell avatar

Watchers

grobereiner 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.