Stellinch

Cross-chain atomic swap between Base/ETH and Stellar/XLM using HTLCs and 1inch integration

Visit Repo
Stellinch banner

About

This project implements a trustless cross-chain atomic swap system enabling secure trading between Base (Ethereum Layer 2) and Stellar networks without requiring intermediaries or custodians. The system uses Hash Time-Locked Contracts (HTLCs) to ensure atomic properties - either both parties receive their desired assets, or both get automatic refunds.

The core innovation lies in sophisticated multi-stage timelock mechanisms that provide multiple recovery opportunities. On the Base/EVM side, it integrates with 1inch Limit Order Protocol and implements a three-stage timelock system: private withdrawal (1-6 hours), public withdrawal (6-24 hours), and automatic cancellation (24+ hours). The Stellar side uses simpler HTLCs with pre-signed transactions for claiming and refunds.

Users can swap ETH for XLM through a 4-step process: setup (secret generation), funding (both parties lock assets), claiming (maker reveals secret to claim XLM), and completion (taker uses revealed secret to claim ETH). The system guarantees cryptographic security through SHA-256 hashlocks and prevents fund loss through comprehensive timelock protection.

The implementation handles real mainnet transactions on Base while using Stellar testnet for demonstrations, supporting bidirectional swaps and comprehensive refund mechanisms for failed trades.

From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

Stellar Fusion Plus

We are extending fusion plus to stellar to support Eth to Stellar transaction

1inchXNear

Atomic cross-chain ETH ↔ NEAR swaps via HTLC using a 1inch Fusion+ post-interaction extension.

Atomic-Inch

A cross-chain atomic swap protocol enabling secure, trustless swaps between Ethereum and Algorand.