Wallet won't show request details #793
Unanswered
Svechnikov
asked this question in
Developer Support
Replies: 1 comment
-
I made it work, here's the code, in case someone needs it:
|
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
-
Hello!
I'm developing a dapp Flutter application for V1 WalletConnect protocol and having difficulties with pairing with wallets.
I couldn't find a sample app on Flutter (I only found apps that act like wallets, receiving requests), so I decided to write my own code, using the specifications and WalletConnectKotlinV2 sample (I'm aware it is for version 2, but still it helped me).
Basically, I'm doing everything described in the specification diagram:
wc_sessionRequest
to the socketI expect MetaMask to show request details, but it just opens the app and nothing happens. Also, I receive no messages from the socket.
Here's an example of the actions I do in the chronological order:
Sending the topic subscription request to the socket:
Sending the
peerId
subscription request to the socket (not sure if it's needed, but I saw it in some sample):Sending the session request to the socket:
Opening the uri in MetaMask (this is an android shell command):
I think the reason might be in encrypting (or signing).
Can you please help me figure this out? Thanks in advance!
And here's the code:
Beta Was this translation helpful? Give feedback.
All reactions