xrpl_cli

Crates.ioxrpl_cli
lib.rsxrpl_cli
version0.16.5
sourcesrc
created_at2022-03-05 08:42:44.723794
updated_at2024-09-16 05:42:12.23867
descriptionA CLI for the XRP Ledger
homepage
repositoryhttps://github.com/gmosx/xrpl-sdk-rust/tree/main/xrpl_http_client
max_upload_size
id543928
size94,144
George Moschovitis (gmosx)

documentation

README

XRPL CLI

A CLI for the XRP Ledger.

Crates.io

More information about this crate can be found in the crate documentation.

Setup

To install the binary from source, run:

cargo install --path .

Usage

xrpl --help

xrpl account <ADDRESS> info
xrpl account <ADDRESS> info --json --pretty
xrpl account <ADDRESS> info -jp

xrpl account <ADDRESS> balances
xrpl account <ADDRESS> balances --json --pretty
xrpl account <ADDRESS> balances -jp

xrpl account <ADDRESS> offers
xrpl account <ADDRESS> offers --pretty
xrpl account <ADDRESS> offers --json --pretty
xrpl account <ADDRESS> offers -jp

xrpl account <ADDRESS> offers list

xrpl account <ADDRESS> --public-key=".." --secret-key=".." offers remove <OFFER_SEQUENCE>

xrpl account <ADDRESS> --public-key="..." --secret-key="..." offers create --taker-pays="5.0 USD:rhub8VRN55s94qWKDv6jmDy1pUykJzF3wq" --taker-gets="1.0 XRP"

xrpl account <ADDRESS> trustlines list --pretty
xrpl account <ADDRESS> lines list --pretty

xrpl ledger --closed

The RUST_LOG env variable is used to configure tracing, e.g.

RUST_LOG=debug xrpl account ADDRESS info -jp

Status

This work is under active development and the API is expected to change.

Contributing

Pull requests, issues and comments are welcome! Make sure to add tests for new features and bug fixes.

License

This work is licensed under the Apache-2.0 License. See LICENSE.txt or https://spdx.org/licenses/Apache-2.0.html for details.

Copyright

Copyright © 2022 Georgios Moschovitis.

Commit count: 0

cargo fmt