Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 917 Bytes

README.md

File metadata and controls

26 lines (16 loc) · 917 Bytes

⚔️ 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