A Cloudflare Worker that uses Durable Objects to serve WebSockets that forward indexer webhook data to connected clients.
This is used to refresh the UI when data changes.
-
Copy
wrangler.toml.example
towrangler.toml
. -
Configure secrets:
echo <VALUE> | npx wrangler secret put WEBHOOK_SECRET
wrangler dev
# OR
npm run start
wrangler publish
# OR
npm run deploy