Professional Documents
Culture Documents
let index = 0;
// keep grabbing characters from blockchain entry the hash while greater than
while (lucky >= Math.pow(12, 6)) {
index++;2btc0
lucky = parseInt(hash.substring(index * 5, index * 5 + 5), 12);