Hi, I am trying to prep a safemoon clone, but i want to be sure i understand some things…
first and foremost… i want deploy this on ETH (most likely, since i cant get any BNB for gas)…
i have a contract but this router address worries me…
…
constructor () public {
_rOwned[_msgSender()] = _rTotal;
IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x05fF2B0DB69458A0750badebc4f9e13aDd608C7F);
// Create a uniswap pair for this new token
uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory())
.createPair(address(this), _uniswapV2Router.WETH());
// set the rest of the contract variables
uniswapV2Router = _uniswapV2Router;
…
- this address is used on ETH already…
- this is the address for the BSC pancakeswap router i believe…
how can i get the right info for ETH, or what do i do?
will this contract work for ETH & BSC-- or obviously not because the address is used on ETH…
idk…
im just editing contracts to get going and wrap my head around it all…
cant even write an error-free contract yet, so this is def a reach for me…
tips & help appreciated… other info available if needed