Installation Steps
Prerequisite: go1.19 required ref (build using higher versions cause consensus error)
sudo snap install go --channel=1.19/stable --classicPrerequisite: git ref
sudo apt install -y git gcc makePrerequisite: Set environment variables
sudo nano $HOME/.profile
# Add the following two lines at the end of the file
GOPATH=$HOME/go
PATH=$GOPATH/bin:$PATH
# Save the file and exit the editor
source $HOME/.profile
# Now you should be able to see your variables like this:
echo $GOPATH
/home/[your_username]/go
echo $PATH
/home/[your_username]/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/binRecommended requirement: Increase 'number of open files' limit
sudo nano /etc/security/limits.conf
# Before the end of the file, add:
[your_username] soft nofile 4096
# Then reboot the instance for it to take effect and check with:
ulimit -SnOptional requirement: GNU make ref
Clone the git repository and Network
git clone https://github.com/sge-network/sge
git clone https://github.com/sge-network/networksCheckout release tag
cd sge
git fetch --tags
git checkout v1.1.0Install
cd sge
go mod tidy
make installGenerate keys
sged keys add [key_name]
or
sged keys add [key_name] --recover to regenerate keys with your BIP39 mnemonic
Last updated