Docs / Tools
Testnet

fth-xrpl CLI

The XRPL testnet utility. Every command that talks to a server first checks that the network id is 1.

XRP Ledger test network only. Testnet tokens have no value. Mainnet is not built.

Commands that exist

fth-xrpl wallet-new <file>          create a new Ed25519 wallet file; prints the address only
fth-xrpl wallet-address <file>      print the address of an existing wallet file
fth-xrpl fund <file>                ask the public testnet faucet to fund the wallet's address
fth-xrpl balances <file>            XRP balance, sequence and trust lines
fth-xrpl book <currency> <issuer>   top of book for XRP against an issued currency
fth-xrpl trust <file> currency=<c> issuer=<i> limit=<n> [--yes]
fth-xrpl order <file> <buy|sell> qty=<xrp> limit=<price> currency=<c> issuer=<i> [--yes]

Dry run first

trust and order sign and submit only with --yes. Without it they print the exact transaction and exit 2. Run them only with an explicit approval for that exact transaction.

Wallet files

Exit codes

0 on success, 1 on an error or bad usage, 2 when a dry run printed a transaction and sent nothing.

Token commands

Six commands for issuing and controlling tokens: built and reviewed, testnet only, not yet run. See Token tools on testnet.