mirror of
https://github.com/status-im/status-console-client.git
synced 2025-02-24 08:38:15 +00:00
Use sqlite in protocol Use timestamps the same way as in original code and make chat moke to return hash Use sqlite db in console application Database encrypted with a user address, derived from public key of the user. Pub key is hashed and last 20 bytes are used as an adress. Replace gen.sh with makefile gen-migrations Fix db references Ensure directory is created
Status Console User Interface
This is not an official Status client. It should be used exclusively for development purposes.
The main motivation for writing this client is to have a second implementation of the messaging protocol in order to run protocol compatibility smoke tests. It will also allow us to iterate faster and test some approaches as eventually we want to move the whole messaging protocol details to status-go.
At the same time, it's more powerful than relying on Status Node JSON-RPC commands because it has direct access to the p2p server and the Whisper service.
Start
# build a binary
$ make build
# generate a private key
$ ./bin/status-term-client -create-key-pair
Your private key: <KEY>
# start
$ ./bin/status-term-client -keyhex=<KEY>
# or start and redirect logs
$ ./bin/status-term-client -keyhex=<KEY> 2>/tmp/status-term-client.log
# more options
$ ./bin/status-term-client -h
Packages
The main package contains the console user interface.
github.com/status-im/status-console-client/protocol/v1
contains the current messaging protocol payload encoders and decoders as well as some utilities like creating a Whisper topic for a public chat.
License
Description
Languages
Go
93.9%
Makefile
4.6%
Dockerfile
1.5%