Skip to content

makoto/xdai-arb-graph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

9 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

โš”๏ธ 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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published