Command-line wallet

The command-line wallet that connects to the hybrixd platform environment can be run on your own personal computer or server by downloading the command-line application. This makes it possible to control and use a wallet from the command line. It also makes it easy to use and integrate blockchain into your own shell scripts.

Download for Linux/MacOS

Quick start

The command-line wallet can be run on the following operating systems:

The command-line wallet requires NodeJS. We recommend using NodeJS version 12.

To install the hybrix command-line wallet, download the release above, and extract the zip file to your system.

You can now start the command-line wallet as seen in examples below. Note that you should pass options to let the command-line wallet know what to do for you. Below we also mention the quiet output option to make it easy to put the command-line wallet in your own scripts.

To look at all the possible command line arguments, simply add --help.

./cli-wallet --help

Examples

Creating a new wallet is also very easy:

./cli-wallet --create

To get the Bitcoin balance of your wallet type:

./cli-wallet --balance btc --userid USERNAME --passwd PASSWORD

You can also get the address belonging to Ethereum in your wallet:

./cli-wallet --address eth --userid USERNAME --passwd PASSWORD

To send a Dogecoin transaction, you can do the following:

./cli-wallet --sendtransaction doge 1 DAJXE83WEsiyMYiG2CVmp3kZ9MafrmkH5c --userid USERNAME --passwd PASSWORD

It is also possible to create the transaction without sending it:

./cli-wallet --rawtransaction doge 1 DAJXE83WEsiyMYiG2CVmp3kZ9MafrmkH5c --userid USERNAME --passwd PASSWORD

To export your public key you can do this:

./cli-wallet --publickey nxt --userid USERNAME --passwd PASSWORD

Exporting your private key can also be done:

./cli-wallet --secretkey trx --userid USERNAME --passwd PASSWORD

Direct API calls can be done in a session like this:

./cli-wallet --userid USERNAME --passwd PASSWORD -A /engine/storage/load/someKey

If you want to include cli-wallet in a shell script, you may want to use the -q (quiet) option to make it easier to use the output of the command.

./cli-wallet --userid USERNAME --passwd PASSWORD -q -b ltc