Skip to content

Add AnchorKit anchor lifecycle state mapper #195

Description

@El-swaggerito

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

  • Anchor lifecycle mapper is implemented.
  • Major deposit and withdrawal states are represented.
  • Unknown and unsupported states are handled.
  • Web UI uses the shared mapper.
  • Tests cover state mapping.
  • Docs explain lifecycle assumptions.

Additional Notes

This supports consistent anchor UX.

Metadata

Metadata

Assignees

No one assigned

    Labels

    GrantFox OSSIssue tracked for GrantFox OSS contributionMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial Campaign | FWC26Official GrantFox campaign labelanchorAnchor and SEP-style payment rail workexpertExpert difficultyfeatureFeature workmonorepoMonorepo architecture worksepStellar Ecosystem Proposal related workuxUser experience and interface flow work

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions