shapeshift / web

ShapeShift Web
https://app.shapeshift.com
MIT License
175 stars 188 forks source link

feat: implement jupiter as a swapper #8120

Open NeOMakinG opened 1 week ago

NeOMakinG commented 1 week ago

Description

Implementing the Jupiter swapper:

Issue (if applicable)

closes #8017

Risk

High because swapper but behind a feature flag

High Risk PRs Require 2 approvals

What protocols, transaction types, wallets or contract interactions might be affected by this PR?

Testing

Engineering

n/a

Operations

n/a

Screenshots (if applicable)

SOL to SPL

image

SPL to SOL

image

https://jam.dev/c/ce54f3bb-43f1-4e1f-9f44-c8b44a19fb73

SPL to SPL

⚠️ It was a high volatility SPL token, I had to increase the slippage tolerange https://explorer.solana.com/tx/3jfq6B3z44Y7ffJxfVm2wRAKFJMba8fANUitHSguzmiKgb8NYfyRfWRHyqvokxHbRe8Qi5mUyuESoAuUEZzwTau5

image

https://jam.dev/c/16c8e5f0-d5e2-4530-865b-b324a6980e25

TX history

image image image

Txs links

https://explorer.solana.com/tx/23xAVVo18sgD2ykyqH5Kx9C37j6bLNjbFXi2rRW4ge5YArm1ywsTFGXKzSRmAQV6Dx13GnXZP5W7f1UNjmrAqDau https://explorer.solana.com/tx/5k2r33Dd2oPKf5NESmQZz2G2fQ23wSy7xfL82PhCKwZuT5kojmynuHrVDy3uzhsf2UFq13wKjcvJMr61cdsGDGBL https://explorer.solana.com/tx/2ucg29ZHH58uVZ9MCbE3VCCfwgHVdcozcxG4NfELDmTQTew4T6HQKh6E8eBx7Xr12K2xjZEEHpHDfdi1fQxg7Tyv https://explorer.solana.com/tx/4XgfBYeqrn5pq2vTGmYrktYmgii1EiUXR7vZNzmULNNQgePMQVMKZsVWPbChURtUrYN9w8cD2aFteVtP1fCet8LV