mining-pool/debug_scripts/socket_io.html
Claude 909bff2dd9
rebrand(lethean): update branding, ports, and config for Lethean blockchain
- Coin: Zano → Lethean, ticker: ZAN/ZANO → LTHN
- Ports: 11211 → 36941 (mainnet RPC), 46941 (testnet RPC)
- Wallet: 11212 → 36944/46944
- Address prefix: iTHN
- URLs: zano.org → lethean.io
- Explorer links: explorer.lthn.io

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-01 22:24:13 +01:00

22 lines
No EOL
889 B
HTML

<html>
<script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/1.7.3/socket.io.min.js"></script>
<script>
// set-up a connection between the client and the server
var socket = io.connect('https://api.pool.lethean.io/');
// let's assume that the client page, once rendered, knows what room it wants to join
socket.on('connect', function() {
// Connected, let's sign-up for to receive messages for this room
socket.emit('room', "pool_stats");
socket.emit('room', "pool_stats_pplns");
socket.emit('room', "pool_stats_solo");
socket.emit('room', "block_update");
socket.emit('room', "address_stats_46XWBqE1iwsVxSDP1qDrxhE1XvsZV6eALG5LwnoMdjbT4GPdy2bZTb99kagzxp2MMjUamTYZ4WgvZdFadvMimTjvR6Gv8hL");
});
socket.on('message', function(data) {
console.log('Incoming message:', data);
});
</script>
</html>