euler-xyz / euler-oracle-tools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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=

Run dev server

npm start

Run production build

npm run build

About

License:MIT License


Languages

Language:JavaScript 96.9%Language:HTML 2.0%Language:CSS 1.1%