feat(stellar): Add stealth-batch-sender Soroban contract (#47)#79
Merged
truthixify merged 2 commits intoJun 24, 2026
Merged
Conversation
…l#47 chore: register stealth-batch-sender in workspace
|
@cokehill 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! 🚀 |
Contributor
|
Just one conflict in git fetch origin
git rebase origin/develop
git push --force-with-leaseKeep both: develop's existing members plus your new |
Contributor
Author
|
resolved |
5 tasks
Contributor
|
Clean merge after rebase. New |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #47
Implements
stealth-batch-sender— a new Soroban crate that sends tokensto N pre-computed stealth addresses atomically in one transaction, matching
the EVM
WraithSender.batchSendETH/batchSendERC20functionality.What's in this PR
contracts/stellar/stealth-batch-sender/batch_send(from, transfers: Vec<Transfer>, asset)entrypointTransfercarriesstealth_address,ephemeral_pub_key,amountfrom.require_auth()covers the entire batchANNOUNCEevent + batch-levelBATCHsummary eventMAX_BATCH_SIZE = 100(justified: ~50M instructions vs ~100M budget)max_batch_size()read-only query for SDK/UI consumersTests
max_batch_size()returns 100Resource budget comparison vs N individual stealth-sender calls
Batch is significantly more efficient due to single auth and single
transaction envelope.
Follow-up issues to file (as noted in acceptance criteria)
buildBatchSendStellarbuilder function