Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add Gnosis Chain #95

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Conversation

filoozom
Copy link

@filoozom filoozom commented Feb 3, 2024

Uniswap never answered any of our PRs (and closed the main one), so it's not necessarily trivial to add Gnosis Chain to Horswap either.

This PR is still a draft and follows work done on PRs on Uniswap. For reference:

It has a few caveats, as it would require to fork two more packages:

  • @uniswap/sdk-core: I circumvented this one currently with a hack that is "not that bad" but also not great
  • @uniswap/universal-router-sdk: Probably going to do something similar but haven't looked into that yet

I guess longer term the best solution would be to maintain forks for both of these, but that obviously comes with additional maintenance burden. Alternatively we could somewhat hack extensions together like I already did for @uniswap/sdk-core. Of course we can make those cleaner if that's the chosen solution.

Todo:

  • Find solution for @uniswap/universal-router-sdk
    • Went with a patch-package patch: patches/@uniswap+universal-router-sdk+1.5.6.patch. Not the most maintainable or best long-term solution, but a hack similar to @uniswap/sdk-core isn't really possible without rewriting half the package or forking it.
  • Fix color constants
  • Enable SHOULD_SHOW_ALERT and add colors as well (presumably?)

@n00b21337
Copy link

n00b21337 commented Aug 30, 2024

I see Gnosis chain is finally getting official UI on Uni
https://gov.uniswap.org/t/onboarding-package-for-gnosis-chain/24166

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

Successfully merging this pull request may close these issues.

3 participants