Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

xrp-wallet-cli

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xrp-wallet-cli

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

  • 1.1.8
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Ripple Wallet

This is a fork of 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 package.

Runs on Linux, Window and MacOSX

Network diagram

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 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]

FAQs

Package last updated on 28 Sep 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc