Nafidinara / bot-pancakeswap

Sniping bot for pancakeSwap. Auto buy, custom slippage and GWEI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

a WEIRD question

john012343210 opened this issue · comments

I think wbnb address must be the path[0] , why do you pass bnb address as path[0] to swapExactETHForTokens

https://github.com/pancakeswap/pancake-swap-periphery/blob/d769a6d136b74fde82502ec2f9334acc1afc0732/contracts/PancakeRouter.sol#L260