2019-06-17 19:36:46 +01:00
|
|
|
# hsw-cli
|
|
|
|
|
2021-05-20 21:13:41 +01:00
|
|
|
> The command-line REST tool for the Handshake wallet.
|
2022-02-02 18:43:21 +00:00
|
|
|
> More information: <https://github.com/handshake-org/hs-client>.
|
2019-06-17 19:36:46 +01:00
|
|
|
|
|
|
|
- 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}}`
|