mirror of
https://github.com/PeernetOfficial/Cmd.git
synced 2026-07-17 02:47:52 +01:00
c16aac36a83542a70421b6a06bf024cdf7bbd86a
Peernet Command Line Client
This is the command line client used for testing, debug and development purposes. It uses the core library. Check the core library for optional settings.
This client can be used as root peer to help speed up discovery of peers and data.
Compile
First get all the dependencies. Below list contains both dependencies from the core package and this tool.
go get -u github.com/PeernetOfficial/core
go get -u github.com/btcsuite/btcd/btcec
go get -u github.com/libp2p/go-reuseport
go get -u lukechampine.com/blake3
To build:
go build
Use
The settings filename is hard-coded to Settings.yaml and is created on the first run. Please see the core library for individual settings to change.
Simply start it and then use the listed commands:
C:\Peernet\Cmd>Cmd
Peernet Cmd 0.1
------------------------------
Please enter a command:
help Show this help
net list Lists all network adapters and their IPs
status Get current status
chat Send text to all peers
peer list List current peers
debug key create Create Public-Private Key pair
debug key self List current Public-Private Key pair
Description
Languages
Go
100%