A toolkit for building Bitcoin-like systems on the JVM