An open-sourced, lite version of Jupiter that provides end-to-end swap flow by linking it in your HTML. Check out the visual demo for the various integration modes below.
Template
Things you can configure
Fixed input mint
Input mint cannot be changed
Fixed output mint
Output mint cannot be changed
Exact output mode
Specify output instead of input
Fixed amount
Depending on Exact In / Exact Out, the amount cannot be changed
Initial amount
Amount to be prefilled on first load
Simulate wallet passthrough
Simulate Terminal with a fake wallet passthrough
Loading...
Code snippet
1window.Jupiter.init({
2 "displayMode": "integrated",
3 "integratedTargetId": "integrated-terminal",
4 "endpoint": "https://api.mainnet-beta.solana.com"
5});