You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Document using a different source account for an operation that is different from the parent transaction envelope account #1022
It is my present understanding of the Docs that there is not a source of reference detailing how operations can have a source account different than that of the parent transaction envelope. In re #1011, might we clarify explicitly how default source account overrides work for new users?
What would you like to see?
Explain how each transaction's operation can have it's own source, unique from an envelope source. 💌 Ideally, provide a few code examples showing some very basic applications. Materially, the signature implications ought be extensively detailed per key custody implications.
What alternatives are there? 💭
We could require new users to learn all this when they start messing around with the Lab, but that may not be ideal. Namely, a new developer could confuse transaction and operation source accounts in re set ops functions which lock an account, potentially through no fault of their own. 🔐 A brief and informative explanation here could greatly protect newcomers.
changed the title [-]🤔 Detail how sources wrap[/-][+]Document using a different source account for an operation that is different from the parent transaction envelope account[/+]on Feb 19, 2025
The gap is still open. The docs cover this in two thin sentences:
Operations and Transactions says "unless an operation override is defined". The term is never defined.
List of Operations says the parameter is optional and falls back to the transaction.
Neither one explains the signature or the custody effect. @anataliocs opened #1301 for this. It closed unmerged as a draft in March 2025, so nobody holds this work now.
I checked the protocol, so the content is ready to write. Each operation carries an optional sourceAccount. Stellar Core checks each operation threshold against that operation's own source account. The fee and the sequence number always come from the transaction source account.
Decision needed: should the bot write this content now, and where should it live?
A new page under Transactions, as @ElliotFriend proposed. It needs a name. "Signatures" clashes with the existing "Signatures and Multisig" page. A new page also fixes a URL forever.
A new section on the existing Operations and Transactions page. This adds no new URL. It replaces the undefined "operation override" sentence.
Leave it for a newcomer. The issue is labeled good first issue. The scope asked for here is larger than that label suggests.
#2867 replaces the undefined "operation override" wording on Operations and Transactions with a short explanation. It says each operation can have its own source account, that this account's signers must authorize the operation (with setOptions as the example), and that the transaction's source account still provides the sequence number and the fee.
We're keeping this issue open for the code example you asked for, which we'll add in a follow-up PR.
Thanks. #2867 settles where this lives: the Operations and Transactions page. I checked the merged paragraph against the protocol, and it is correct.
Decision needed: should the bot write the follow-up code example PR, or leave it to a newcomer?
The bot writes it. It adds one short example to the Operations and Transactions page: a transaction whose operation uses a different source account, signed by both accounts.
The bot writes a smaller PR. It links the examples the docs already have: Channel accounts and Sponsored reserves both set a per-operation source.
Leave it to a newcomer. The issue keeps its good first issue label, and the bot does nothing.
Activity
ElliotFriend commentedon Jan 28, 2025
It looks like the existing documentation is sparse for this:
I think a "sister page" under this category might be a good fit? Maybe it could be called "Signatures" although that might be too "generic"?
I really like what you propose @JFWooten4 about a clear explanation, and some really basic examples to illustrate those.
[-]🤔 Detail how sources wrap[/-][+]Document using a different source account for an operation that is different from the parent transaction envelope account[/+]anataliocs commentedon Feb 25, 2025
In-progress PR: #1301
gre3n3yes34 commentedon May 10, 2025
3 remaining items
📝 Update Glossary reference page pt1 (#2405)
📝 Update Glossary reference page pt1 (stellar#2405)
kaankacar commentedon Sep 7, 2026
Triage bot, acting for @kaankacar.
I am reading this issue now. I will report what I find.
kaankacar commentedon Sep 7, 2026
Triage bot, acting for @kaankacar.
The gap is still open. The docs cover this in two thin sentences:
Neither one explains the signature or the custody effect. @anataliocs opened #1301 for this. It closed unmerged as a draft in March 2025, so nobody holds this work now.
I checked the protocol, so the content is ready to write. Each operation carries an optional
sourceAccount. Stellar Core checks each operation threshold against that operation's own source account. The fee and the sequence number always come from the transaction source account.Decision needed: should the bot write this content now, and where should it live?
good first issue. The scope asked for here is larger than that label suggests.@kaankacar @ElliotFriend please pick one.
docs: explain what an operation's source account controls
ElliotFriend commentedon Nov 10, 2026
#2867 replaces the undefined "operation override" wording on Operations and Transactions with a short explanation. It says each operation can have its own source account, that this account's signers must authorize the operation (with
setOptionsas the example), and that the transaction's source account still provides the sequence number and the fee.We're keeping this issue open for the code example you asked for, which we'll add in a follow-up PR.
docs: clarify operation-level source account override (stellar#2867)
stellar-doxie commentedon Nov 10, 2026
🤖 Automated message from the Stellar Triage Bot.
Back on this because @ElliotFriend replied.
Thanks. #2867 settles where this lives: the Operations and Transactions page. I checked the merged paragraph against the protocol, and it is correct.
Decision needed: should the bot write the follow-up code example PR, or leave it to a newcomer?
source.good first issuelabel, and the bot does nothing.@kaankacar @ElliotFriend please pick one.