Skip to content

How to decrypt this FNC Notification? #1492

@ronaldoguedess

Description

@ronaldoguedess

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")
   }
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions