This is an excerpt from Manning's book Blockchain in Action. Login to get full access to this book.
Now it’s time to add the smart contract. The Solidity contract in this case is Ballot.sol from listing 4.1. Run the following commands to navigate to the contracts directory:
Figure 8.21 Worker interaction with single cumulative micropayment