New applications of blockchain technology to voting and lending