Coinbase connect issues #8
GlobalXBPay
started this conversation in
General
Replies: 1 comment
-
Hello @GlobalXBPay! Coinbase Wallet does not use WalletConnect protocol so the session topic being null is correct. You just need to pass an empty topic in that case:
Same reason here, Coinbase Wallet connection is done trough their own SDK. That being said, if you could share some reproducible code and our SDK version it would help me a lot identify any possible issue. It works properly on my side. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We tried WalletConnect Flutter integration for android and iOS app. The metamask integration works end to end where we are able to redirect user and transfer coins between accounts. However, coinbase integration fails. The user is able to get redirected to coinbase but we think the pairing between the DeFi app and coinbase wallet is not established. On debug , we could see that session.topic is null for coinbase. Also we dont see the pairing logs getting outputed unlike Metamask integration. Let us know if we can share any more details
A successful metamask integration debug logs
flutter: pairing sendRequest, ...
flutter: [UrlUtils] openRedirect ...
flutter: Handling Publish Message:,
flutter: Handling Publish Message: ...
flutter: Pairing _onMessageEvent, Received data: {}
flutter: pairing sendResult, id:
flutter: [W3MService] set local chain eip155:137
flutter: Connected Wallet Address:
flutter: [BlockChainService] Failed to get request eth_getBalance. Response: {"jsonrpc":"2.0","error":{"code":-32700,"message":"Parse error","data":"Failed to parse the request body as JSON"}}
flutter: , Status code: 400
flutter: [W3MService] loadAccountData
flutter: Handling Publish Message:
flutter: pairing sendResult,
flutter: [W3MService] session event SessionEvent()
Coinbase integration debug logs with session topic as empty
flutter: [W3MService] _onCoinbaseConnectEvent: {}
flutter: [W3MService] set local chain eip155:1
flutter: Connected Wallet Address:
flutter: client : Client()
flutter: [BlockChainService] Failed to get request eth_getBalance. Response: {"jsonrpc":"2.0","error":{"code":-32600,"message":"invalid json request"}}, Status code: 400
flutter: [W3MService] loadAccountData
Beta Was this translation helpful? Give feedback.
All reactions