Skip to content

Bug: Account initialization fails silently with unsupported chain configuration #207

@nativetams

Description

@nativetams

Describe the bug

When initializing an account with an unsupported or incorrectly configured chain, the SDK may fail without providing a clear or actionable error. This makes it difficult for developers to understand why the account cannot be created or used.

Steps

  1. Install the Account SDK.
  2. Attempt to initialize an account using a chain ID or network configuration that is not supported.
  3. Try to perform an account-related action (e.g., fetch address or send a transaction).
  4. Observe the resulting error or lack of clear feedback.

Expected behavior

During account initialization, the SDK should validate the provided chain configuration. If an unsupported chain is detected, the initialization process should fail immediately and throw a clear, descriptive error. The error message should explain why the chain is not supported and guide the developer on how to resolve the issue.

Version

No response

Additional info

No response

Desktop

No response

Smartphone

No response

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