WalletConnect / kotlin-walletconnect-lib

library to use WalletConnect with Kotlin or Java
MIT License
156 stars 98 forks source link

Create GsonPayloadAdapter to encrypt/decrypt WalletConnect payloads #50

Closed mitsinsar closed 2 weeks ago

mitsinsar commented 3 years ago

Since serialize/deserialize adapter wasn't created for Encrypted Payload (it is commented out in MoshiPayloadAdapter line 226), we were having issues while working with encrypted payloads.

Also library forces us to use Moshi which we don't use in our project. That's why I've created GsonPayloadAdapter but we still need Moshi for FileWCSessionStore. I am planning to create another WCSessionStore that uses gson soon.