Find answers instantly with AI search. Start typing your prompt below and let AI do the digging for you!

Installation

At present, the Saga Security Chain fully supports installation on Linux distributions. For the purpose of this instruction set, we'll be using Ubuntu 20.04.3 LTS. It is also possible to install sscd on Unix, while Windows may require additional unsupported third party installations.

Before installing the Saga Security Chain binary, we will need to install some dependencies using this script below:

sudo apt update
sudo apt upgrade -y
sudo apt install build-essential make wget git daemon -y

# installing go
wget https://golang.org/dl/go1.20.4.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.20.4.linux-amd64.tar.gz
echo 'export PATH=$PATH:/usr/local/go/bin:/home/$(whoami)/go/bin' >> $HOME/.profile && source $HOME/.profile

go version

Install the Saga Security Chain

You can install the sscd binary from source.

git clone -b v0.1.5 https://github.com/sagaxyz/ssc && cd ssc
make install

If everything is going correctly, you should see this on your terminal:

Installing...
LEDGER_ENABLED=true go install -mod=readonly -tags "netgo ledger" -ldflags '-X github.com/cosmos/cosmos-sdk/version.Name=ssc -X github.com/cosmos/cosmos-sdk/version.AppName=sscd -X github.com/cosmos/cosmos-sdk/version.Version=v0.1.5 -X github.com/cosmos/cosmos-sdk/version.Commit=4187f2d30c8cde41640a52fb4395f3c295b903ab -X "github.com/cosmos/cosmos-sdk/version.BuildTags=netgo,ledger" -X github.com/cometbft/cometbft/version.TMCoreSemVer=v0.37.2' ./...

And if you use the command sscd, you should have this output and you are ready to go:

Start ssc node

Usage:
  sscd [command]

Available Commands:
  add-genesis-account Add a genesis account to genesis.json
  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 sscd
      --home string         directory for config and data (default "/Users/leonardodigiorgio/.ssc")
      --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 "sscd [command] --help" for more information about a command.

If instead you receive sscd command not found, you may need to verify that the PATH is correct (after GO installation).

Last updated