Skip to content

Connected to imToken address is empty and the chain name always Ethereum. #95

@SpriteLisen

Description

@SpriteLisen

Describe the bug

When i use AppKit.connect to connect imToken, when handling the onSessionApproved callback, I use AppKit.getAccount() to retrieve the authorized account info. However, account.address is always an empty string, and account.chain.chainName is always returned as “Ethereum”, regardless of the selected chain.

That said, I can see the correct wallet address and chain information (though always with eip155:1) in approvedSession.accounts. So the address exists, but AppKit.getAccount() doesn’t return it properly.

This issue only occurs with imToken — both MetaMask and TokenPocket return the correct address and chain name via AppKit.getAccount().


SDK Version

  • Client: Kotlin
  • Version: 1.3.3

Device (please complete the following information):

  • Device: Redmi 13C
  • OS: Android 14

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions