# xrp-wallet-cli

> Simple Ripple Wallet client, made in node using Ripple-lib

Latest version **1.1.8** (published 2021-09-28) · ISC license · 0 weekly downloads

## Install

```sh
npm install xrp-wallet-cli
pnpm add xrp-wallet-cli
yarn add xrp-wallet-cli
bun add xrp-wallet-cli
```

Provides the command `xrp-wallet-cli`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.8 |
| Published | 2021-09-28 |
| First published | 2021-09-27 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 7 |
| Unpacked size | 73.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Emanuele Cesena |
| Maintainers | 0x0ece |

## Links

- npm: https://www.npmjs.com/package/xrp-wallet-cli
- Repository: https://github.com/0x0ece/ripple-wallet
- Homepage: https://github.com/0x0ece/ripple-wallet#readme
- Issues: https://github.com/0x0ece/ripple-wallet/issues
- npm.io page: https://npm.io/package/xrp-wallet-cli

## Dependencies (7)

- [chalk](https://npm.io/package/chalk.md) ^4.1.0
- [inquirer](https://npm.io/package/inquirer.md) ^7.3.3
- [minimist](https://npm.io/package/minimist.md) ^1.2.5
- [lodash.get](https://npm.io/package/lodash.get.md) ^4.4.2
- [ripple-lib](https://npm.io/package/ripple-lib.md) ^1.9.3
- [ripple-keypairs](https://npm.io/package/ripple-keypairs.md) ^1.0.3
- [ripple-address-codec](https://npm.io/package/ripple-address-codec.md) ^4.1.2

## Recent versions

- 1.1.8 (latest) — 2021-09-28
- 1.1.7 — 2021-09-27

## README

# Ripple Wallet

This is a fork of [filidorwiese/ripple-wallet](https://github.com/filidorwiese/ripple-wallet) with minimal user interaction and output.

Examples:
```
# use testnet
export RIPPLE_API=wss://s.altnet.rippletest.net

node ./bin/cmd.js balance rnH83z4XRGJ6vyMMgmCN4VeTv3ccU5j1q5

node ./bin/cmd.js pay --amount=20 --to=rnH83z4XRGJ6vyMMgmCN4VeTv3ccU5j1q5 --from=sn5BMmA6X4ggpLtvpRz4K63aGCyEu

node ./bin/cmd.js poll --id=1287D7AFD46E8BF74126D4AEF97D4E182789FC9FB51DC03AF5683F9A114FBEF2
```

Testnet account 1: rnH83z4XRGJ6vyMMgmCN4VeTv3ccU5j1q5 (secret: snUpTMBqSwm8op3enjKtyP5ZAwTam)

Testnet account 2: rwp7Cb3NxYrudTEePnXbW7Fkhf6EiFwVL9 (secret: sn5BMmA6X4ggpLtvpRz4K63aGCyEu)

--.--

A lightweight command-line Ripple client built with node and the official [ripple-lib](https://github.com/ripple/ripple-lib) package.

Runs on Linux, Window and MacOSX

![Network diagram](screenshot.png)

### Functionalities
- Generating a new wallet (works offline)
- Checking the balance of an existing wallet
- Making a payment from your existing wallet to another

### Installation
1. Make sure you have the current [Node LTS](https://nodejs.org/en/) release (or higher) installed on your system
2. Run `npm install -g ripple-wallet-cli` to install as a global dependency
3. Run `ripple-wallet-cli` to use

---

### Usage:

#### Generating a new wallet

Pull the internet cord of your computer (or disable wifi) and run the following command:

`$ ripple-wallet-cli generate`

#### Checking the balance of an existing wallet

To check the balance on your wallet, run:

`$ ripple-wallet-cli balance`

You'll be asked for the public address to check, or you can provide it directly on the command line:

`$ ripple-wallet-cli balance rJysCK99GqUBmgB54mcV7NwxYH29NRs1QQ`

The output will also show the last 10 transactions.
To see more transactions, you can up the limit:

`$ ripple-wallet-cli balance rJysCK99GqUBmgB54mcV7NwxYH29NRs1QQ --limit [number]`

#### Making a payment from your existing wallet to another

To make a payment from a wallet you control to another address, run:

`$ ripple-wallet-cli pay`

You'll be asked for the XRP amount to send, the destination address, the destination tag (optional), the sender address and finally the sender secret.

Alternatively, you can provide these params on the command line:

`$ ripple-wallet-cli pay --amount [amount] --to [destination address] --tag [destination tag]`

---
_Source: https://npm.io/package/xrp-wallet-cli · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
