stisa / xdai-arb-graph

Crosschain Arbitrage opportunity graph

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

⚔️ Crosschain Arbitrage 🦅 opportunity graph 📈

Crosschain Arbitrage opportunity graph allows you to observe the historical price margins of ERC20 tokens between Ethereum Mainnet and xDai side chain.

How to set up

git clone https://github.com/makoto/xdai-arb-graph
cd  xdai-arb-graph/packages/react-app
yarn
yarn start

API used

  • 1inch exchange quote api to get best pass from DAI -> ERC20 token and add link to 1inch exchange page
  • xDAI AMB bridge contract foreignTokenAddress to find equivalent token contract info on mainnet
  • TheGraph to call 1hive and uniswap daily price info

About

Crosschain Arbitrage opportunity graph


Languages

Language:HTML 44.7%Language:JavaScript 23.4%Language:TypeScript 23.1%Language:CSS 8.8%