Skip to content

feat(stellar): add batch transaction builder#159

Open
pharwasz wants to merge 3 commits into
wraith-protocol:developfrom
pharwasz:feat/stellar-batch-send-tx-builder-clean
Open

feat(stellar): add batch transaction builder#159
pharwasz wants to merge 3 commits into
wraith-protocol:developfrom
pharwasz:feat/stellar-batch-send-tx-builder-clean

Conversation

@pharwasz

@pharwasz pharwasz commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

Closes #139


## Summary

Implements a Stellar batch transaction builder for stealth payments.

Changes

  • Added buildBatchSendTx() for constructing multi-recipient Stellar transactions.

  • Added fee scaling based on operation count.

  • Added configurable operation-count limit with descriptive validation errors.

  • Added threshold logic for future stealth-batch-sender contract integration.

  • Returns transactions ready for external signature collection.

  • Added test coverage for:

    • Single recipient
    • 5 recipients
    • 20 recipients
    • Operation limit validation
    • Threshold crossover behavior

Notes

  • The stealth-batch-sender integration is intentionally stubbed until the contract is available.
  • The threshold selection logic is implemented and covered by tests.

@drips-wave

drips-wave Bot commented Jul 25, 2026

Copy link
Copy Markdown

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

@pharwasz

Copy link
Copy Markdown
Contributor Author

hi there, can you please confirm this PR and approve

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.

Batch send transaction builder (splitter shape)

1 participant