random-ethereum-scanner/index.html

20 lines
707 B
HTML

<html>
<head>
<title>Random Ethereum Scanner</title>
</head>
<body>
Addresses Scanned: <span id="scanned">0</span> <br>
Balances Found: <span id="balances">0</span>
<script>
setInterval(()=>{
fetch('/stats')
.then(response => response.json())
.then(response => {
document.getElementById('scanned').innerHTML = response["count"]
document.getElementById('balances').innerHTML = response["balancesFound"]
})
}, 500)
// document.getElementById('scanned').innerHTML( )
</script>
</body>
</html>