MitchelNode
  • MitchelNode
  • Althea
  • Haqq
  • Kroma
  • BounceBit
  • Babylon
  • Allora
  • Dill
Powered by GitBook
On this page

Allora

Installation Guide for Allora Node

To install the Allora node, follow these steps:

Server Preparation

  1. Update the system and install necessary packages: Open the terminal and run the commands:

    sudo apt -q update
    sudo apt -qy install curl git jq lz4 build-essential
    sudo apt -qy upgrade
  2. Install Go: Remove any previous version of Go (if any) and install the new one:

    sudo rm -rf /usr/local/go
    curl -Ls https://go.dev/dl/go1.19.8.linux-amd64.tar.gz | sudo tar -xzf - -C /usr/local
    eval $(echo 'export PATH=$PATH:/usr/local/go/bin' | sudo tee /etc/profile.d/golang.sh)
    eval $(echo 'export PATH=$PATH:$HOME/go/bin' | tee -a $HOME/.profile)

Downloading and Building Binaries

  1. Clone the project repository:

    cd $HOME
    rm -rf allora
    git clone https://github.com/allora-network/allora-chain.git allora
    cd allora
    git checkout v0.2.14
  2. Build the binaries:

    make install
  3. Prepare binaries for Cosmovisor:

    mkdir -p .allorad/cosmovisor/genesis/bin
    mv ~/go/bin/allorad .allorad/cosmovisor/genesis/bin/
    rm -rf build

Node Configuration

  1. Configure the node:

    allorad config chain-id allora-testnet-1
    allorad config node tcp://localhost:26757
  2. Initialize the node: Replace YOUR_MONIKER_GOES_HERE with your validator name:

    MONIKER="YOUR_MONIKER_GOES_HERE"
    allorad init $MONIKER --chain-id allora-testnet-1
  3. Download genesis and addrbook:

    curl -Ls https://raw.githubusercontent.com/allora-network/networks/main/allora-testnet-1/genesis.json > .allorad/config/genesis.json
    curl -Ls https://snapshots.lavenderfive.com/testnet-addrbooks/allora/addrbook.json > .allorad/config/addrbook.json
  4. Add seeds:

    seeds="3d3b82e78875b4607c2612b530e835dffde77824@seed-0.edgenet.allora.network:32030,7f47aec3539715a70853589bd7ef8d2fd7995122@seed-1.edgenet.allora.network:32031"
    sed -i -e "s|^seeds *=.*|seeds = \"$seeds\"|" .allorad/config/config.toml
  5. Set minimum gas price:

    sed -i -e "s|^minimum-gas-prices *=.*|minimum-gas-prices = \"0uallo\"|" .allorad/config/app.toml
  6. Configure pruning:

    sed -i \
    -e 's|^pruning *=.*|pruning = "custom"|' \
    -e 's|^pruning-keep-recent *=.*|pruning-keep-recent = "100"|' \
    -e 's|^pruning-keep-every *=.*|pruning-keep-every = "0"|' \
    -e 's|^pruning-interval *=.*|pruning-interval = "19"|' \
    .allorad/config/config.toml

Starting the Node

  1. Start the node:

    allorad start
  2. Check the node status: Ensure that the node is running correctly by checking the logs:

    curl -so- http://localhost:26657/status | jq .result.sync_info.catching_up

    Wait until you see the output: "catching_up": false.

PreviousBabylonNextDill

Last updated 9 months ago