Skip to content

Conversation

@sapience
Copy link
Collaborator

@sapience sapience commented Oct 2, 2025

Add Stellar Support to MPC & Refactor Message Signing

Key Changes

New unified message signer (packages/utils/src/crypto/create-message-signer.ts):

  • Created flexible factory function that adapts different wallet signing interfaces to a common MessageSigner interface
  • EVM signers: Support both signMessageAsync({ message }) and signMessage(message) methods with runtime detection
  • XRPL signers: Handle nested response structure (result.result.signedMessage)
  • NEAR signers: Extract signedMessage from response
  • Stellar signers: Convert base64 signatures to hex format

Architecture improvements:

  • Moved signature verification logic from @core to utils package for better reusability
  • Refactored MPC signers to use the new unified interface
  • Performance optimization: signer capabilities detected once at creation time rather than on every call

Stellar wallet integration:

  • Added Stellar support to MPC client
  • Updated dependencies to Stellar SDK v14 and Freighter API v5
  • Enhanced embedded wallet and data dashboard with Stellar capabilities

Logging and debugging will be deleted after testing on playground

@vercel
Copy link

vercel bot commented Oct 2, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
consumer-and-issuer-audit Ready Ready Preview Comment Oct 23, 2025 3:51pm
consumer-and-issuer-demo Ready Ready Preview Comment Oct 23, 2025 3:51pm
dashboard-for-dapps Ready Ready Preview Comment Oct 23, 2025 3:51pm
dashboard-for-dapps-audit Ready Ready Preview Comment Oct 23, 2025 3:51pm
data-dashboard Ready Ready Preview Comment Oct 23, 2025 3:51pm
data-dashboard-audit Ready Ready Preview Comment Oct 23, 2025 3:51pm
embedded-wallet Ready Ready Preview Comment Oct 23, 2025 3:51pm
idos-app-embedded-wallet Ready Ready Preview Comment Oct 23, 2025 3:51pm
idos-app-embedded-wallet (playground) Canceled Canceled Oct 23, 2025 3:51pm
idos-enclave Ready Ready Preview Comment Oct 23, 2025 3:51pm
idos-enclave-audit Ready Ready Preview Comment Oct 23, 2025 3:51pm
idos-isle Ready Ready Preview Comment Oct 23, 2025 3:51pm
isle-audit Ready Ready Preview Comment Oct 23, 2025 3:51pm
neobank Ready Ready Preview Comment Oct 23, 2025 3:51pm
passporting-server Ready Ready Preview Comment Oct 23, 2025 3:51pm
passporting-server-audit Ready Ready Preview Comment Oct 23, 2025 3:51pm
pay-demo Ready Ready Preview Comment Oct 23, 2025 3:51pm

@github-actions
Copy link

github-actions bot commented Oct 2, 2025

size-limit report 📦

Path Size
@idos-network/client 266.93 KB (+58% 🔺)
@idos-network/consumer 141.78 KB (+535.96% 🔺)
@idos-network/issuer 151.26 KB (+367.61% 🔺)
@idos-network/utils 17.43 KB (+14.63% 🔺)

@ditoglez ditoglez changed the title Add Stellar Support to MPC & Refactor Message Signing feat: add Stellar support to MPC & refactor message signing Nov 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants