Git Product home page Git Product logo

blockchain-voting-dapp's Introduction

Ethereum voting dapp

Dependencies:

Setup

npm install -g truffle
git clone [email protected]:naz46/blockchain-voting-dapp.git
cd blockchain-voting-dapp
npm install
npm run dev
In the other tab run 'truffle deploy --reset --network development'

Important Steps

  • Install Ganache and add a new workspace like this

    • the name should be 'development'
    • add truffle.js from the repo
    Screen Shot 2021-04-04 at 00 01 37
  • Address information must be entered as a new Ethereum network after the installation of Metamask. You can find the address details in the truffle.js.

image27

  • An account needs to be added to the Ethereum network. This process is done with the test accounts given by Ganache so that the application can be tested. For the process of adding, it is necessary to click on the "import account" section in Figure 4.16 and enter the private key. Thus, the voting web page is never aware of your identity. Then connect the account to the web page. image20 image28

aa

  • If you have any trouble stop all the servers, disconnect the account from the web page and reset the caches of the page.

screen shot 2018-06-16 at 23 11 17

screen shot 2018-06-16 at 23 10 18

blockchain-voting-dapp's People

Contributors

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