Skip to content

Latest commit

 

History

History
58 lines (42 loc) · 2.3 KB

README.md

File metadata and controls

58 lines (42 loc) · 2.3 KB

🐰 Off L1

1 click cross chain Uniswap clone arbitrage app.

How to set up

git clone https://github.com/makoto/off-l1
cd  off-l1/packages/react-app
yarn
yarn start

Chains and exchanges supported

API used

  • Connext = State channel based cross chain bridge technoloy.
  • TheGraph to call each chain's token prices
  • Web3 Modal = to allow you to connect via Metamask, Walletconnect, and Portis. WARNING: Do you access via smartcontract based wallet like Argent and Gnosis safe, as their wallet address is not compatible across different chains.
  • Portis = Portis supports both xDAI and Matic (not BSC yet). To connect to the specific chain, go to the swap page (/exchange/*), then disconnet/connect
  • BitQuery = To show transaction history of Binance smart chain
  • Covalent = To show transaction history of Matic

TODO

Short term

  • Add tranaction link when the entire swap is complete
  • Add ability to recover stuck fund from UniswapWithdrawHelper
  • Add xDAI - DAI token mapping
  • Add Token transfer history for xDAI
  • Use USDC as base price (to replace out of sync Pancake subgraph)
  • Allow user to switch base currency
  • Support Multi paths (eg: USDC-> BNB ->UNI)
  • Add historical quotes for each pair

Mid-longer term

  • Turn it into bot
  • Support more exchanges on different chains
  • Send back the swapped token back to original chain.
  • Split quote into muliple smaller trades across chains
  • Investigate the possibility of forming a pooled fund for profit sharing

Credits

Special thanks to Rahul Sethuram for the tireless support as well as actively contributing to the project