Skip to content

Don't rely on store interfaces and zod in core-wallet-ui-components #1902

@pawelstepien-da

Description

@pawelstepien-da

core-wallet-ui-components relies on interfaces from core-wallet-store. Besides types it uses network zod for validating form inputs values against shape expected in the store.
We should:
-Keep core-wallet-ui-components agnostic to the store layer, no dependency to core-wallet-store
-Validate values one level higher - in wallet gateway frontend components
-Use different package(s) as source of types, like rpc api client packages, or re-export through core-types.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Task.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions