Skip to main content

Rail wallet compromised or lost

Replace the bank rail wallet when its key is compromised or lost: who you need, the order of the steps, and what happens to money in flight.
Open it fromAsset lifecycleBank railSettingsRole:Bank rail managerConsole address: /asset-lifecycle/bank-rail/connectionId/settings

When the bank rail signing key is compromised or lost, contain the wallet from Asset lifecycle → Bank rail → token → Settings and complete a cross-role rotation. Containing stops DALP from signing, while on-chain revocations and escrow drains strip a compromised key of its remaining power. See Rotate the rail wallet for screen controls.

The “Settings” tab of a bank rail token lists “Token”, “Network”, “Supply mode”, “Link state”, “Rail wallet”, “Rail wallet identity” and “Redemption approval threshold”, with “Mint limits” below.

Roles in a rotation

Role
Responsibility
Screen / tool
Bank rail manager
Contains wallet, coordinates checklist and requests completion.
Bank rail → token → Settings
Second bank rail manager
Approves or rejects completion when Bank rail approval is on.
Bank rail → token → Settings
Token admin or governor
Revokes old wallet supply authority and grants authority to new wallet.
Checklist step or token Permissions
Token custodian
Empties old escrow, transfers suspense to new wallet and freezes old wallet.
Token forced-transfer sheet and escrow forced-transfer API
Identity manager
Registers replacement wallet's OnchainID.
Settings → Register rail wallet identity (with rail role) or API
Escrow manager
Creates replacement escrow for each Supply delegate link.
Settings → Escrow → Create escrow

Symptoms

  • Unexpected mint, burn or escrow transaction signed by the rail wallet.
  • Key material exposed or insider access suspect.
  • Credits park with “The rail wallet lost its supply authority” or Reconciliation reports “Break” for unauthorised supply authority.
  • Custody provider can no longer sign from the rail wallet.

Checks

  1. Open Bank rail → token → Settings and inspect Rail wallet. “Contained” indicates an active rotation.
  2. Classify as Compromised if anyone else could hold the key (compromised cannot be abandoned, while Lost can later escalate via Report compromised).
  3. Open Reconciliation → Rail wallets to note live wallet balances and suspense totals.

While contained, recall execution requests on Payments are refused until rotation completes.

Actions

Compromised key

  1. Contain the wallet: Select Contain rail wallet, pick Compromised and confirm. All links suspend, uninstructed cash-outs release and a replacement wallet stages.
  2. Revoke old supply authority first: On every linked token, the token admin or governor runs Revoke authority on Authority revoked on.
  3. Empty the old escrow: On every Supply delegate link, a token custodian forced-transfers all free and locked tokens back to their owners via the escrow API (see Escrows) to clear Old escrow protected on. Freezing the old wallet alone is insufficient.
  4. Register and fund the new wallet: An Identity manager (+ Bank rail manager, or via API) creates and registers the new wallet's identity with its Country. Fund the new wallet with native gas.
  5. Grant new supply authority: Each token admin or governor runs Grant authority (blocked until all revocations land, the old escrow is empty and no other account holds supply authority).
  6. Create replacement escrows: An Escrow manager runs Create escrow for the Next rail wallet on each Supply delegate link.
  7. Move suspense and freeze old wallet: A token custodian forced-transfers the Suspense moved on amount from the old wallet to the new wallet, then freezes the old address if any residual balance remains.
  8. Request and approve completion: Select Request completion. A second Bank rail manager verifies both addresses and selects Approve → Approve and complete (or immediate if approval is off).

Lost key

The checklist runs identity registration first, then revocations, escrow drain, grants and suspense transfer. Emptying the old escrow remains mandatory. Because the API refuses forced transfer of unpaid cash-out locks on a lost rotation (not-compromised), holders reclaim locks after expiry.

If no holder can empty the escrow and no revoke or grant has been submitted anywhere (including on token Permissions), a manager can select Request abandon (second-manager approved when Bank rail approval is on) to restore the old wallet. If compromise is discovered later, select Report compromised to escalate immediately and drop any abandon request.

What blocks completion

Request completion stays disabled and lists every active blocker verbatim whenever:

  • The old wallet has queued writes or a mid-send credit in flight.
  • A prior link activation or mint-cap grant to the old wallet is still queued, submitted or awaiting approval (raises an operations security case until cleared).
  • The old wallet still holds supply authority on any linked token (including links awaiting activation, which cannot be removed while contained and must be revoked on token Permissions).
  • The new wallet does not hold sole supply authority, lacks a new escrow (Supply delegate), or holds less than parked suspense plus in-transit custody deliveries.
  • The old escrow holds any balance, the old wallet holds tokens while unfrozen, or the indexer lags the chain.

Role steps

Bank rail manager

Contain first, copy step links with Copy link to coordinate each owner, verify the chosen reason (compromised is irreversible) and run Request completion once every checklist item shows “Done”.

Second bank rail manager

On Settings, verify Old wallet, New wallet and link count against confirmations from the identity manager and token admins, confirm all steps show “Done”, then select Approve (or Reject with a reason).

Token admin or governor

Open the copied step link on Settings, verify the token and wallet addresses against the card, then run Revoke authority on Authority revoked on and later Grant authority on Authority granted on. Use Open the token's holders to inspect current holders.

Token custodian

Run POST /api/v2/addons/escrows/{escrowAddress}/forced-transfers to return each holder's escrow balance to its owner. Then use the token's forced-transfer sheet to transfer Suspense moved on from old wallet to new wallet, and freeze the old wallet if tokens remain. Verify destination addresses before signing.

Identity manager

With both Identity manager and Bank rail manager, select Register rail wallet identity on New wallet identity registered, run Create identity, pick Country and run Register identity after confirming the address matches New wallet. Without Bank rail manager, call POST /api/v2/identities and POST /api/v2/system/identity-registrations.

Escrow manager

Select Create escrow under Next rail wallet on each Supply delegate link after verifying the controller matches the staged wallet.

Money in flight

  • Inbound credits during containment: Park with “The rail wallet lost its supply authority” and auto-mint from the new wallet on completion.
  • Existing suspense and pending custody deliveries: Move with suspense to the new wallet (mid-send credits block completion until landed or failed).
  • Uninstructed cash-outs: Release immediately with “The token link is no longer active”. On a retired escrow, cash-outs wait in “Releasing” with a case until a custodian forced-transfers tokens back. Instructed unpaid cash-outs expire at deadline for holder reclaim.
  • Unbooked cash-outs (paid by bank, unburnt): Custodian forced-transfers locked units to the rail wallet, then manager selects Recover on Cash-outs until status reaches “Paid”.
  • Residual tokens on frozen retired wallet: Tracked as an operations case rather than a reconciliation “Break”.

Frequently asked questions

Can I undo containment?

Only for a Lost key rotation where no revoke or grant has been submitted and the old wallet still holds authority on every link. Compromised rotations cannot be abandoned.

Why does the checklist ask for the revoke before the new identity?

A compromised key retains live on-chain mint and burn authority until revoked. Revoking needs no replacement wallet, so it runs immediately to cut exposure.

Can the same person do every step?

Only for the roles they hold. While Approvals → Bank rail is enabled, completion always requires two different Bank rail manager accounts.

Was this page helpful?