Skip to content

feat(multisig): export/import XDR for multisig accounts - #175

Merged
Marvell69 merged 1 commit into
OracleDesk:developfrom
oraimoitel:feat/multisig-xdr-139
Oct 18, 2026
Merged

Marvell69 merged 1 commit into
OracleDesk:developfrom
oraimoitel:feat/multisig-xdr-139

Conversation

@oraimoitel

@oraimoitel oraimoitel commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

Adds explicit multisig path for buy, sell, redeem and USDC transfer: build with 1h window, export XDR, import/merge signatures, weight vs on-ledger med threshold, submit only at threshold.

  • lib/stellar/multisig.ts, extended clients timeout, errors for tx_bad_auth/tx_bad_auth_extra/tx_too_late/tx_bad_seq
  • usePrepareMultisig/useImportMultisig/useSubmitMultisig + sessionStorage persistence + non-invoker detection (empty for current calls)
  • MultisigReview (decoded args, fee/seq/expiry countdown, threshold progress, copy/import/sign/submit)
  • quick-view buy + premium transfer integration with multisig detection + explicit toggle
  • multisig + errors unit tests, manual-test section
  • npm run typecheck, lint (0 errors), test (197 passed) and build pass

closes #139
closes #137
closes #138
closes #140

- Add lib/stellar/multisig.ts (readAccountAuth, requiredThreshold=med, signatureWeight, mergeSigned, session storage, non-invoker detection)
- Extend market clients with timeoutInSeconds (1h multisig window) and never-sign dummy builder
- Add usePrepareMultisig/useImportMultisig/useSubmitMultisig + useAccountAuth with sequence/expiry/threshold guards
- Add MultisigReview (decoded args, fee/seq/expiry countdown, threshold progress, copy/import/sign/submit)
- Wire quick-view buy + premium USDC transfer for multisig detection and explicit toggle
- Map tx_bad_auth/tx_bad_auth_extra/tx_too_late/tx_bad_seq with user copy
- Tests for multisig + errors, manual-test multisig section

closes OracleDesk#139
@drips-wave

drips-wave Bot commented Oct 18, 2026

Copy link
Copy Markdown

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

@vercel

vercel Bot commented Oct 18, 2026

Copy link
Copy Markdown

@oraimoitel is attempting to deploy a commit to the Marvel's projects Team on Vercel.

A member of the Team first needs to authorize it.

@Marvell69
Marvell69 merged commit b31c8ca into OracleDesk:develop Oct 18, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants