Load a Saved Ledger in Stand-Alone Mode
You can start an xrpld server in stand-alone mode using a historical ledger version that was saved to disk earlier. If your server was once synced with an XRP Ledger network such as Mainnet, Testnet or Devnet, you can load any ledger version it had available.
- Section
- Infrastructure
When you need it
Loading an old ledger version lets you replay it. Replaying verifies that transactions were processed according to the rules of the network. It also lets you compare the results of processing transaction sets with different amendments enabled.
The steps in short
Start xrpld normally, in online mode, and wait until it is synced. The server_info method shows this: the server_state value reads full, proposing or validating. If you want a specific historical ledger, use the ledger_request method to make the server fetch it. You may have to run it several times. Shut the server down with the stop method. Then start it in stand-alone mode with the -a option and the --load option.
Choosing a ledger
With only those two options, the server loads the most recent ledger version. To load a specific one, add the --ledger option with the ledger index or the identifying hash of that version. A hash is a fingerprint of data. To replay a specific version, you must fetch both that version and the one before it, because the earlier one sets up the starting state.
After loading
The saved ledger version becomes the current, open ledger for the server when it starts. To process it, advance the ledger by hand with the ledger_accept method. This puts the transactions in canonical order and processes them to make a closed ledger.
Good to know
As xrpld is updated, amendments are retired and become core functions of the ledger, which can affect how transactions are processed. For historically accurate results, replay ledgers using the version of xrpld the transaction was processed in.
Source: xrpl.org. Read 6 December 2026.
Zerpedia states what the source says, in plain words, and gives no opinion. How Zerpedia is made