Info
Faucet:
Public Endpoints
API:
RPC:
Explorer
Manual Installation
Install Dependencies
sudo apt update && sudo apt upgrade -y
sudo apt install curl git wget htop tmux build-essential jq make lz4 gcc unzip -y
Set Environment Variables
echo "export WALLET="wallet"" >> $HOME/.bash_profile
echo "export MONIKER="Your_nodename"" >> $HOME/.bash_profile
echo "export GALACTICA_CHAIN_ID="galactica_9301-1"" >> $HOME/.bash_profile
echo "export GALACTICA_PORT="46"" >> $HOME/.bash_profile
source $HOME/.bash_profile
Install Go
cd $HOME
VER="1.21.3"
wget "https://golang.org/dl/go$VER.linux-amd64.tar.gz"
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf "go$VER.linux-amd64.tar.gz"
rm "go$VER.linux-amd64.tar.gz"
[ ! -f ~/.bash_profile ] && touch ~/.bash_profile
echo "export PATH=$PATH:/usr/local/go/bin:~/go/bin" >> ~/.bash_profile
source $HOME/.bash_profile
[ ! -d ~/go/bin ] && mkdir -p ~/go/bin
Download and Build Galactica
cd $HOME
rm -rf galactica
git clone https://github.com/Galactica-corp/galactica
cd galactica
git checkout v0.1.1
make build
mv $HOME/galactica/build/galacticad $HOME/go/bin
Configure and Initialize the App
galacticad config node tcp://localhost:${GALACTICA_PORT}657
galacticad config keyring-backend os
galacticad config chain-id galactica_9301-1
galacticad init "Your_nodename" --chain-id galactica_9301-1
Download Genesis and Addrbook
wget -O addrbook.json https://raw.githubusercontent.com/Validator247/Galactica-Network/main/addrbook.json
wget -O genesis.json https://raw.githubusercontent.com/Validator247/Galactica-Network/main/genesis.json
Configure Pruning, Minimum Gas Price, Prometheus, and Indexing
sed -i -e "s/^pruning *=.*/pruning = \"custom\"/" $HOME/.galactica/config/app.toml
sed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"100\"/" $HOME/.galactica/config/app.toml
sed -i -e "s/^pruning-interval *=.*/pruning-interval = \"50\"/" $HOME/.galactica/config/app.toml
sed -i 's|minimum-gas-prices =.*|minimum-gas-prices = "10agnet"|g' $HOME/.galactica/config/app.toml
sed -i -e "s/prometheus = false/prometheus = true/" $HOME/.galactica/config/config.toml
sed -i -e "s/^indexer *=.*/indexer = \"null\"/" $HOME/.galactica/config/config.toml
Create Systemd Service
sudo tee /etc/systemd/system/galacticad.service > /dev/null <<EOF
[Unit]
Description=Galactica node
After=network-online.target
[Service]
User=$USER
WorkingDirectory=$HOME/.galactica
ExecStart=$(which galacticad) start --home $HOME/.galactica --chain-id galactica_9301-1
Restart=on-failure
RestartSec=5
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
Reset and Download Snapshot
galacticad tendermint unsafe-reset-all --home $HOME/.galactica
if curl -s --head curl https://testnet-files.itrocket.net/galactica/snap_galactica.tar.lz4 | head -n 1 | grep "200" > /dev/null; then
curl https://testnet-files.itrocket.net/galactica/snap_galactica.tar.lz4 | lz4 -dc - | tar -xf - -C $HOME/.galactica
else
echo no have snap
fi
Enable and Start the Service
sudo systemctl daemon-reload
sudo systemctl enable galacticad
sudo systemctl restart galacticad && sudo journalctl -u galacticad -f
Wallet
Add New Wallet Key
galacticad keys add wallet
Get Wallet Hex
galacticad keys convert-bech32-to-hex $(galacticad keys show wallet -a)
check Balance
galacticad q bank balances $(galacticad keys show wallet -a)
Create Validator
galacticad tx staking create-validator \
--amount 1000000000000000000agnet \
--from wallet \
--commission-rate 0.1 \
--commission-max-rate 0.2 \
--commission-max-change-rate 0.01 \
--min-self-delegation 1 \
--pubkey $(galacticad tendermint show-validator) \
--moniker βYour-nodenameβ \
--identity βkeybase \
--details βlove you foreverβ \
--website βyour-webβ \
--security-contact βyour-mailβ \
--chain-id galactica_9302-1 \
--gas-prices 10agnet \
--gas 300000 \
--yes
Edit Existing Validator
galacticad tx staking edit-validator \
--commission-rate 0.1 \
--new-moniker "new-moniker" \
--identity "new-kepase" \
--details "To The Moon" \
--from wallet \
--chain-id galactica_9302-1 \
--gas-prices 10agnet \
--gas 300000 \
-y
Delegate Token to your own validator
galacticad tx staking delegate $(galacticad keys show wallet --bech val -a) 1000000000000000000agnet --from wallet --chain-id galactica_9302-1 --gas-prices 10agnet -y
Unjail validator
galacticad tx slashing unjail --from wallet--chain-id galactica_9302-1 --gas-prices 10agnet -y
Remove node
cd $HOME
sudo systemctl stop galacticad
sudo systemctl disable galacticad
rm -rf /etc/systemd/system/galacticad.service
rm -rf .galactica
rm -rf galactica
rm -rf $(which galacticad)
Vote
galacticad tx gov vote 1 yes --from=wallet --gas-prices=10agnet --chain-id=galactica_9302-1 -y