pancake-swap-interface-v1
pancake-swap-interface-v1 copied to clipboard
ROUTER_ADDRESS for testnet
Is your feature request related to a problem? Please describe.
I want to test how liquidity pool work and i use testnet
for this. But noticed than ROUTER_ADDRESS
is only for mainnet
Describe the solution you'd like
Please provide ROUTER_ADDRESS
for testnet
too. I think constant ROUTER_ADDRESS
can be an object like this https://github.com/pancakeswap/pancake-swap-interface/blob/master/src/constants/index.ts#L31
For example:
export const ROUTER_ADDRESS = {
[ChainId.MAINNET]: '0x05fF2B0DB69458A0750badebc4f9e13aDd608C7F',
[ChainId.BSCTESTNET]: 'testnet address',
}
Yes that would help a lot.
The router address for testnet currently is: 0xD99D1c33F9fC3444f8101754aBC46c52416550D1