-
Notifications
You must be signed in to change notification settings - Fork 199
[skip ci] feat: bebop solana integration progression #11399
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: develop
Are you sure you want to change the base?
Conversation
- Add Solana support to BebopSwapper (quotes and rates working) - Implement fee calculation for Solana swaps - Add comprehensive logging throughout Bebop Solana flow - Store decompiled instructions in solanaTransactionMetadata - Extract compute budget params from Bebop instructions Current status: Quotes work, fees display, but broadcast has issues. Transaction requires Bebop co-signature - investigating /v3/order flow. Blocker documented in SOLANA_BLOCKER.md Implementation plan in SOLANA_IMPLEMENTATION_PLAN.md
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
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. Comment |
Document multi-signature requirement and potential /v3/order flow. Compare with CowSwap pattern for API-based execution.
- Remove presigned transaction approach - Add getUnsignedSolanaMessage and executeSolanaMessage methods - Update trade execution to sign transaction message bytes - Use Bebop /v3/order endpoint for gasless trades with co-signing - Add base-x for base58 encoding of signatures
- Update signing logic to use wallet.solanaSignMessage when available - Extract transaction.message.serialize() to get messageBytes - Sign messageBytes directly (equivalent to Bebop's signBytes) - Fallback to adapter.signTransaction for wallets without message signing - Fixes TypeScript CI error with unused messageBytes variable
- Use wallet.solanaSignRawTransaction instead of direct provider access - Proper hdwallet API for signing prebuilt Bebop transactions - Add @noble/hashes dependency to fix Vite bundling - Update to hdwallet 1.62.29-bebop-solana-msg.4
Description
Stopping point after many hours of madness. Everything seems to be happy up to broadcast, which is seemingly happy both with the /send endpoint and with Phantom (which even simulates), but seeing nothing on-chain.
TODO:
Issue (if applicable)
Risk
Testing
Engineering
Operations
Screenshots (if applicable)