Skip to content

feat(#549): add EscrowVaultManager for escrow vault payment lifecycle - #598

Merged
Kingsman-99 merged 2 commits into
Stellar-split:mainfrom
Ebuka042-pixel:feature/549-escrow-vault-manager
Jul 30, 2026
Merged

feat(#549): add EscrowVaultManager for escrow vault payment lifecycle#598
Kingsman-99 merged 2 commits into
Stellar-split:mainfrom
Ebuka042-pixel:feature/549-escrow-vault-manager

Conversation

@Ebuka042-pixel

Copy link
Copy Markdown
Contributor
  • Add src/escrowVaultManager.ts with EscrowVaultManager class
    • create(invoiceId, amount, asset, holdUntil, sourceSecret) creates claimable balance with time-lock predicate
    • release(vaultId, recipientId, signerSecret) claims balance post-hold
    • getStatus(vaultId) returns holding | released | expired
    • Emits escrowFunded, escrowReleased, escrowExpired events
    • Polls for expiry via configurable interval (default 30s)
  • Add EscrowVault, EscrowStatus, EscrowReleaseCondition to src/types.ts
  • Add confirmDelivery() method to StellarSplitClient in src/client.ts
  • Export from src/index.ts
  • Add unit tests in test/escrowVaultManager.test.ts
    closes Escrow Vault Payment Manager #549

…ent lifecycle

- Add src/escrowVaultManager.ts with EscrowVaultManager class
  - create(invoiceId, amount, asset, holdUntil, sourceSecret)
    creates claimable balance with time-lock predicate
  - release(vaultId, recipientId, signerSecret) claims balance post-hold
  - getStatus(vaultId) returns holding | released | expired
  - Emits escrowFunded, escrowReleased, escrowExpired events
  - Polls for expiry via configurable interval (default 30s)
- Add EscrowVault, EscrowStatus, EscrowReleaseCondition to src/types.ts
- Add confirmDelivery() method to StellarSplitClient in src/client.ts
- Export from src/index.ts
- Add unit tests in test/escrowVaultManager.test.ts
@drips-wave

drips-wave Bot commented Jul 30, 2026

Copy link
Copy Markdown

@Ebuka042-pixel 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

@Kingsman-99
Kingsman-99 merged commit a880668 into Stellar-split:main Jul 30, 2026
2 checks 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.

Escrow Vault Payment Manager

2 participants