Skip to content

Added basic contract and functions to call the network from browser#2

Open
rakaar wants to merge 1 commit intoAviBomb:masterfrom
rakaar:solidity
Open

Added basic contract and functions to call the network from browser#2
rakaar wants to merge 1 commit intoAviBomb:masterfrom
rakaar:solidity

Conversation

@rakaar
Copy link

@rakaar rakaar commented Dec 9, 2019

Made a separate folder by name eth to handle the blockchain. The folder has a node js server inside. The server has been used to install the required packages solidity and web3. Instead of using the same server for authentication and blockchain as it would be easier to handle these logical components separately.
The Voting.sol contains the contract, with three main functions handling the voting process right now.
The Voting.js is responsible for sending the votes from browser to blockchain and also to get the number of votes secured.

However, the Voting.js needs to be integrated with the web app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments