mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
42 lines
778 B
Plaintext
42 lines
778 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# hsw-cli
|
|
|
|
> The REST tool for the Handshake wallet.
|
|
> More information: <https://github.com/handshake-org/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}}`
|