A Cloudflare Worker that forwards events from the indexer to the inbox. An event may trigger a notification to be sent to multiple addresses; this notifier acts as a middleman between the indexer and the inbox, and is responsible for determining which addresses should receive notifications.
Used template for Cosmos wallet authentication to authenticate requests via a Cosmos wallet signature.
npm run dev
# OR
wrangler dev --local --persist
-
Copy
wrangler.toml.example
towrangler.toml
. -
Configure secrets:
echo <VALUE> | npx wrangler secret put NOTIFY_SECRET
echo <VALUE> | npx wrangler secret put INBOX_SECRET
wrangler publish
# OR
npm run deploy