Skip to content

Lease Coordination Worker for Automated Initialization (#13)#63

Merged
elizabetheonoja-art merged 2 commits intoLeaseFlow-Protocol:mainfrom
kryputh:feat/lease-coordination-worker
Mar 24, 2026
Merged

Lease Coordination Worker for Automated Initialization (#13)#63
elizabetheonoja-art merged 2 commits intoLeaseFlow-Protocol:mainfrom
kryputh:feat/lease-coordination-worker

Conversation

@kryputh
Copy link
Copy Markdown
Contributor

@kryputh kryputh commented Mar 24, 2026

This PR implements the coordination worker required for issue #13.

Key Features:

  • Backend worker to monitor signing states.
  • API endpoint /sign-lease to collect landlord and tenant signatures.
  • Automated triggering of initialize_lease on Soroban when BOTH parties have signed.
  • Prevention of "Ghost Leases" by ensuring on-chain state only exists when legal signatures are collected.

Tests:

  • Unit tests for coordination logic (waiting for multiple signatures).
  • API integration check for project status.

Closes #13

@drips-wave
Copy link
Copy Markdown

drips-wave bot commented Mar 24, 2026

@kryputh 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

@elizabetheonoja-art elizabetheonoja-art merged commit 2e42e20 into LeaseFlow-Protocol:main Mar 24, 2026
1 check failed
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.

#13 Implement Multi-Signature_Lease_Execution_Worker

2 participants