Skip to content

Soroban Contract Sync System#138

Merged
SudiptaPaul-31 merged 1 commit into
Lumina-eX:mainfrom
deslawson:main
Jun 27, 2026
Merged

Soroban Contract Sync System#138
SudiptaPaul-31 merged 1 commit into
Lumina-eX:mainfrom
deslawson:main

Conversation

@deslawson

Copy link
Copy Markdown
Contributor

Polls Soroban RPC for on-chain escrow events (init, fund, submit, approve, confirm, release, refund, dispute, resolve, expire), maps them to database status updates via a pure function, and applies them through an in-memory retry queue with exponential backoff (max 5 retries, dead letter after exhaustion). Includes a standalone worker (scripts/sync-worker.ts), an audited contract_sync_log table, a REST API for log inspection (GET /api/contracts/sync-logs), and 36 passing tests across 4 test files.

Closes #127

Polls Soroban RPC for on-chain escrow events (init, fund, submit, approve, confirm, release, refund, dispute, resolve, expire), maps them to database status updates via a pure function, and applies them through an in-memory retry queue with exponential backoff (max 5 retries, dead letter after exhaustion). Includes a standalone worker (scripts/sync-worker.ts), an audited contract_sync_log table, a REST API for log inspection (GET /api/contracts/sync-logs), and 36 passing tests across 4 test files.

Closes Lumina-eX#127
@drips-wave

drips-wave Bot commented Jun 27, 2026

Copy link
Copy Markdown

@deslawson Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@SudiptaPaul-31 SudiptaPaul-31 merged commit c336a6e into Lumina-eX:main Jun 27, 2026
1 check passed
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.

[Feature]: On-Chain Contract Status Synchronization

2 participants