project screenshot 1
project screenshot 2

SwingSwapper

Cross-chain Uniswap with swing API to enable cross-chain swaps

SwingSwapper

Created At

HackMoney 2022

Winner of

trophy

πŸ₯ˆ WalletConnect β€” Best Use, DeFi Track

trophy

πŸ₯ˆ Uniswap Grants Program β€” Uniswap Tooling

trophy

πŸŠβ€β™‚οΈ IPFS/Filecoin β€” Pool Prize

trophy

πŸ₯‡ Swing β€” Best Use

Project Description

Cross-chain Uniswap(Ethereum, Polygon, Fantom, BNB Chain)

Fork Uniswap and integrate Swing’s API to enable cross-chain token transfers(stablecoin transfers) and cross-chain swaps

​​

In this hackathon, I tried to complete above task. It is an Ethereum-based Uniswap-like structure that enables swapping with various chains such as polygon and Solana, and when you select the chain, tokens, and the amount to be sent, it informs you of a recommended bridge in conjunction with the swing API. Swap is completed when the bridge is selected and sent. (WIP), Due to lack of time, transaction transfer with Swing API was completed, and signing and claim could not be linked. in the demo, swap usdc from ethereum to polygon.

How it's Made

Cross chain quote search and approach sent tx for swap were implemented with Swing api. Token lists are uploaded and imported into IPFS, and token balance is imported through Covalent. In addition, the coinbase wallet and the unstoppable domains were linked with the wallet-connect as a wallet connector, and the payment was linked with the transak so that the user could easily purchase crypto and participate in the swap.

Regarding infra, used alchemy, infura, hardhat for forking mainnet. it also based in eth-scaffold.

background image mobile

Join the mailing list

Get the latest news and updates