Cross-chain swaps on Tron, Monad, and Etherlink blockchains.
A decentralized swap dApp that integrates and extends the 1inch Limit Order Protocol (LOP) to support cross-chain swaps on Tron, Monad, and Etherlink blockchains. The application leverages 1inch's robust APIs and smart contract protocols to enable bidirectional token swaps with hashlock and timelock functionality, ensuring secure and efficient transactions across these chains.
We used the 1-inch LOP and escrow contracts, made some changes to them, and deployed them on the chains we wanted to integrate. We also created our resolver service and dedicated frontend. We made some changes to the cross-chain-sdk to add new networks. The frontend calls the create order function of the SDK with the generated secret, and the order is submitted to the resolver backend, then, the flow starts(deploying escrow contracts, moving funds to escrow contracts, and revealing the secret).