Skip to content

Asem/v2 114/fill solana orders#33

Draft
Asem-Abdelhady wants to merge 7 commits intoasem/V2-112/support-solana-intentsfrom
asem/V2-114/fill-solana-orders
Draft

Asem/v2 114/fill solana orders#33
Asem-Abdelhady wants to merge 7 commits intoasem/V2-112/support-solana-intentsfrom
asem/V2-114/fill-solana-orders

Conversation

@Asem-Abdelhady
Copy link

Implements the solver-side flow for Solana→EVM intents — filling EVM outputs, validating attestation proofs, and finalising the Solana escrow to release input tokens.

What's new:

flowProgress.ts — tracks per-step progress for Solana orders through the fill→validate→claim pipeline
ReceiveMessage.svelte — screen for verifying Polymer attestation PDAs exist on Solana before allowing finalise
Finalise.svelte — Solana claim button: reads EVM fill receipts, derives attestation PDAs, calls finaliseSolanaEscrow; also fixes missing postHookRefreshValidate call so the confetti animation fires after a successful Solana claim
solanaValidateLib.ts/ solanaFinaliseLib.ts — PDA derivation and Anchor instruction building for the Solana programs

Asem-Abdelhady and others added 7 commits March 13, 2026 20:23
When two identical orders share the same outputKey, selecting a second
unfilled order would incorrectly show the first order's filled state.
Reset fillStatuses before the async isFilled query so chips show
"checking" during the in-flight RPC call instead of stale filled state.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- flowProgress, Finalise, ReceiveMessage: replace solanaDevnetConnection
  and SOLANA_DEVNET_CHAIN_ID with getSolanaConnection(chainId) / isSolanaChain()
- solanaValidateLib: revert borsh BinaryWriter (CJS-only, not ESM-compatible
  in Vite); use Buffer.writeBigUInt64LE directly instead

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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