0.6.1 • Published 11 months ago

dashwallet-cli v0.6.1

Weekly downloads
-
License
SEE LICENSE IN LI...
Repository
github
Last release
11 months ago

dashwallet-cli

A more civilized DASH Wallet CLI for a less civilized age...

dashwallet send @johndoe 1.0
Sent Đ1.0 to @johndoe!

Getting Started

1. Request Money

Generate or show the XPub, dash URL, and QR code to give to your contact:

dashwallet request @alice 1.250

2. Add a Contact

Create or add a new pay-to wallet for a contact by their X Pub Address:

dashwallet contact @alice <xpub>

3. Send Money

You can use a contact name, X Pub Address, or Legacy address:

dashwallet send @alice 1.250 --allow-change

4. Check Balances

See all (unspent) coins and stamps, or all balances across all accounts:

dashwallet coins
dashwallet accounts

Note: Stamp values represent how many times a coin can be sent.

Install

  1. Install node

    # Mac, Linux
    curl -sS https://webi.sh/node | sh
    
    # Windows
    curl.exe https://webi.ms/node | powershell
  2. Install dashwallet-cli

    npm install --location=global dashwallet-cli@0.5

CLI

dashwallet-cli v0.6.0 - A more civilized wallet for a less civilized age

USAGE:
    dashwallet <subcommand> [flags] [options] [--] [args]

SUBCOMMANDS:
    accounts                           show accounts (and extra wallets)
    export <addr> [./dir/ or x.wif]    write private keys to disk
    contact <handle> xpub-or-addr      add contact or show xpubs & addrs
    request <handle> [amount]          show QR and payment address
    generate address                   (for debugging only) save a one-off WIF
    import <./path/to.wif>             save private keys
    coins [--sort wallet,amount,addr]  show all spendable coins
    send <handle|pay-addr> <DASH>      send to an address or contact
                    [--dry-run] [--coins Xxxxx:xx:0,...]
    remove <addr> [--no-wif]           remove stand-alone key
    stat <addr>                        show current coins & balance
    sync                               update address caches
    version                            show version and exit

OPTIONS:
    DASH_ENV, -c, --config-name ''     use ~/.config/dash{.suffix}/
    --config-dir ~/.config/dash/       change full config path
    --json                             output as JSON (if possible)
    --sync                             wait for sync first

Examples

# dashwallet contact <handle> [xpub-or-addr]

dashwallet contact @johndoe 'xpubXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'

dashwallet contact @kraken 'Xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
Send DASH to '<handle>' at this address:
Xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# dashwallet request <handle> [amount]

dashwallet request @johndoe
Share this address with '<handle>':
xpubXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX