tldr/pages/common/hsw-cli.md
bl-ue 8ebd171d6f
*: fix typos reported by Hunspell (#5848)
Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com>
Co-authored-by: Seth Falco <seth@falco.fun>
Co-authored-by: Patrice Denis <patricedenis@users.noreply.github.com>
2021-05-20 16:13:41 -04:00

691 B

hsw-cli

The command-line REST tool for the Handshake wallet. More information: https://npmjs.com/package/hs-client.

  • Unlock the current wallet (timeout in seconds):

hsw-cli unlock {{passphrase}} {{timeout}}

  • Lock the current wallet:

hsw-cli lock

  • View the current wallet's details:

hsw-cli get

  • View the current wallet's balance:

hsw-cli balance

  • View the current wallet's transaction history:

hsw-cli history

  • Send a transaction with the specified coin amount to an address:

hsw-cli send {{address}} {{1.05}}

  • View the current wallet's pending transactions:

hsw-cli pending

  • View details about a transaction:

hsw-cli tx {{transaction_hash}}