Description
Difficulty: Expert
Type: Feature
Summary
Add a lifecycle state mapper for anchor deposit and withdrawal flows.
Current Behaviour
Anchor lifecycle states may be represented inconsistently across packages, examples, and UI.
Expected Behaviour
AnchorKit should provide a shared mapper for pending, processing, completed, failed, expired, and unknown states.
Suggested Implementation
Create state types, mapper utilities, fixtures, web UI integration, tests, and docs.
Files or Areas Likely Affected
- packages/anchor-utils/
- packages/types/
- apps/web/
- examples/
- tests/
- docs/
Acceptance Criteria
Additional Notes
This supports consistent anchor UX.
Description
Difficulty: Expert
Type: Feature
Summary
Add a lifecycle state mapper for anchor deposit and withdrawal flows.
Current Behaviour
Anchor lifecycle states may be represented inconsistently across packages, examples, and UI.
Expected Behaviour
AnchorKit should provide a shared mapper for pending, processing, completed, failed, expired, and unknown states.
Suggested Implementation
Create state types, mapper utilities, fixtures, web UI integration, tests, and docs.
Files or Areas Likely Affected
Acceptance Criteria
Additional Notes
This supports consistent anchor UX.