Demo file that will be used to demonstrate the Voter.
INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS
The task is to create:
- Voter.ts: Demo file that will be used to demonstrate the Voter. The main task will be to show how the voter can vote and how the validator will create the hash and submit the hash to the ESG contract. The ABI needed by this Demo file is the ESG.sol ABI.
- Investor.ts: Just a simple file that shows how the signed hash in the blockchain can be used to see if a file have been modified. Can either use a database like sqlite to store the hash and public key or use the ESG contract ABI to get the public key and signed hash directly from the blockchain