Secure, trustless atomic swaps between EVM and Starknet ecosystems with HTLCs and 1inch’s contracts
Starkudan-Swap is a cross-chain atomic swap protocol that enables trustless, decentralized token exchanges between the Ethereum (EVM) ecosystem and Starknet, The system leverages Hashed Timelock Contracts (HTLCs) to ensure that token swaps across the two chains are atomic either both sides of the swap complete, or neither does. thereby eliminating the need for trusted intermediaries.
On the EVM side, the protocol uses the 1inch's Escrow contracts and Limit Order Protocol (LOP). Here, users can create or fulfill swap orders that are cryptographically linked to an HTLC, locking their tokens with a hash of a secret and a timeout. These orders act as on-chain escrow agreements and enable a fully non-custodial experience.
On the Starknet side, the project implements a custom HTLC-like contract replicating the 1inch implementation using Cairo. The user on Starknet can claim EVM-side tokens only if they reveal the same secret within a defined time window, ensuring atomicity across chains.
The system relies on cross-chain messaging infrastructure, a relayer to pass secrets between chains securely. These messages are used to synchronize contract state and verify the fulfillment or refund of swap contracts.
SwapYourStark is built as a cross-chain atomic swap protocol that combines existing DeFi infrastructure on EVM with custom smart contract logic on Starknet. The architecture focuses on Hashed Timelock Contracts (HTLCs), custom relayer logic, and integration with 1inch's Limit Order Protocol (LOP).
🔧 Tech Stack:

