Aug 25, 2017 · 1 min read
Yeah, all you have to do is create a mapping in your contract with voter address =>boolean. Every time someone votes, add their address to that mapping and set the value to true. Before anyone can vote, lookup the mapping to see if they have already voted.
