I'll first review code voters and weighted voters, and I'll then explain how to put the two together.
Code Voters
OpaVote currently has two types of voters: email voters and code voters. For email voters, the election manager uploads a list of email addresses, and OpaVote sends each voter an email with a special voting link to allow that person to vote.Code voters work differently. The election manager inputs only the number of code voters. OpaVote then provides the election manager with a list of secret voting codes. It is the job of the election manager to distribute the codes to the voters. The code voters then go to the voting page and enter their code so that they can access their ballot.