Technical

What is account resurrection on XRPL?

Last updated:

Account resurrection on the XRP Ledger refers to reactivating a deleted account address by creating a new account at the same address with the minimum reserve requirement. While technically possible if someone possesses or generates keys matching the deleted address, this is astronomically improbable and not a practical recovery method for accounts you previously owned and deleted.

When an XRPL account is deleted via the AccountDelete transaction, it's removed from the ledger completely. The address becomes "available" in the sense that it's no longer associated with an active account. However, for resurrection to occur, someone would need to send 10+ XRP to that address to create a new account, and they would need the corresponding private key to control it.

The probability of randomly generating the same address makes resurrection effectively impossible as a recovery method. XRPL addresses are derived from 160-bit hashes of public keys, providing 2^160 possible addresses (approximately 1.46 x 10^48). Generating keys that produce a specific deleted address would require trying more combinations than are computationally feasible.

If you deleted an account and lost the private keys before deletion, resurrection wouldn't help even if somehow possible. Without the private keys, you cannot control the resurrected account. The keys don't "come back" with the account - whoever has valid keys for that address controls it, whether or not the account was previously deleted.

Intentional resurrection might occur if you deleted an account but retained the private keys. You could send 10+ XRP to your old address, recreating an account there. However, this is effectively creating a new account that happens to use the same address - none of the old account's history, objects, or settings are restored.

The resurrected account starts with default settings and a sequence number of the current ledger index. It doesn't inherit the previous account's sequence number, trust lines, offers, or any other state. From the ledger's perspective, it's a completely new account that coincidentally uses an address that was previously used.

Practical resurrection scenarios are extremely limited. The only realistic case is if you intentionally deleted an account while keeping the private keys, and later decided to reuse that address. For security and clarity, generating fresh addresses for new accounts is generally preferable to reusing deleted ones.

Address collision where someone else randomly generates your deleted address is theoretically possible but won't occur in practice. The probability is so small that you shouldn't worry about someone else resurrecting your deleted account and gaining access to... nothing, since the account has no balance or state after deletion.

Some blockchain systems have experienced unintentional account resurrection issues. Early Ethereum implementations had quirks where deleted contracts could be recreated at the same address with different code. XRPL's simpler account model and deterministic address derivation prevent such complications.

Resurrection differs from account recovery after access loss. If you lose access to an active account (lost keys), the account still exists with its balance and state intact. Resurrection specifically refers to creating a new account at a previously-deleted address, which is different from regaining access to an existing account.

Developers sometimes ask about resurrection in contexts like: wanting to preserve specific addresses for branding, attempting to restore deleted accounts for testing, or implementing address reuse patterns. Generally, these use cases are better served by not deleting accounts in the first place, or accepting that new addresses are necessary.

The technical implementation of account creation treats deleted addresses identically to never-used addresses. When a payment of 10+ XRP reaches an address with no existing account, a new account is created. The system doesn't check or care whether that address was previously used - only that no account currently exists there.

Documentation sometimes uses "resurrection" metaphorically to describe account creation at deleted addresses, but this terminology can mislead users into thinking deleted accounts can be restored with their previous state. Clear communication that deletion is permanent and resurrection means creating a new, independent account prevents misunderstandings.

From a security perspective, resurrection doesn't create vulnerabilities. Even if someone somehow generated keys matching your deleted address (impossible in practice), the account has no balance or assets after deletion. The security of undeleted accounts isn't affected by deleted account resurrection possibilities.

Compare resurrection to vanity address generation. Vanity addresses are created by generating many key pairs until finding one producing an address with desired properties (like starting with specific characters). This is computationally expensive but feasible for short patterns. Generating keys matching a specific full address is computationally infeasible by comparison.

Practical advice: don't rely on resurrection as a recovery method, don't expect deleted accounts to be restorable in any meaningful way, don't delete accounts you might want to use again, and generate new addresses for new purposes rather than attempting to reuse deleted addresses.

The concept of account resurrection highlights fundamental blockchain properties: addresses are mathematical constructs anyone can theoretically generate, account state is separate from address existence, and deletions are permanent transformations of ledger state rather than reversible operations.

Was this helpful?

Related Questions

Have more questions?

Browse our complete FAQ or contact support.