Post
Topic
Board Development & Technical Discussion
Merits 2 from 2 users
Re: Bitcoin Message Tool - command-line signer & verifier
by
witcher_sense
on 14/07/2024, 15:35:29 UTC
⭐ Merited by vapourminer (1) ,Financisto (1)
Is it possible (in the near future) to provide a single AppImage file (or single binary file, or single executable file, etc) as a Github-release?

P.S. Your project reminded me of this HTML/Javascript Brainwallet (WarpWallet's fork) turned into a single CLI executable file: https://github.com/moncho/warpwallet

Providing that option would be great for UX!

Last but not least: your CLI BTC msg tool is awesome!

Congratulations and keep it evolving!

Cheers!
Hello, sorry for the late reply and thank you for kind words and valuable feedback!

I have good news for you because i managed to reimplement my CLI application in Golang, here is the link to GitHub page: https://github.com/shadowy-pycoder/go-bitcoin-message-tool

It almost the same as Python implementation except that it works much faster, contains less bugs (I finally added some tests to check if it works correctly) and offers some additional features. It also allows you to generate single Bitcoin wallets (by wallet I mean a standard private and public key pair, legacy, nested segwit and native segwit addresses. It takes around 6 secs for my 4 CPU notebook to generate 10000 wallets, which I think is a decent perfomance, especially considering the fact that I use standard library for big numbers arithmetics.

Installation process as simple as running a single command (assuming you have Golang installed on your computer, instructions can be found here https://go.dev/doc/install)

To install the command line tool you have to run this:

Code:
go install github.com/shadowy-pycoder/go-bitcoin-message-tool/cmd/bmt@latest

This will compile an executable program for your operating system and allow you to sign, verify messages and create wallets just by running a single command like bmt or bmt.exe

Alternatively, you can clone GitHub repo and build directly from there, like this:

Code:
https://github.com/shadowy-pycoder/go-bitcoin-message-tool.git

Code:
make build

or

Code:
go build  -o ./bin/ ./cmd/bmt/

Run the application by running this command:

Code:
./bin/bmt

Full instructions on how to use the app you can find here: https://github.com/shadowy-pycoder/go-bitcoin-message-tool/blob/master/README.md