Skip to content

feat(wallet): add unified cross-chain wallet adapters - #186

Open
Hallab7 wants to merge 1 commit into
wraith-protocol:developfrom
Hallab7:feat/cross-chain-wallet-adapter
Open

feat(wallet): add unified cross-chain wallet adapters#186
Hallab7 wants to merge 1 commit into
wraith-protocol:developfrom
Hallab7:feat/cross-chain-wallet-adapter

Conversation

@Hallab7

@Hallab7 Hallab7 commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds a unified cross-chain wallet adapter API for Stellar, EVM, and Solana wallets.

Changes

  • Added the WalletAdapter discriminated union with:

    • chain
    • signMessage
    • getAddress
  • Added deriveStealthKeysFromWallet(adapter) to route signatures through the correct chain-specific derivation.

  • Added dependency-free reference adapters for:

    • Freighter
    • viem WalletClient
    • @solana/wallet-adapter
  • Exported the new API from the SDK root entry point.

  • Updated WebAuthnPasskeyStealthSigner to implement the Stellar wallet adapter interface.

  • Extended examples/multichain-scan to derive Stellar and EVM keys from one adapter registry and scan their test deployments.

  • Added focused routing and adapter tests.

The reference adapters use structural interfaces and do not hard-import optional wallet packages.

Validation

  • pnpm build

  • pnpm test

    • 1,123 SDK tests passed
    • 10 Svelte package tests passed
  • Multichain example type-check passes.

  • git diff --check passes.

closes #181

@drips-wave

drips-wave Bot commented Aug 24, 2026

Copy link
Copy Markdown

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

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.

Cross-chain unified wallet adapter

1 participant