project screenshot 1
project screenshot 2
project screenshot 3

mini-1inch

Buy ETH/BTC with stablecoins at best cross-chain price. Limit, SL/TP, no chain selection needed.

mini-1inch

Created At

Unite Defi

Project Description

This project is a cross-chain trading app that lets users buy ETH or BTC using stablecoins, regardless of which chain their funds are on. The user simply connects their wallet and chooses what to buy. we automatically finds the best price across chains, handles bridging and gas behind the scenes, and executes the trade in a single step.

We support market orders (via 1inch Classic swap), limit orders (via 1inch Fusion), and stop-loss/take-profit (SL/TP) orders, all without requiring users to manually manage chains, token contracts, or gas.

Our goal is to make buying ETH/BTC as seamless as possible for retail users: no chain switching, no contract hunting, and no bridging headaches. Just “Buy ETH,” and we take care of the rest.

How it's Made

We built a cross-chain execution engine that finds the best price for ETH or BTC by considering token prices, gas fees, and the user’s available stablecoin balances even if those funds are fragmented across multiple chains.

To aggregate and spend these scattered stablecoins, we extended the Cray contracts into a new FusionDestination contract, enabling users to execute a trade in a single step. Market orders are constructed using calldata from the 1inch /swap API and routed through this FusionDestination for on-chain execution.

For limit orders, we integrate the 1inch Limit Order Protocol. Since it doesn’t support fragmented funds across chains, we bridge the user’s stablecoins to the optimal chain before placing the order.

SL/TP orders are created via EIP-712 signed intents, stored off-chain and monitored by our backend. These Signed intents can be broadcasted by a relayer when price conditions are met.

Our backend continuously tracks:

Token prices Gas fees User balances Historical candle data This powers our routing engine and SL/TP execution logic.

We use: MongoDB for storing trades and intents Redis for real-time price and gas caching Solidity + Hardhat + Viem for smart contracts Node.js + Viem + Vite for backend and frontend

Neat trick: Even if a user’s stablecoins are scattered across chains, we let them buy ETH or BTC, no bridging, no gas juggling, just one click.

background image mobile

Join the mailing list

Get the latest news and updates