-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configure Webhook Infrastructure for escrow_transactions Event Triggers #98
Comments
Hello SafeTrust maintainers! I am an OnlyDust diamond contributor and I have relevant experience building and testing fullstack web applications. I would like to handle this task and will solve this issue by creating the webhook architecture that will handle various contract event triggers. I will handle errors, retries and logging for better visualization. I will also add unit test suites to ensure proper functionality. I can achieve this in 3 days and am looking forward to contributing to this project! |
I’d love to contribute to this task! With expertise in NestJS, TypeScript, and event-driven systems, I can build a secure, scalable webhook infrastructure with retries, authentication, logging, and error handling. Looking forward to the opportunity! |
Hello @sotoJ24 , I'd like to help implement the webhook infrastructure for escrow transaction events. I have extensive experience with event-driven systems and webhook implementations. What I would be doing in this task involves: Building core webhook functionality: Implementation focus: I can complete this in 2 days: Relevant experience:
i am ready to start immediately and will provide feedbacks as i implement. |
May I take care of this? |
Thank you for assigning. So, how do we handle the data recieved by the webhook specifically the webhook would recieve a data that looks like this {
// Headers above are not shown
"payload": {
"created_at": "<TIMESTAMP>",
"delivery_info": {
"current_retry": "<RETRY_NUMBER>",
"max_retries": "<MAX_RETRIES>"
},
"event": {
"data": {
"new": "<OBJECT_OF_COLUMNS_AND_VALUES>",
"old": "<OBJECT_OF_COLUMNS_AND_VALUES|NULL>"
},
"op": "<INSERT|UPDATE|DELETE|MANUAL>",
"session_variables": {
"x-hasura-role": "<ROLE_NAME>"
},
"trace_context": {
"span_id": "<SPAN_ID>",
"trace_id": "<TRACE_ID>"
}
},
"id": "<UUID_FOR_INVOCATION>",
"table": {
"name": "<TABLE_NAME>",
"schema": "<SCHEMA_NAME>"
},
"trigger": {
"name": "<TRIGGER_NAME>"
}
}
// Version below is not shown
} how do we process the |
Description
Set up the webhook infrastructure for handling escrow_transactions event triggers, including endpoint configuration, retry mechanisms, and error handling.
Requirements
Specific Configuration Tasks
Acceptance Criteria
Technical Implementation Details
Make sure to follow the Git Guidelines for Atomic Commits and read Contributing Guide
The Pull request needs to have the format mentioned below in the Git Guideline
Hasura Event-Triggers Documentation
https://hasura.io/docs/2.0/event-triggers/overview/
The text was updated successfully, but these errors were encountered: