<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="/minos/assets/js/sha256.js"></script>
    <script>
        function readygo() {
            var seed = "j4A0PPOTIMLcExt1";
            var difficulty = 2;
            var target = new Array(difficulty+1).join("0");
            var nonce = 0;
            while (true) {
                var input = seed + nonce;
                var hex = sha256(input);
                if (hex.indexOf(target) === 0) {
                    var xhr = new XMLHttpRequest();
                    xhr.open('POST', '/minos/pow-verify', true);
                    xhr.setRequestHeader('Content-Type', 'application/json');
                    xhr.onreadystatechange = function() {
                        if (xhr.readyState == 4) {
                            if (xhr.status == 200) {
                                location.reload();
                            }
                        }
                    }
                    xhr.send(JSON.stringify({
                        seed: seed,
                        diff: difficulty,
                        hash: hex,
                        sol: nonce,
                        sign: "9cbb2eaa52632c5a34ae0258cb2c486572e8375c267941b5f82df276ec95b2b6"
                    }));
                    break;
                }
                nonce++;
            }
        }
    </script>
</head>
<body onload="readygo()">
正在验证浏览器环境â€?
</body>
</html>