XRPL Ledger
The Ledger Backpack tracks your 5 core supplies as tokens on the XRPL Testnet. Every town checkpoint records a settlement receipt on-chain. At the end of your run, your trail ledger includes transaction IDs anyone can look up on the Testnet, until the Testnet is next wiped (see When the Testnet is reset).
Completely optional. The game plays identically with it off (the default).
Token types
Section titled “Token types”| Token | Resource | What it tracks |
|---|---|---|
| FOOD | Food supply | Consumption, hunting gains, trading |
| WATR | Water supply | Auto-refill at towns, terrain drain |
| MEDS | Medicine | Party health recovery |
| AMMO | Ammunition | Hunting costs, event rewards |
| PART | Spare parts | Repair action costs, trading |
Enabling the backpack
Section titled “Enabling the backpack”From the TUI, press L to open the ledger menu. With the backpack on, R proofs this save (PASS / FAIL / INCONCLUSIVE) and does not Rest. Or via CLI:
# Enable the backpacktrail ledger enable
# Check statustrail ledger status
# View wallet detailstrail ledger walletSettlements
Section titled “Settlements”At each town checkpoint, the game batches all supply changes since the last settlement into a single XRPL transaction. This keeps costs low and the ledger clean.
# Manually trigger a settlementtrail ledger settle
# Retry failed settlementstrail ledger reconcileParcels
Section titled “Parcels”Players can trade supplies with each other on the XRPL Testnet:
# Share your address so others can send you suppliestrail wallet share
# Send supplies to another travelertrail parcel send <address> food 10
# List received parcelstrail parcel list
# Accept a pending parceltrail parcel accept <id>
# See what you've senttrail parcel sentParcels arrive as pending and must be explicitly accepted before supplies are added to your inventory. You can also refuse parcels.
Reconciliation Proof (trail ledger proof)
Section titled “Reconciliation Proof (trail ledger proof)”The settlement receipts make a claim: this is what your supplies did, recorded on a public ledger. trail ledger proof checks that claim against the ledger itself, on the loaded save (the run you actually played), and reports PASS, FAIL, or INCONCLUSIVE.
trail ledger proofThe TUI R key on the ledger menu is the same proof: it calls proof_player_save on the loaded save and paints the verdict. Camp R without that menu still Rests. Parcel R still refuses.
The proof reads the ledger itself, not only the save. It makes three checks: the token balances on the XRPL Testnet equal the supplies the save says were settled; the starting mint plus every saved settlement adds up to that final total; and each settlement’s on-chain memo, read back through AccountTx, begins with this run’s id and day.
What it does not check. The proof does not compare the amounts written in each on-chain memo with the per-checkpoint amounts in the save, so it shows that the save and the ledger agree in total, not that every saved entry is untouched. A save edited so that its totals still add up can pass. Treat a PASS as a consistency check between your save and the ledger, not as tamper-proofing. Until the Testnet is next reset, anyone with the transaction IDs can read the memos on the Testnet and compare them by hand.
If a settlement failed and left the chain incomplete, trail ledger reconcile retries the pending settlements first; the proof is only as complete as the receipts that actually landed. INCONCLUSIVE means the ledger couldn’t confirm the run, not supply drift: pending checkpoints, a read that failed, or accounts the Testnet no longer has (see below). Re-run trail ledger proof after reconcile when the Testnet recovers. Do not confuse the two: reconcile retries pending Payments; proof audits the loaded save.
When the Testnet is reset
Section titled “When the Testnet is reset”The XRPL Testnet is a test network, and it is wiped from time to time. A reset deletes every account, balance and transaction on it; the network’s address stays the same. Resets are announced in advance on the xrpl.org blog; the one on 2026-11-25 was announced on 2026-11-09.
After a reset, a save made before it names an issuer and a player account that no longer exist:
trail ledger proofreports INCONCLUSIVE and names the missing account, when the save agrees with itself: its starting mint plus its settlements add up to its last settled supplies, and its memos name this run. A reset alone never makes it report FAIL. A save whose own totals or memos don’t add up still reports FAIL, ledger or no ledger.trail ledger reconcilestops before sending anything and says why. Pending checkpoints can’t be settled on accounts that are gone, so retrying later won’t help.trail ledger walletand the backpack screen say the account is not on the ledger, instead of showing an empty pack.- The transaction IDs in your trail ledger no longer resolve on the Testnet or in an explorer.
Your run itself is untouched: supplies are kept locally, and the game plays the same with the backpack’s ledger gone.
Run Artifacts
Section titled “Run Artifacts”Every finished run leaves a keepsake. The end-of-run screen surfaces an XRPL postcard — a small on-chain memento of the journey — alongside the run’s stats and an export/share path, so a finished run leaves something you can keep and pass along. The postcard is drawn from the same ledger that recorded your supplies, which is why it lives here rather than in the engine alone.
Requirements
Section titled “Requirements”- Bundled in the
npx/ GitHub Release binary; forpipinstalls, runpip install "escape-the-valley[xrpl]"(orpip install -e ".[xrpl]") for thexrpl-pydependency - XRPL Testnet only — no real value, no mainnet support
- Internet connection for settlement transactions
Security
Section titled “Security”- All XRPL operations use Testnet exclusively
- Wallet keys are stored locally, never transmitted except for signing
- No telemetry, no accounts, no cloud state
- See SECURITY.md for the full threat model