4

Looking at the XDR spec there is only one signer allowed per transaction.

Is there a reason for it, or there is a way to add multiple signers atomically?

I am working on a new command line interface for Stellar (BB-8) and would like stay as close to XDR as possible, but also to have friendly human API.

1 Answer 1

2

You are looking at the SetOptionsOp, that's an operation contract. A transaction can include up to 100 operations (this constant may be changed in the future). Therefore you can atomically add up to 100 signers.

2
  • ah.. makes sense. just to confirm, does it mean that "setOptions" is yet another "operation" that can be called upto 100 times, and hence the "append" here?
    – tolitius
    Commented Feb 5, 2018 at 16:56
  • Yes, "setOptions" is one of the operations and transaction may contain up to 100 operations.
    – Orbit Lens
    Commented Feb 5, 2018 at 19:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.