Installation
Manual Installation
sudo rm -rf /usr/local/go
wget https://go.dev/dl/go1.21.3.linux-amd64.tar.gz
tar xf go1.21.3.linux-amd64.tar.gz
rm "go1.21.3.linux-amd64.tar.gz"
sudo mv go /usr/local/go
go version
If you have installed go before
echo "export PATH=$PATH:/usr/local/go/bin:~/go/bin" >> $HOME/.bashrc
source ~/.bashrc
go version
Download Binary
rm -rf galactica
git clone https://github.com/Galactica-corp/galactica
cd galactica
git checkout v0.1.2
make build
cp $HOME/galactica/build/galacticad $HOME/go/bin
Setup variables
# set variables
echo "export WALLET="wallet"" >> $HOME/.bash_profile
echo "export MONIKER="test"" >> $HOME/.bash_profile
echo "export GALACTICA_CHAIN_ID="galactica_9302-1"" >> $HOME/.bash_profile
echo "export GALACTICA_PORT="46"" >> $HOME/.bash_profile
source $HOME/.bash_profile
Config and init app
# config and init app
galacticad config node tcp://localhost:${GALACTICA_PORT}657
galacticad config keyring-backend os
galacticad config chain-id galactica_9302-1
galacticad init "linkednode" --chain-id galactica_9302-1