I have a token contract and I want to add liquidity to Uniswap (mytoken + ETH). Before that, I would like to know the pair address in order to set it in my contract.
Is it possible to create a pair on the Uniswap Factory contract before adding liquidity to the pair? I have seen that the Factory contract has that write function. Should I just add my token address and WETH one?
I would like an answer from someone who has used it in a similar a way, since once I setup the pair address in my contract it cannot be changed anymore.