Skip to content
This repository has been archived by the owner on Jul 31, 2021. It is now read-only.

ROUTER_ADDRESS for testnet #379

Open
RealPeha opened this issue Apr 22, 2021 · 1 comment
Open

ROUTER_ADDRESS for testnet #379

RealPeha opened this issue Apr 22, 2021 · 1 comment

Comments

@RealPeha
Copy link

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',
}
@safezerolife
Copy link

safezerolife commented Apr 24, 2021

Yes that would help a lot.
The router address for testnet currently is: 0xD99D1c33F9fC3444f8101754aBC46c52416550D1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants