Giter VIP home page Giter VIP logo

off-l1's Introduction

๐Ÿฐ 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

off-l1's People

Contributors

makoto avatar rhlsthrm avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.