Cross-DEX
Last updated
Last updated
We use native cross-DEX swaps whenever possible, relying on original liquidity provider smart contracts. If that's not an option, we use the Rainbow Routing Wallet.
This smart contract acts as a middleman, allowing seamless swaps between different DEXes in a single transaction. It also lets users withdraw TON or jettons, just like a Jetton Wallet contract, to ensure asset security (no losses have occurred).
Events diagram:
Smart contract are written using language. All code could be found in folder.
To build the Rainbow Routing Wallet smart contract you need to clone the and run