-
Notifications
You must be signed in to change notification settings - Fork 1.1k
xDAI (or other arbitrary chain) support #52
Comments
Also, I just want to add, that right now there's a fork of Uniswap in xDAI called HoneySwap, https://www.xdaichain.com/about-xdai/project-spotlights/1hive#honey-liquidity-and-exchange it would be nice to see Uniswap "the original" also in that network, and since it's 100% compatible, I don't think it would be too much development effort. xDAI will allow to swap for less than a cent! Great for many use cases, like being able to use dapps that are prohibitively expensive in mainnet, and onboarding users. |
@moodysalem don't you think this would be good for Uniswap? |
It seems like all that is needed is to add a value to the enum, but since it can be any network ID it might be better to support a special OTHER chainId that can be used with any network. I would happily review a PR that adds that. |
I went for it, and created the PR #53 @moodysalem Edit: Superseded by a more general PR for supporting any network #54 |
I've refactored the code to use Please let me know if the SDK is flexible enough for your use case now |
@moodysalem is this version available in https://www.npmjs.com/package/@uniswap/sdk? |
No, the package is now But you might also be blocked by #55 |
Add wsteth/eths, abri arb, and mainnet crv, fixes gDAI minCDR, adds dogechain
Hi, given the big traction xDAI network, it's alignment with Ethereum roadmap, and the fact that is fully compatible with Ethereum, could it be supported by the SDK?
These are their endpoints:
https://www.xdaichain.com/for-developers/developer-resources#json-rpc-endpoints
Chain Ids:
https://github.com/Uniswap/uniswap-sdk/blob/v2/src/constants.ts#L6
The text was updated successfully, but these errors were encountered: