Skip to content

feat: solana wallet#43

Open
Asem-Abdelhady wants to merge 1 commit intofeature/v2-111-issue-evm-to-solana-ordersfrom
feature/v2-117-add-solana-wallet-connection-to-the-ui
Open

feat: solana wallet#43
Asem-Abdelhady wants to merge 1 commit intofeature/v2-111-issue-evm-to-solana-ordersfrom
feature/v2-117-add-solana-wallet-connection-to-the-ui

Conversation

@Asem-Abdelhady
Copy link
Copy Markdown

@Asem-Abdelhady Asem-Abdelhady commented Apr 7, 2026

Summary

  • Add Solana wallet connection support (Phantom and Solflare) to the intent issuance UI
  • New SolanaWalletButton component renders a wallet picker + connect/disconnect button inline in the IssueIntent settings card
  • SolanaWalletStore (Svelte 5 reactive class) wraps @solana/wallet-adapter-* and exposes connected, publicKey, connect(), disconnect()
  • When a Solana wallet connects and the Solana Recipient field is empty, it is auto-filled with the wallet's public key
  • hooks.client.ts polyfills Buffer globally for the Solana adapter libraries which depend on Node's Buffer in the browser

Test plan

  • Open the app in testnet mode and set an EVM→Solana output token (e.g. Solana Devnet USDC)
  • Confirm the "Solana Wallet" row appears in the settings card
  • Click "Connect Solana", pick Phantom (or Solflare) — wallet extension approval prompt should appear
  • After approval the button shows the truncated pubkey (e.g. AbC1…xYz9) in green
  • Confirm the Solana Recipient field is auto-filled with that public key
  • Click ✕ to disconnect — pubkey clears, button reverts to wallet picker
  • With no Solana output selected, confirm the "Solana Wallet" row is still rendered (always visible) but submission guard still works for missing Solana recipient when needed

Linear ticket

V2-117

Expected output

Screen.Recording.2026-04-07.at.7.25.12.PM.mov

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 7, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 45b3e981-979a-40fb-b03c-56f03f79592d

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/v2-117-add-solana-wallet-connection-to-the-ui

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@Asem-Abdelhady Asem-Abdelhady requested a review from reednaa April 7, 2026 17:31
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.

1 participant