A mobile wallet for bitcoins and colored coins