SwapLite

A Lite SDK/CLI for cross chain swaps between ethereum chains and solana

ETHGlobal PragueShipped May 30, 2025#defi#infra
Repo
SwapLite banner

About

Swaplite is a command-line interface (CLI) for performing swap intents between EVM and solana chains. Users have the option to select supported tokens and chains of interest.

Provides a developer-focused, low-overhead interface to Fusion+.

Ideal for:

Power users automating arbitrage/resolver roles. DeFi devs and researchers testing order flows. Validators or bots performing filled-on-behalf logic. Easier to extend than full UIs, great for hackathons or tooling.

How it's made

Swaplite was built between Solana and Flow initially, allowing traders and 1inch resolvers to deposit/resolve swap orders between the two chains.

Solana Side:

Built with Anchor, the smart contract manages an escrow PDA holding tokens and enforces a hashlock + timelock. Orders are created by the maker (trader) and stored off-chain. Funds are locked securely until fulfilled or canceled. Once the hash matches between EVM and Solana the funds are released to the respective counterparts being the resolver and the trader.

Flow Side:

A source escrow contract verifies the same hash(preimage) and allows the resolver (taker) to claim assets before the timelock expires. When fulfilled, the secret is revealed, enabling the maker to withdraw on Solana.

Technologies Used:

Anchor (Rust) on Solana

TypeScript CLI using commander.js SHA256 for HTLC hashing 1inch Fusion+ design pattern for escrow flows Optional Node.js bot to relay revealed secrets

Cross-Chain Coordination:

No bridges used. The only link is the revealed secret, making swaps trust-minimized and lightweight.

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.

SYNAPSE

Cross-chain CLI for atomic swaps using Fusion, 1inch, now extended to the high-speed Monad chain.

UniteSwap

Rust CLI enabling trustless atomic swaps between EVM & non-EVM chains via 1inch Fusion+ extension

MoleSwap

Extension for 1inch Cross-chain Swap (Fusion+) that enables swaps between EVM and TON