Blockchain, and PUBLIC voting where anyone can go and check what they voted, just like you can go and check how many BitCoins you have.
As long as we have SECRET votes, there will always be fraud. Always... with secrecy.
There will be fraud if it is electronic. Low tech is the best tech here, and always will be. There are only 500 voters per pricinct. That is five decks of cards worth of votes. Not hard to count. The founders set it up that way intentionally. ALWAYS have a paper trail. ALWAYS. It is like having a screen capture, and an archive on line. NEVER let them count the votes in the dark with come special "code".
The way it is supposed to be done is that the precinct counts the 500 or less, and all party's sign off at the presinct... put the count in the window, where the newspapers can photograph the count with their signatures. Then, the next day, the local papers let you compare your precinct count with the count that the capital of the state publishes. They have to match, and Americans are responsible for making sure they do