Coder Social home page Coder Social logo

Comments (6)

johna1203 avatar johna1203 commented on August 12, 2024 1

I think UniswapLP does not support Polygon yet. I was looking at the code, and it seems that UniswapLP is not handling the 'Polygon' chain.

https://github.com/hummingbot/gateway/blob/main/src/connectors/uniswap/uniswap.lp.helper.ts#L38

You can notice that in uniswap.ts, it is being checked if it's Ethereum; otherwise, it will be Polygon.

https://github.com/hummingbot/gateway/blob/main/src/connectors/uniswap/uniswap.ts#L61

I'm trying to fix this, but I think I'll spend some time testing to make sure everything is running smoothly.

from gateway.

fengtality avatar fengtality commented on August 12, 2024

While gateway create is now deprecated, the error message above seems to indicate that Hummingbot could not resolve the WMATIC symbol.

I confirmed that Gateway can resolve the WMATIC symbol via Postman:
Screen Shot 2023-02-25 at 8 22 27 AM.

I'll check if this works in Hummingbot later.

from gateway.

nikspz avatar nikspz commented on August 12, 2024

Latest development 1.14.0 Issue reproduced
image

Noticed that on uniswap WMATIC token will be placed as MATIC-USDC
WMATIC-USDC turned into MATIC-USDC when creating a pool

Also noticed that bot mentioned WETH-USDC as the non-active market for uniswapLP-polygon-mainnet
However this market exists on the exchange
image

from gateway.

nikspz avatar nikspz commented on August 12, 2024

Same issue (Token not supported) testing other pairs (UNI-USDC)
image

p.s. for the note: was able to trade UNI-USDC using amm_arb strategy

from gateway.

fengtality avatar fengtality commented on August 12, 2024

@nikspz Can you still reproduce this issue?

from gateway.

nikspz avatar nikspz commented on August 12, 2024

Yes, reproduced on dev-1.17.0

logs_unilppolygondev117.log
UniswapLP polygon mainnet WBTC-USDC - Token not supported error
image

logs_uniswlpwmaticusdc.log
UniswapLP polygon mainnet WMATIC-USDC - Token not supported error
image
Got trades on WMATIC-USDC using amm_arb before testing uniswapLP

from gateway.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.