Solana initial implementation, resolves FRONT-896#82
Open
yasha-meursault wants to merge 7 commits intomain-v2from
Open
Solana initial implementation, resolves FRONT-896#82yasha-meursault wants to merge 7 commits intomain-v2from
yasha-meursault wants to merge 7 commits intomain-v2from
Conversation
…ration - Implemented SolanaHTLCClient and registration functions in index.ts - Created login module for Solana wallet signing - Added transaction builder for user lock transactions - Defined types for Solana signer and HTLC client configuration - Introduced utility function for converting secrets to buffers - Configured TypeScript settings for the Solana package - Updated pnpm lockfile to include Solana dependencies
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…transaction handling with instruction-based approach
…nnection components
…HTLC client - Use provider.name (not provider.id) for InternalConnector.providerName, AccountIdentity.providerName, and all downstream comparisons across useConnectors, ConnectorsList, evmConnectorsContext, MultichainConnectorPicker, swapAccounts, and AddressPicker - Surface e.message in UserLockAction error handler (was silently dropping errors when only e.name='Error' was present) - Replace Solana _getSolverLockDetails unbounded loop with getSolverLockCount-bounded loop, matching EVM/Starknet pattern - Remove single-tick setTimeout hack in walletLoginContext Solana path; check connected state explicitly instead - Validate amount string in toBaseUnits before constructing BN - Fix useHTLCWriteClient to pass resolved rpcUrl to Solana client instead of solanaConnection.rpcEndpoint (respects user RPC overrides) - Eliminate duplicate AnchorProvider construction in _getSolverLockDetails by routing through buildProgram with connection override - Add unit tests for SolanaHTLCClient.getUserLockDetails and refund (13 cases covering active lock, closed account log parsing, SOL/token paths, missing signer, confirmation errors)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat: add Solana blockchain support with HTLC client and wallet integration