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.exampletowrangler.toml. -
Configure secrets:
echo <VALUE> | npx wrangler secret put WEBHOOK_SECRETwrangler dev
# OR
npm run startwrangler publish
# OR
npm run deploy