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.
core-wallet-ui-componentsrelies on interfaces fromcore-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-componentsagnostic to the store layer, no dependency tocore-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.