Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to decrypt this FNC Notification? #1492

Open
ronaldoguedess opened this issue Aug 30, 2024 · 0 comments
Open

How to decrypt this FNC Notification? #1492

ronaldoguedess opened this issue Aug 30, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ronaldoguedess
Copy link

ronaldoguedess commented Aug 30, 2024

When I input the topic and message provided by FNC Notification, nothing appears in the logs. However, when I deliberately provide an incorrect message for testing, it triggers an error.

What might be going wrong? Why nothing is returned?

val topic = "7abd53056e6e7fd5e5236b4eb070a48681fb63d6335546d19d"
val decodedMessage2 = "ADlvYetRRKhe/IvpeIXtbXCq8Nkx7isRjok+TsTsSikIblbqiCxekalaqsFyos/rrLLPBpWBkwqRNSHpoPNnzuxs5FTnlML9ciGnducsA6JLTT/iTB7vpKIP9YdhNU8Ost0xB/ssqbkQTncYqKjthIoI8wGXwq/yMVC/Speztgr+2uE92nrWgNiQGMo3nzwF1cUqeN/B0uKIxB2sGfnOwiwioRJMN+J4gD02hC3xe3MqAtKBCRwVZSDKLyjAZEUxTWG9o2ExoGRcO8nslPS98DEZFEmEWKOp+KO4hYA/ry8KaKU8ugf+pWRx86S/Ou8gikkcbWRrMhht9UQmnuoWq9EoXTND/kx0P38nDh/1S1w=="

Web3Wallet.decryptMessage(params =  Wallet.Params.DecryptMessage(topic, decodedMessage2),
   onSuccess = {
       Log.d("WalletConnectService", "Decrypted Message: ${it.toString()}")

   }, onError = { error ->
       Log.d("WalletConnectService", "ERROR Decrypted $error")
   }
)
@ronaldoguedess ronaldoguedess added the bug Something isn't working label Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant