Skip to content

Conversation

@dkackman
Copy link
Collaborator

@dkackman dkackman commented Oct 5, 2025

fix #628

To start testharness (https://github.com/dkackman/webhook_testharness):

create a .env file in the webhook_testharness folder with two entries:

CLIENT_CERT_PATH=/Users/<USER NAME>/Library/Application Support/com.rigidnetwork.sage/ssl/wallet.crt
CLIENT_KEY_PATH=/Users/<USER NAME>/Library/Application Support/com.rigidnetwork.sage/ssl/wallet.key

open browser at http://localhost:3000

After sage is running press Register Webhook button. Wait for events to stream from sage, to the server, to the browser.

@dkackman dkackman marked this pull request as draft October 5, 2025 01:00
dkackman and others added 26 commits October 5, 2025 11:07
add get and update rpc methods
- reduce HTTP timeout to 5 seconds
- track consecutive failures per webhook
- auto-disable webhook after 5 consecutive failures

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- reset consecutive_failures when re-enabling a webhook
- add Switch toggle to webhook UI for enable/disable
- show "Auto-disabled" status for webhooks disabled by failures
- display consecutive failure count in webhook details

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- separate transaction_updated, offer_updated, coins_updated events
- include next_index in derivation event
- include transaction_id in transaction_updated event
- include offer_id and status in offer_updated event

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Webhook for events and database table for transaction results

1 participant