RootSoft / walletconnect-dart-sdk

Open protocol for connecting dApps to mobile wallets with QR code scanning or deep linking.
MIT License
102 stars 61 forks source link

🛠 Fixed incorrect working of signTypeData method #22

Closed ZheniaKarpovich closed 2 years ago

ZheniaKarpovich commented 2 years ago

Problem was connected with https://github.com/RootSoft/walletconnect-dart-sdk/issues/20 As I understood, JSON incorrectly encoded and then, cannot be open, for example, in MetaMask wallet. I guess, that in other wallets if u use this methods it will work the same. But when typedData will be stringified, it works as it should. If my theory is not correct, write the real reason, it is interesting for me.