flowersnlyrics / butterfly_ballot

a repo for team butterfly ballot final project
0 stars 0 forks source link

Researching private network #3

Open flowersnlyrics opened 5 years ago

EliseNoelle commented 5 years ago

Informational Articles

Tutorial on how to create your own private blockchain network:

https://medium.com/mercuryprotocol/how-to-create-your-own-private-ethereum-blockchain-dad6af82fc9f

Tutorial on how to create a smart contract on a private blockchain network:

https://hackernoon.com/set-up-a-private-ethereum-blockchain-and-deploy-your-first-solidity-smart-contract-on-the-caa8334c343d

Applications to Voting Machine

  1. One idea is to have 2 nodes running on the beagleboard. We can use one node to input a vote into the blockchain, and then we can extract the inputted vote from the blockchain on the other node.

  2. Another idea is to represent each vote with a set amount of ether. Each candidate could have a node representing it. When someone votes for a candidate, the vote receive node will send a set amount of ether to the candidate's node. Somehow we would need to extract the number of votes for each candidate, and pool those votes together. From a system architecture standpoint, this could work but might be unnecessarily complex.

EliseNoelle commented 5 years ago

Truffle repo mentioned in 2nd tutorial: https://github.com/trufflesuite/truffle