Cracking the code on cryptocurrency