WalletConnect / kotlin-walletconnect-lib

library to use WalletConnect with Kotlin or Java
MIT License
147 stars 100 forks source link

Create GsonPayloadAdapter to encrypt/decrypt WalletConnect payloads #50

Open mitsinsar opened 2 years ago

mitsinsar commented 2 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.