Skip to content

Crosschain Arbitrage opportunity graph

Notifications You must be signed in to change notification settings

ac-ch/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

Languages

  • HTML 44.7%
  • JavaScript 23.4%
  • TypeScript 23.1%
  • CSS 8.8%