Skip to content

Archived State Restoration Walkthrough & Helper Script #283

@Luluameh

Description

@Luluameh

Background
If an expert is inactive for a long time, their profile might get archived. Users need a clear interface and script to restore their archived state.
Goal
Provide a TypeScript script and documentation for restoring archived contract keys using Soroban's state restoration transactions.
Acceptance Criteria

  • Script in scripts/restore_state.ts that detects archived keys and submits a StateArchival restoration transaction.
  • Integration tests verifying that an archived expert profile can be restored and subsequently read by get_expert_profile.
  • User documentation in docs/archival_recovery.md.
    Key Files
    scripts/restore_state.ts, docs/archival_recovery.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions