RootSoft / walletconnect-dart-sdk

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

Invalid Base32 Characters #3

Closed KakkadDarshak closed 3 years ago

KakkadDarshak commented 3 years ago

I was not able to get authenticated using the MetaMask Application. I am getting an error message.

Can anyone help me?

Error Message: Invalid Base32 characters FormatException

Screenshot: image

Error Log:

E/flutter (16158): [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: FormatException: Invalid Base32 characters
E/flutter (16158): #0      base32.decode (package:base32/base32.dart:116:7)
E/flutter (16158): #1      Address.decodeAddress (package:algorand_dart/src/models/addresses/address_model.dart:72:33)
E/flutter (16158): #2      new Address.fromAlgorandAddress (package:algorand_dart/src/models/addresses/address_model.dart:42:25)
E/flutter (16158): #3      WalletConnector.signTransaction (package:mobile_dapp/wallet.dart:39:28)
E/flutter (16158): #4      _MyHomePageState.build.<anonymous closure> (package:mobile_dapp/main.dart:89:33)
E/flutter (16158): <asynchronous suspension>
E/flutter (16158): 
RootSoft commented 3 years ago

hi @KakkadDarshak At the moment, the walletconnect-dart SDK only supports the Algorand blockchain. You are trying to parse an Ethereum address with the Algorand SDK.