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
- Install the Account SDK.
- Attempt to initialize an account using a chain ID or network configuration that is not supported.
- Try to perform an account-related action (e.g., fetch address or send a transaction).
- 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