WalletConnect / walletconnect-monorepo

WalletConnect Monorepo
Apache License 2.0
1.37k stars 678 forks source link

Astar's zKatana not supported on rpc.walletconnect.com/v1/ #4185

Closed maxisch closed 8 months ago

maxisch commented 8 months ago

I was checking https://quickswap.exchange/

and if you inspect the console when using zKatana you get: {"status":"FAILED","reasons":[{"field":"chainId","description":"We don't support the chainId you provided: eip155:1261120"}]}

curl example:

curl 'https://rpc.walletconnect.com/v1/?chainId=eip155:1261120&projectId=4b8065e47a7572a1b65838e57557f93d' \
  -H 'sec-ch-ua: "Not_A Brand";v="8", "Chromium";v="120", "Google Chrome";v="120"' \
  -H 'accept: application/json' \
  -H 'content-type: application/json' \
  -H 'Referer: https://quickswap.exchange/' \
  -H 'sec-ch-ua-mobile: ?0' \
  -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36' \
  -H 'sec-ch-ua-platform: "macOS"' \
  --data-raw '{"id":"1705414763370700288","jsonrpc":"2.0","method":"eth_call","params":[{"to":"0x61211321e272584d6686f79bb205082c4cda5d5f","data":"0x1749e1e3000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000020000000000000000000000000d2480162aa7f02ead7bf4c127465446150d5845200000000000000000000000000000000000000000000000000000000000f42400000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002470a082310000000000000000000000000f2160df24e5b788d358f02e04bb20e16c6292fa00000000000000000000000000000000000000000000000000000000"},"0x619ab"]}' \
  --compressed
chris13524 commented 8 months ago

Our Blockchain RPC doesn't support zKatana chain. See this list for what chains our Blockchain RPC supports.