Getting Started
Install
Section titled “Install”With pipx (recommended):
pipx install xrpl-labOr with pip:
pip install xrpl-labRequires Python 3.11+.
Start learning
Section titled “Start learning”The guided launcher walks you through wallet setup, funding, and your first module:
xrpl-lab startOffline mode
Section titled “Offline mode”No internet required. Use dry-run for simulated transactions:
xrpl-lab start --dry-runAll commands support --dry-run where applicable, letting you learn the workflow without touching the network.
Verify your installation
Section titled “Verify your installation”After installing, confirm everything works:
xrpl-lab --versionxrpl-lab doctorThe doctor command checks your wallet, state file, workspace, RPC endpoint, and faucet connectivity. It reports actionable hints for anything that needs attention.
What happens on first run
Section titled “What happens on first run”xrpl-lab startlaunches the guided launcher- If an XRPL Camp certificate is detected, you can reuse that wallet
- You create a wallet (stored locally in
~/.xrpl-lab/wallet.json) - The faucet funds your testnet wallet
- You choose a module and work through it
- Each module produces a verifiable artifact (transaction ID, report, etc.)
Data storage
Section titled “Data storage”All state lives locally:
- Wallet —
~/.xrpl-lab/wallet.json(with restrictive file permissions) - Progress —
~/.xrpl-lab/state.json(module status, transaction IDs) - Workspace —
./.xrpl-lab/in the current directory for module outputs
Network usage
Section titled “Network usage”- XRPL Testnet RPC — public endpoint, transactions signed locally before submission
- Testnet faucet — public HTTP, only your address is sent
- Both endpoints are overridable via environment variables:
XRPL_LAB_RPC_URL— custom RPC endpointXRPL_LAB_FAUCET_URL— custom faucet endpoint
- Both are optional with
--dry-run