Issue #9: Implement recovery sweep for expired accounts
Category: EphemeralAccount
Repo: bridgelet-core (Soroban / Rust)
Description
Add a recover() function callable only after is_expired() is true. It sweeps all funds to the recovery_address set during initialization. Only the creator or recovery address should be able to call this.
Acceptance Criteria
Issue #9: Implement recovery sweep for expired accounts
Category: EphemeralAccount
Repo: bridgelet-core (Soroban / Rust)
Description
Add a
recover()function callable only afteris_expired()is true. It sweeps all funds to therecovery_addressset during initialization. Only the creator or recovery address should be able to call this.Acceptance Criteria
cargo testpassing