substreams-sink-websockets
v0.1.4
Published
Substreams Sink Websockets
Downloads
6
Readme
Substreams
Sink WebSockets
substreams-sink-websockets
is a tool that allows developers to pipe data extracted from a blockchain to WebSockets.
Requirements
Quickstart
$ bunx substreams-sink-websockets
.env
Environment variables
PORT=3000
PUBLIC_KEY=...
📖 References
Features
- [x] Accept Substreams Webhook message
POST /
- [x] Client connect to WebSocket service
- [x] Verify tweetnacl Substreams Webhook message
- [x] Send WebSocket messages
- [x] Unit testing
- [x] Prometheus Metrics
GET /metrics
- [x] Health check
GET /health
- [x] Banner
GET /
- [ ] Commander CLI