Use the following command to download lukso
inside /usr/local/bin
directory.
sudo curl https://raw.githubusercontent.com/lukso-network/lukso-cli/main/install.sh | sudo bash
to only download the binary use
sudo curl https://raw.githubusercontent.com/lukso-network/lukso-cli/main/install-rc.sh | sudo bash
HERE you can find the documentation of the commands.
The network subcommand contains commands relevant for running a node or adding a validator.
lukso network
The wallet subcommand deals with the properties of a single wallet
lukso wallet
The up subcommand deals with the universal profile smart contracts
lukso up
go install github.com/spf13/cobra-cli@latest
cobra init --pkg-name luksocli
Execute
cobra-cli add [COMMAND_NAME] # lukso-cli
If it is a subcommand of examplecmd then rename the file to
mv cmd/[command_name].go cmd/[examplecmd]_[command_name].go
Generate the doc with
go run main.go docs
Release are created by creating a Git release. Make sure to
- modify install.sh with the desired version
- add updates to CHANGELOG.md
- cmd/root.go -> rootCmd.Version