Help
Commands
Using the passphrase
The passphrase is a way to define a key and a password all in once. The passphrase is used by the keygen to generate a random bitcoin key, while the first 30 bytes are used as an AES password.
The passphrase can be specified at the endo of any commands. Everything that stays after a ‘+’ is considered to be passphrase. It can be written with or without double quotes (").
If in the command line there’s one of “-key” and “-password”, their values have higer priority than the passphrase.
$> trh describe -log + Bitcoin: A Peer-to-Peer Electronic Cash System - 2008 PDF
Describe
Describe prints all the informations related to a passphrase, a key or an address.
Command: describe
Options
$> trh describe -help
INFO: command is: describe
-address string # bitcoin address
-cachedir string # path of the folder to be used as cache
-h # print help
-help # print help
-key string # bitcoin key
-keygen int # keygen to be used for key and password generation (default 2)
-log # true enables log output
-nocache # true disable cache
-outdir string # path of the folder where to save retrived files
-password string # encryption password
Estimate
Estimate the needed fee to be payed to miners to store the given file.
Command: estimate
Options
$> trh estimate -help
INFO: command is: estimate
-address string # bitcoin address
-cachedir string # path of the folder to be used as cache
-file string # path of file to store
-h # print help
-help # print help
-key string # bitcoin key
-keygen int # keygen to be used for key and password generation (default and only one: 2)
-log true # enables log output
-nocache true # disable cache
-password string # encryption password
Store
Store the given file on the blockchain.
Command: store
Options
$> trh store -help
INFO: command is: store
-address string # bitcoin address
-cachedir string # path of the folder to be used as cache
-file string # path of file to store
-h # print help
-help # print help
-key string # bitcoin key
-keygen int # keygen to be used for key and password generation (default and only one: 2)
-log true # enables log output
-nocache true # disable cache
-password string # encryption password
Retrieve All
Retrieves all the files connected to an address and decryptable with the given password.
Command: retrieveall
$> trh retrieveall -help
INFO: command is: retrieveall
-address string # bitcoin address
-cachedir string # path of the folder to be used as cache
-h # print help
-help # print help
-key string # bitcoin key
-keygen int # keygen to be used for key and password generation (default 2)
-log true # enables log output
-nocache true # disable cache
-outdir string # path of the folder where to save retrived files
-password string # encryption password