Skip to content

Asem/v2 112/support solana intents#29

Draft
Asem-Abdelhady wants to merge 10 commits intodevelopfrom
asem/V2-112/support-solana-intents
Draft

Asem/v2 112/support solana intents#29
Asem-Abdelhady wants to merge 10 commits intodevelopfrom
asem/V2-112/support-solana-intents

Conversation

@Asem-Abdelhady
Copy link

Checl please the UI/UX and also the tweaks in the code

Asem-Abdelhady and others added 9 commits March 8, 2026 19:33
- Add solanaAddressToBytes32 / isValidSolanaAddress to intent.ts/ (shared library)
- Point @lifi/intent to local file: reference so latest build is used
- Delete lintent/src/lib/libraries/intent.ts (duplicates @lifi/intent)
- Delete lintent/src/lib/utils/convert.ts (Solana helpers now in @lifi/intent)
- Fix solanaEscrowLib.ts: use dynamic imports for @coral-xyz/anchor / @solana/web3.js
  to avoid CJS/ESM bundling issues, import types from @lifi/intent
- Fix intentFactory.ts: use openSolanaEscrow() directly, import from @lifi/intent
- Fix config.ts: use numeric chainId keys for POLYMER_ORACLE, add Solana constants,
  add solanaDevnet to testnet chainList, fix clientsById type for non-EVM chains
- Fix IssueIntent.svelte: import isValidSolanaAddress from @lifi/intent, fix hasSolanaInput typo
- Fix state.svelte.ts: use chainId-based approach (no token.chain string)
- Fix vite.config.ts: alias @solana/web3.js to CJS browser bundle to resolve borsh compat
- Add @coral-xyz/anchor, @solana/spl-token, @solana/wallet-adapter-* to dependencies

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@Asem-Abdelhady Asem-Abdelhady requested a review from reednaa March 10, 2026 13:28
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