Skip to content

rebeccasoren/PollSolidity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Polling Application

Version

A solidity smart contract for a Polling system. Click here for the deployed application

Prerequisites

Metamask extension with ether is required to interact with the contract. Ensure your Metamask account is pointing to the Rinkeby Testnet and is connected to the website (may need to do this manually! Find 'connected sites' option)

Contract Details

The current version of the contract is deployed by account 0x69aED79C0D76D38e8C8D173ccdb3EE9ddb6856ae to 0x405aeE0836fcC5c7EEF08D4061934c77E3AF460E on the Rinkeby Test Network.

To redeploy the Contract

A new instance of the contract will be created from your account

Switch to ./ethereum. Run node compile.js then node deploy.js. Copy the address that contract is deployed to from the terminal and paste it in ethereum/poll.js

Testing

Run npm run test to test out the contract