Skip to content

SizeCredit/euler-oracle-tools

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Uniswap Oracle Attack Simulator

The tool calculates the cost to move a token's Uniswap v3 TWAP to x price, given its liquidity profile by binary searching trades on Uniswap QuoterV2 lens. Check out this article for details.

Setup

npm i

Create .env file in the root folder with your provider URL

REACT_APP_ETHEREUM_NETWORK_HTTP=

Optional prameters:

REACT_APP_NETWORK=base
REACT_APP_USE_CUSTOM_TOKENLIST=true

Run dev server

npm start

Run production build

npm run build

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 96.9%
  • HTML 2.0%
  • CSS 1.1%