An open-sourced, Marinade widget that provides end-to-end swap flow by linking it in your HTML. Check out the visual demo for the various integration modes below.
Loading...
Code snippet
1window.Marinade.init({
2 "displayMode": "integrated",
3 "integratedTargetId": "integrated-terminal",
4 "endpoint": "https://api.mainnet-beta.solana.com",
5 "stakeMode": "both"
6});