Skip to content

Implement backend-backed MultiSigStateStore for cross-process signer coordination #83

Closed

Description

@bbjiggy

Description

Follow-up from the #79 spike (see docs/spikes/issue-79-retry-session-multisig.md).

MultiSigEscrowClient keeps operation state in an in-memory Map, scoped to one process. Per the
README, signers are expected to submit their signed XDR independently, which requires state
visible across processes. The spike defined the target abstraction, MultiSigStateStore (in
src/types/multisig.ts), and added exportState/importState as a non-breaking stopgap, but did
not implement a real backend-backed store since that requires new backend endpoints.

Proposal

  1. Add backend REST endpoints for multisig operations: create, add-signature, get-status
    (mirroring the current MultiSigEscrowClient sync methods), authorized via the existing
    auth/session token.
  2. Implement MultiSigStateStore in the SDK against those endpoints.
  3. Wire it into MultiSigEscrowClient as an injectable store (defaulting to the current in-memory
    Map for local/offline use).

Note

Every MultiSigEscrowClient method is currently synchronous. Wiring in an async store is a
breaking API change (methods become Promise-returning) and should ship behind a major version
bump, with the sync in-memory path kept available for local testing.

Acceptance Criteria

  • Backend multisig-operation endpoints exist and are documented
  • SDK MultiSigStateStore implementation against those endpoints
  • MultiSigEscrowClient accepts an injectable store (async), default remains in-memory
  • Migration notes for the breaking (sync -> async) API change

Activity

  1. added
    Stellar Wave
    on Aug 27, 2026
  2. lockoabosede8-byte commented on Aug 27, 2026

    @lockoabosede8-byte

    @lockoabosede8-byte has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    I would like to work on this issue.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @lockoabosede8-byte to this issue.

  3. oluwagbemigaphilip commented on Aug 27, 2026

    @oluwagbemigaphilip
    Contributor

    @oluwagbemigaphilip has applied to work on this issue as part of the Stellar Wave Program's 8th wave.

    Please kindly assign me, will do a perfect job to this

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @oluwagbemigaphilip to this issue.

  4. drips-wave commented on Aug 27, 2026

    @drips-wave

    Congratulations, @oluwagbemigaphilip! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on August 31, 2026.

    🧑‍💻 @oluwagbemigaphilip: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.

    Warning

    When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.

    🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.

    🌊 Happy Wave 🌊

  5. added a commit that references this issue on Aug 27, 2026
    a677749
  6. drips-wave commented on Aug 27, 2026

    @drips-wave

    This issue has been completed by @oluwagbemigaphilip as part of the Stellar Wave Program's 8th Wave 🥳

    😎 @oluwagbemigaphilip: You earned 200 Points for completing this issue! After the current Wave ends, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.

    🧑‍💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Stellar Wave

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions