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

[WIP] Add Arbitrum support #75

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

cgewecke
Copy link
Contributor

@cgewecke cgewecke commented Sep 2, 2021

Draft PR to add Arbitrum related resources as they become available. The main technical blocker here is that 0x cannot integrate with Arbitrum because they do not support Geth's eth_call overrides API (I don't see an issue about the topic open in Arbitrum's repo - might be a while before it's resolved).

  • Add arbitrum token metadata fetching
  • Add arbitrum coin price fetching
  • Add gas price oracle support
    • We can get the L2 "gas bid" via eth_gasPrice in the absence of an oracle service. Just need Infura (paid) or Alchemy (free) api tokens
  • Add ZeroEx trade quote fetching

@@ -153,6 +153,47 @@ export const tradeQuoteFixtures = {
},
},

// Endpoint used by UniswapV3
arbitrumBridgeTokenRequest: 'https://bridge.arbitrum.io/token-list-42161.json',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

1 participant