honeyswap-interface icon indicating copy to clipboard operation
honeyswap-interface copied to clipboard

honeyswap.1hive.eth.limo always returns null chainID when using WalletConnect

Open megakoko opened this issue 2 years ago • 2 comments

If this is not the right place for this bug report, please direct me to the right one.

https://honeyswap.1hive.eth.limo can be used with 2 networks (gnosis and polygon), but when trying to use it with WalletConnect it always returns "null" chainId in the initial response. We have no way of determining which network to choose in our app.

Thank you

megakoko avatar Jul 29 '22 06:07 megakoko

Did you tested in PC or Mobile?

And what the provider used with WalletConnect? MetamasK?

kamikazebr avatar Aug 03 '22 00:08 kamikazebr

I was using Safari on a desktop Mac. We're developing our own application that uses WalletConnect protocol to connect to HoneySwap among other DApps.

This is the response we're getting:

{
    "id": 1659076821958458,
    "jsonrpc": "2.0",
    "method": "wc_sessionRequest",
    "params":
    [
        {
            "chainId": null,
            "peerId": "7019e642-025b-4770-8c45-bcd99d49a46d",
            "peerMeta":
            {
                "description": "",
                "icons":
                [
                    "https://honeyswap.1hive.eth.limo/images/favicon.png",
                    "https://honeyswap.1hive.eth.limo/images/192x192_App_Icon.png",
                    "https://honeyswap.1hive.eth.limo/images/512x512_App_Icon.png"
                ],
                "name": "Honeyswap Interface",
                "url": "https://honeyswap.1hive.eth.limo/"
            }
        }
    ]
}

megakoko avatar Aug 03 '22 06:08 megakoko