Initial Price


I have forked uniswap factory and I accidentaly set wrong initial price on the USD & MYTOKEN,
how can I fix initial price I created?

Now when I want to add liquidity it says that 1 mytoken = 10000 usd.

How can I fix this price thing so I can add mytoken + usd on 1:1 liquidity?


  1. remove liquidity
  2. sell mytoken to the reserve so the price goes down (if your liquidity is low, it is very easy to push the price down)
  3. once the price is at your desired level, add liquidity again.

I couldn't manage to get the price on my desired level...