git clone https://github.com/gitshock-labs/go-client.git
cd go-client
git checkout main
go build -o gitshockd main.go
sudo mv gitshockd /usr/local/bin
After installation is done, check that the gitshockd binaries have been successfully installed:
gitshockd version
gitshockd is the all-in-one command-line interface. It supports building blockchain with costume genesis block, wallet management, queries and transaction operations
Build and Configuration
gitshockd [command]
gitshockd
Usage:
[command]
Available Commands:
backup Create blockchain backup file by fetching blockchain data from the running node
completion Generate the autocompletion script for the specified shell
genesis Generates the genesis configuration file with the passed in parameters
help Help about any command
ibft Top level IBFT command for interacting with the IBFT consensus. Only accepts subcommands.
license Returns Gitshock Edgeware license and dependency attributions
loadbot Runs the loadbot to stress test the network
monitor Starts logging block add / remove events on the blockchain
peers Top level command for interacting with the network peers. Only accepts subcommands.
secrets Top level SecretsManager command for interacting with secrets functionality. Only accepts subcommands.
server The default command that starts the Gitshock Edgeware client, by bootstrapping all modules together
status Returns the status of the Gitshock Edgeware client
txpool Top level command for interacting with the transaction pool. Only accepts subcommands.
version Returns the current Gitshock Edgeware version
whitelist Top level command for modifying the Gitshock Edgeware whitelists within the config. Only accepts subcommands.