mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-07 05:46:03 +02:00
hsw-cli: add page (#3110)
This commit is contained in:
parent
cf25745db1
commit
923d2dffeb
1 changed files with 36 additions and 0 deletions
36
pages/common/hsw-cli.md
Normal file
36
pages/common/hsw-cli.md
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
# 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}}`
|
Loading…
Add table
Reference in a new issue