Galactia

Galactica Network The zk-powered L1 blockchain for real people, real-world on/off-ramps, and real privacy

Website: https://galactica.com/

Twitter: https://twitter.com/GalacticaNet

Discord: https://discord.com/invite/galactica

Faucet: https://faucet-reticulum.galactica.com/

Explorer: https://explorer.nodesync.top/Galactica-Testnet/staking

1. Minimum hardware requirement

2 Cores, 4G Ram, 80G SSD, Ubuntu 22.04

2. Auto Install

Copy

if ! which wget; then sudo apt install wget -y; fi && wget https://nodesync.top/galactica_auto && chmod +x galactica_auto && ./galactica_auto

2.1 Wallet

Add New Wallet Key - Save seed

Copy

galacticad keys add wallet

Recover existing key

Copy

galacticad keys add wallet --recover

List All Keys

Copy

galacticad keys list

Get Wallet Hex (your wallet address in eth format: 0x....)

Copy

galacticad keys convert-bech32-to-hex $(galacticad keys show wallet -a)

2.2 Query Wallet Balance

Copy

galacticad q bank balances $(galacticad keys show wallet -a)

2.3 Check sync status

False is synced

Copy

galacticad status 2>&1 | jq .SyncInfo.catching_up

2.4 Create Validator

Change your info "xxx"

Copy

galacticad tx staking create-validator \
--amount 9000000000000000000agnet \
--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 "xxx" \
--identity "xxx" \
--details "xxx" \
--website "xxx" \
--security-contact "email@xxx" \
--chain-id galactica_9302-1 \
--gas 200000 \
--gas-prices 10agnet \
-y

2.5 Edit Existing Validator

Change your info "xxx"

Copy

galacticad tx staking edit-validator \
--commission-rate 0.1 \
--new-moniker "xxx" \
--identity "xxx" \
--details "I love blockchain ❤️" \
--from wallet \
--chain-id galactica_9302-1 \
--gas 200000 \
--gas-prices 10agnet \
-y

2.6 Delegate Token to your own validator

Copy

galacticad tx staking delegate $(galacticad keys show wallet --bech val -a) 1000000000000000000agnet --from wallet --chain-id galactica_9302-1 --gas 200000 --gas-prices 10agnet  -y

2.7 Withdraw rewards and commission from your validator

Copy

galacticad tx distribution withdraw-rewards $(galacticad keys show wallet --bech val -a) --from wallet --commission --chain-id galactica_9302-1 --gas 200000 --gas-prices 10agnet -y

2.8 Unjail validator

Copy

galacticad tx slashing unjail --from wallet--chain-id galactica_9302-1 --gas 200000 --gas-prices 10agnet -y

2.9 Services Management

Copy

# Reload Service
sudo systemctl daemon-reload

# Enable Service
sudo systemctl enable galacticad

# Disable Service
sudo systemctl disable galacticad

# Start Service
sudo systemctl start galacticad

# Stop Service
sudo systemctl stop galacticad

# Restart Service
sudo systemctl restart galacticad

# Check Service Status
sudo systemctl status galacticad

# Check Service Logs
sudo journalctl -u galacticad -f --no-hostname -o cat

3. Backup Validator

Important

Copy

cat $HOME/.galactica/config/priv_validator_key.json

4. Remove node

Copy

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)

PreviousHedgeNextTestnet List

Last updated