- 
                Notifications
    You must be signed in to change notification settings 
- Fork 43
feat: Swapper sdk #160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
feat: Swapper sdk #160
Conversation
| Review the following changes in direct dependencies. Learn more about Socket for GitHub. 
 | 
| } | ||
|  | ||
| // Log retry attempt | ||
| // console.log(`Attempt ${attempt} failed, retrying after ${delay}ms...`, error); | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should remove the console.logs
| } | ||
|  | ||
| const walletAddress = addresses.find( | ||
| addr => addr.addressType === networkConfig.addressFormat as any | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no any
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
awaiting legal feedback
This PR introduces the SwapperSDK, a TypeScript SDK for seamless token swaps and cross-chain bridges across Solana, Ethereum, Base, Polygon, and Arbitrum networks.
Key Features
Usage Examples
Cross-chain bridge from Ethereum to Solana:
Token Constants
The SDK exports pre-configured token definitions: