Could anyone point me in the right direction or help me to create a voting contract in Marlowe?
The ballot should have 4 public addresses. (candidates)
You can only send 1 value (ADA?) to one of the given public addresses.
The plan outside the contract.
Users will log in to dapp trough government OAuth.
This way the get unique voterID from the government.
Not sure should we make a wallet for the user, but in the dapp, they will opt to vote for one of the 4 candidates.
I assume later we can search for the smart contract and count all the transactions done through it.
Tried blocky first time: