Damus
Super Testnet · 2w
A few services make data from bitcoin's p2p layer *available* to browsers, e.g. block explorers, some electrum servers (including esplora servers), and block-dn. But it'd be great if browsers could ta...
Super Testnet profile picture
On that note, did you know the websocat tool can expose any TCP port (including bitcoin's) as if it was a websocket port? Yep! It's got a built-in converter that will do the websocket handshake and then directly pipe TCP data to the browser. Consider running it on your node!
1
Super Testnet · 2w
I'd love it if people started doing that and then a directory of websocket-compatible bitcoin nodes was created. Maybe they could signal on nostr. Or even signal on bitcoin's p2p layer, using service bits. It's possible to make bitcoin's p2p layer web-friendly - but it takes work