Implement wallet voting algorithm