You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.
Hello,
I'm trying to use this SDK against a product (a fork of Uniswap V2) working with a custom network.
I extended this enum: const ChainIdPlus = { ...ChainId, NETWORKONE: 101, NETWORKTWO: 102 };
Despite these changes, code is failing in further calls, and so on.
So, the question is there any extensibility out of the box like plugins to be able to work with other networks (a private blockchain, for example) or I have to fork this project and change it appropriately?
The text was updated successfully, but these errors were encountered:
Hi @apetrovskiy and anyone else trying to use this sdk for forks,
For exact copies of Uniswap V2, this SDK works, but you may have to change the factory address and init code hash in the constants file of the SDK. Usually, the creators of the forks create forks of the sdk that already have these changes, otherwise you can fork this repository and just make the amendments yourself.
So to answer your question, no, this functionality is not provided out of the box, but it should be very easy to make the necessary changes yourself.
Be cautious when using "forks" of Uniswap as the creators often change some details.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello,
I'm trying to use this SDK against a product (a fork of Uniswap V2) working with a custom network.
I extended this enum:
const ChainIdPlus = { ...ChainId, NETWORKONE: 101, NETWORKTWO: 102 };
Despite these changes, code is failing in further calls, and so on.
So, the question is there any extensibility out of the box like plugins to be able to work with other networks (a private blockchain, for example) or I have to fork this project and change it appropriately?
The text was updated successfully, but these errors were encountered: