Install the GameID binary for interacting with a Gameluk chain
This guide assumes that the necessary dependencies have been installed. To interact with the Gameluk blockchain, the GameID command-line tool should be used. To install GameID, please select the appropriate version from this link and execute the following commands:
// git clone https://github.com/GameLuk/gameluk-core
cd Gameluk-chain
git checkout $RELEASE
make install
You can verify that GAMEID was installed properly by running
// $ GameID version
3.3.3
If you see an error like command not found: GameID then you may need to set your GOPATH environment variable.
1. Use go env GOPATH to find your GOPATH
2. add
export GOPATH=[your GOPATH from step 1]
export PATH=$PATH:$GOPATH/bin
to your ~/.bashrc
GameID supports general Cosmos SDK and Tendermint commands. You can run the tool to see a list of commands with explanations of what they do:
// Start Gameluk app
Usage:
GameID [command]
Available Commands:
add-genesis-account Add a genesis account to genesis.json
add-wasm-genesis-message Wasm genesis subcommands
collect-gentxs Collect genesis txs and output a genesis.json file
config Create or query an application CLI configuration file
debug Tool for helping with debugging your application
export Export state to JSON
gentx Generate a genesis tx carrying a self delegation
help Help about any command
init Initialize private validator, p2p, genesis, and application configuration files
keys Manage your application's keys
migrate Migrate genesis to a specified target version
query Querying subcommands
rollback rollback cosmos-sdk and tendermint state by one height
start Run the full node
status Query remote node for status
tendermint Tendermint subcommands
tx Transactions subcommands
validate-genesis validates the genesis file at the default location or at the location passed as an arg
version Print the application binary version information
Flags:
-h, --help help for gameid
--home string directory for config and data (default "/root/.sei")
--log_format string The logging format (json|plain) (default "plain")
--log_level string The logging level (trace|debug|info|warn|error|fatal|panic) (default "info")
--trace print out full stack trace on errors
Use "gameid [command] --help" for more information about a command.