Skip to content

Address is not EIP-55 #45

@rhamnett

Description

@rhamnett

Describe the bug

When I connect the appkit modal example to a wallet that uses the latest walletkit, the SIWE fails because the signing message does not use a checksummed address.

flutter: 0x958c690d6cb8d4feba4fe699xxxxx
flutter:
flutter: Welcome to AppKit 1.0.4 for Flutter. I further authorize the stated URI to perform the following actions on my behalf: (1) 'request': 'eth_sendTransaction', 'eth_sign', 'eth_signTransaction', 'eth_signTypedData', 'eth_signTypedData_v4', 'personal_sign', 'wallet_switchEthereumChain' for 'eip155'.
flutter:
flutter: URI: https://xxxxxxx
flutter: Version: 1
flutter: Chain ID: 324
flutter: Nonce: xxxxxxxx
flutter: Issued At: 2024-11-25T17:50:18.649Z
flutter: Resources:
flutter: - urn:recap:eyJhdHQiOnsiZWlwMTU1Ijp7InJlcXVlc3QvZXRoX3NlbmRUcmFuc2FjdGlvbiI6W3siY2hhaW5zIjpbImVpcDE1NToxIiwiZWlwMTU1OjQyNzkzIiwiZWlwMTU1OjEzNyIsImVpcDE1NTo0MjE2MSIsImVpcDE1NToxMCIsImVpcDE1NTo0MzExNCIsImVpcDE1NTo1NiIsImVpcDE1NTo0MjIyMCIsImVpcDE1NToxMDAiLCJla.......

Error:

flutter: [SIWESERVICE] verifyMessage() Response: {"error":"SIWE verification failed: Invalid SIWE message, Error: Address not conformant to EIP-55."}
flutter: Verification result: {error: SIWE verification failed: Invalid SIWE message, Error: Address not conformant to EIP-55.}

The address in the message should start 0x958C690D6Cb8d4.... note the capital C after 0x958....

Screenshot 2024-11-25 at 17 58 36

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions