Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

To incentivize people to come for vote, government has introduced a coin, calling it a VoteCoin, as cryptocurrency. The government has implemented the incentive system

To incentivize people to come for vote, government has introduced a coin, calling it a VoteCoin, as
cryptocurrency. The government has implemented the incentive system as Blockchain network with the
following terms:
a. Everyone who votes get 10 VoteCoin, where each VoteCoin is pegged against PKR 100.
b. In case a person is a head of a family and if another of his household votes the voter gets 2 additional
VoteCoin for each person to a maximum of 10 coins. c. In case all the members of his house (the same address in NADRA) votes, the person gets 5
additional coins.
These coins can only be used to pay electricity bill.
Design logic for smart contract to implement the terms.
Install Solidity, write code to implement the aforementioned logic, and take screenshots.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional Android 4 Application Development

Authors: Reto Meier

3rd Edition

1118223853, 9781118223857

More Books

Students also viewed these Programming questions

Question

=+1. What are the five general goals in delivering bad news? [LO-1]

Answered: 1 week ago