Skip to content

3 Compilation error on SDK #309

@ChocoTanaka

Description

@ChocoTanaka

SDK Affected

Both

Describe the bug

reown_appkit 1.7.6 fails to compile.

Error:

  1. lib/modal/appkit_modal_impl.dart:1487:40: Error: The getter 'hex' isn't defined for the type 'EthereumAddress'.

  2. lib/modal/pages/preview_send/utils.dart:7:39: Error: The getter 'hexEip55' isn't defined for the type 'EthereumAddress'.2.

  3. lib/modal/pages/preview_send/utils.dart:8:33: Error: The getter 'hexEip55' isn't defined for the type 'EthereumAddress'.
    (from wallet 0.0.18)

Code:
appkit_modal_impl.dart

        'to': deployedContract.address.hex,

utils.dart

      if (from != null) 'from': from!.hexEip55,
      if (to != null) 'to': to!.hexEip55,

To Reproduce

Conpile error.

Expected behavior

?

Reproducible code

Item: Code

Screenshots

Image

Desktop (please complete the following information):

  • OS: [Windows]
  • Browser [Android Studio]
  • Version [?]

Smartphone (please complete the following information):

  • Device: [SUMSUNG A53 SCG15]
  • OS: [Android16]

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions