๐Ÿ‘ฉโ€๐Ÿ’ป
Galactica Network Dev Documentation
  • ๐Ÿ“™Galactica Network Overview
  • ๐ŸงฌGalactica Concepts
    • โ›“๏ธBlockchain Base
    • ๐ŸงพZero-Knowledge KYC
      • Holder Commitment
      • DApp specific HumanID
      • Verification SBT
      • KYC Guardian
      • Galactica Investigation Module
      • Privacy Precautions
    • ๐ŸŒŸReputation
    • ๐Ÿ›‚Contingent Transactions
  • โš™๏ธGalactica Components
    • ๐ŸฆŠGalactica Snap for Metamask
    • ๐ŸŒณRoot Contracts
  • ๐Ÿ—๏ธBuilding a Galactica DApp
    • Example DApps
      • Compliant ERC20
      • Cypherbook
      • Compliant DEX
      • Sybil resistant airdrop
    • Front End
      • Guided Example
        • Connect to Galactica Snap
        • Prepare ZK proof generation
        • Generate and submit ZK proof
        • Handle Verification SBTs
      • Galactica Snap JSON-RPC API
    • Smart Contracts
    • Custom Zero Knowledge Disclosures
  • ๐Ÿ“Guardian Guide
    • Setup to become a Guardian
    • Create and issue ZK certificate
      • ๐ŸชชzkKYC (GIP-1)
      • Arbitrary ZK data certificate (GIP-2)
      • X/Twitter ZK certificate (GIP-3)
      • REY X/Twitter Score ZK certificate (GIP-4)
      • Decentralised Exchange (DEX) ZK certificate (GIP-5)
      • Centralised Exchange (CEX) ZK certificate (GIP-6)
      • Telegram ZK certificate (GIP-7)
  • โ›๏ธValidator Guide
    • ๐Ÿ”งInstallation
    • ๐Ÿ”—Become a Validator
    • ๐Ÿš€galacticad CLI Usage Cheat Sheet
    • ๐Ÿ”’Security Best Practices
  • ๐ŸงชTestNet: Reticulum
    • Release Notes
  • ๐ŸงชDevNet: Andromeda
    • Release Notes
  • ๐Ÿ“ŽChangelog
Powered by GitBook
On this page
  • Who are Validators?
  • Install galactica
  • Hardware Recommended Specifications:
  • Steps to Validatorship
  • Network Configurations

Was this helpful?

  1. Validator Guide

Become a Validator

PreviousInstallationNextgalacticad CLI Usage Cheat Sheet

Last updated 7 months ago

Was this helpful?

This guide outlines the journey to becoming a validator, a crucial role that contributes to the network's security and governance.

Who are Validators?

Validators are network participants who validate transactions and blocks, ensuring the integrity and security of the blockchain. They play a vital role in the consensus mechanism and, in return, receive rewards for their contributions.

Install galactica

Start by preparing your environment according to the official documentation. Refer to the for detailed steps.

Hardware Recommended Specifications:

Component
Specification

CPU

Modern 4-core (or higher) processor, 2.5 GHz minimum clock speed

Memory (RAM)

16 GB minimum, 32 GB or more recommended for high transaction volumes

Storage

SSD with at least 500 GB, NVMe SSDs preferred for faster data transfer rates

Network

Stable and fast internet connection with at least 100 Mbps up/down speeds

Operating System

Recent version of Linux, e.g., Ubuntu 20.04 LTS, with regular security updates

These specifications serve as a guideline. Adjustments may be necessary based on network conditions and individual use cases.

Steps to Validatorship

  1. Initialize Your Node: Initialize your node with a unique moniker.

    galacticad init [your-moniker] --chain-id [appropriate_chain_id]
  2. Configure Your Node: Set up the node configuration to communicate with the blockchain.

    galacticad config node [RPC_node_URL]
  3. Generate a Private Key: Create a new private key for your validator.

    galacticad keys add [your-key-name]
  4. Set Up Genesis and Seeds: Download the genesis file and configure seed nodes.

    wget [genesis_file_url] -O ~/.galactica/config/genesis.json

    Configure your config.toml with seed nodes:

    # download the seeds.txt file:
    wget [seeds.txt_file_url] -O ~/.galactica/config/seeds.txt
    
    # set seeds in the config.toml file
    seeds=$(cat ~/.galactica/config/seeds.txt | tr '\n' ',' | sed 's/,$//')
    sed -i '' "s/seeds = \"\"/seeds = \"$seeds\"/" ~/.galactica/config/config.toml

    You can find the seed nodes in the genesis file or the .

  5. Register as a Validator: Submit a create-validator transaction.

    galacticad tx staking create-validator \
     --chain-id=[appropriate_chain_id] \
     --amount=[amount_agnet] \
     --pubkey=$(galacticad tendermint show-validator) \
     --moniker="[your-moniker]" \
     --details="your-details" \
     --identity="id-from-keybase" \
     --website="https://your-website" \
     --security-contact="your-email" \
     --commission-rate="0.05" \
     --commission-max-rate="0.1" \
     --commission-max-change-rate="0.02" \
     --min-self-delegation="1" \
     --gas="300000" \
     --gas-prices="100agnet" \
     --from=[your-key-name]

    Replace [amount_agnet] with the amount of tokens you wish to stake in agnet. For example 100 GNET equals 100 * 10^18 agnet = 100000000000000000000agnet. To produce blocks on the testnet, your node's stake+delegation needs to raise to the .

  6. Delegate Tokens: Optionally, delegate tokens to your validator.

    galacticad tx staking delegate \
     $(galacticad keys show [your-key-name] --bech val -a) \
     [amount_agnet] \
     --gas="300000" \
     --gas-prices="100agnet" \
     --from=[your-key-name]
  7. Launch Your Validator Node: Start your node to begin validating.

    galacticad start --chain-id [appropriate_chain_id]
  8. Change RPC Node URL: If you wish to change the client's RPC node URL to your local node, run the following command:

     galacticad config node tcp://localhost:26657
  9. Check node status: Check the status of your node by running the following command:

    galacticad status

Network Configurations

For network-specific details like chain IDs and node URLs, please refer to the designated pages:

This guide provides a general overview. Dive into the world of Galactica Network and contribute to its growth and security as a validator.

โ›๏ธ
๐Ÿ”—
๐Ÿงช TestNet: Reticulum
๐Ÿงช DevNet: Andromeda
Installation Guide
top 100, the validator set
network-specific documentation