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 curl jq lz4 -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 versionInstall the Saga Security Chain
You can install the sscd binary from source.
git clone -b v0.4.0 https://github.com/sagaxyz/ssc && cd ssc
make installIf 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.4.0 -X github.com/cosmos/cosmos-sdk/version.Commit=ddd7437764fa0d047e105dd64e60b3541234702c -X "github.com/cosmos/cosmos-sdk/version.BuildTags=netgo ledger," -X github.com/cometbft/cometbft/version.TMCoreSemVer=v0.38.12' ./...And if you use the command sscd, you should have this output and you are ready to go:
If instead you receive sscd command not found, you may need to verify that the PATH is correct (after GO installation).
Last updated