Restart
Restart
It was too complex. I didn’t like the complexity of the command line so I decided to rebuild it from scratch.
These are the commands available now:
Commands:
collect <pin> collect unspent money
estimate <pin> <file> <comma separated labels> <notes> estimate cost to store file
get <pin> <entryhash> <outfolder> get file
kfromuncry <pin> keystore load from unencrypted
kgenfromkp <pin> <key> <password> keystore generate from key and password
kgenfromph <pin> <phrase> keystore generate from phrase
kshow <pin> keystore show
ktouncry <pin> keystore export to unencrypted
list <pin> list all files stored
store <pin> <file> <comma separated labels> <notes> <max spend (satoshi)> store file
txshow <pin> show all transactions
utxos <pin> show all utxos
The installation has changed a lot.
TRH is now fully open source and can be installed with a simple ‘go install’.
Future plan
A graphical user interface is coming. CLI is something awkward for the most.
The code
The code is on github . To install it clone the repo and then execute ‘go install’ from inside the cmd/trh folder.
Licence (MIT)
Copyright 2021 ejfhp
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Contacts
For issues or questions please DM on Twitter @ejfhp or send me a mail: ejfhp5 on Gmail.