GithubHelp home page GithubHelp logo

gonzalofuentes / election-dapp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from amartinezsaucedo/election-dapp

0.0 0.0 0.0 340 KB

License: MIT License

Solidity 0.46% JavaScript 98.93% HTML 0.61%

election-dapp's Introduction

Election Dapp

Development dependencies

Configuration

Ganache

After installing, create a new workspace by clicking on "Quickstart Ethereum".

Metamask

Once you've added Metamask plugin to your browser:

  1. Create a new wallet and set a password.
  2. Click on your account picture and select the "Import account" option.
  3. To import an account choose one from Ganache and click on "Show keys". Copy the private key to use it on Metamask.
  4. Under "Main Ethereum Network" click on "Custom RCP" to add our local RCP server.
  5. Go to Ganache, copy the RCP server address and paste it on "New RCP URL". Set a network name and save.

Run locally

Install

$ npm install

Migrate contracts

$ truffle migrate --reset

Run

$ npm run dev

Run tests

$ truffle test

election-dapp's People

Contributors

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