You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We just talked about this, and it probably makes more sense to have 1 global webhook that listens to all global Approval events. Then on our service we can check if any of the involved addresses belongs to our subscribers. If so we'll have to send an email.
Besides using an Alchemy webhook, we could also look into using a "regular" RPC to listen for events, but Alchemy webhooks are probably easiest to start with.
@rkalis and I tested the system and we figured out that email is not the way to go here.
Sending emails as Revoke will open up a lot of possibilities for scammers. If you look at our email template below, you will see why :)
So we discussed this problem. And basically, the problem we want to solve is as follows.
We want to send transaction messages to users in a way that makes it possible for the user to validate that Revoke actually is the sender.
To address this, we can use the Discord server of Revoke by creating a private channel for each user that signs up for the notifications. This channel will only be visible to that user. Using Revoke's server will make it possible for a user to check if it's really Revoke.
Additionally, we could introduce multiple secret channels labeled by transaction topics, such as weekly_summary or set_approval. What’s cool about this approach is that a user can simply mute the topics they are not interested in.
We want to build a notification feature where users can receive transactional emails about new allowances that are being made.
Right now we want to keep this system as simple as possible. So we only send an email when an Approval is made.
Subscribe user
Sign in with Ethereum
Prompt the user for their mail address.
We create an Alchemy webhook for the user's address
GraphQL query will look something like this
When an Approval event is sent by the webhook we need to process this.
Unsubscribe user
The text was updated successfully, but these errors were encountered: