/dapp-blockchain

ADI Blockchain

Primary LanguageHTML

DApp-Blockchain

On this project we deploy an ethereum network in which the nodes are built on Kubernetes containers. This network can be used with any kind of DApp that can be ran on a private blockchain. We have implemented a Poll DApp in which there are several functionalities discussed below.

Any user(node) of the blockchain will be able to create a Poll given the name of the poll. Only the owner (creator) of a poll will be able to add candidates and advance the state of the poll.

Polls will have different states such as open for registration, closed registration, voting stage and vote counting stage.

During voting stage any user will be able to submit their vote. A user may only vote once in a poll, exclusively to an existent candidate.

Our Kubernetes + Geth network is based on the works at: ethereum-poa-clique-kubernetes-template

In order to deploy the Kubernetes + Ethereum Network :

$ ./server.py

or

$ python3 server.py

Poll DApp may be ran through:

$ python3 -m src.user_interface

Requirements

To execute the DApp the following software must be installed:

Other requirements are specified in Poll-dapp/requirements.txt

Default accounts:

  • 0xC11Ba4c7C24f70e7A581C7DAA92EAc108099aCEC
  • 0x4C92786B90D848eAA3f4EF46918af724A309Ae79

Authors

  • Javier Plata
  • Eduardo Eiroa
  • Elena Hervás
  • Pablo Toledano
  • Enrique Cepeda
  • Elena Ruiz