Account Recovery
class AccountRecovery
One-shot recovery from retired platform storage.
The host reads only the old storage container and passes an opaque JSON batch here. Rust bounds and decodes the array, verifies every NIP-01 event ID and signature, and atomically creates durable relay intents. The source storage is never modified or trusted as account truth.
Functions
Link copied to clipboard
suspend fun importSignedOutboxBatch(commandId: CommandId, eventBatchJson: String): AccountOperationResult
Recover one old outbox batch idempotently.