🌅
Sunrise / Gluon Docs
  • Home
    • 👋Sunrise
  • 📜Learn
    • 🌆Sunrise
      • Proof of Liquidity
      • Fee Abstraction
      • Data Availability
      • Gauges Voting
      • Liquidity Pool
      • Liquidity Incentive
      • Swap
      • TokenConverter
      • Fee
      • Lockup Account
      • Bribes
    • 💴$RISE
      • Allocations
    • 🏦Gluon
    • 💴$GLU
    • 🎓Thesis
      • App chain thesis
      • Interoperability
  • 🛠️Build
    • 🚀Quick Start
    • Client
    • L2 Blockchains
      • Rollkit
        • Sunrise Data
        • Rollkit L2 Chain
      • OP Stack
        • Sunrise Data
        • OP Stack L2 Chain
    • Validators
      • Proof of Data Availability
      • Self Delegation
  • 🏗️Run a Sunrise Node
    • Networks
    • Types of Nodes
      • Consensus
        • Full Consensus Node
        • Validator Node (Genesis)
        • Validator Node
        • Setup Cosmovisor
      • IBC Relayers
    • Resources
      • Upgrade
      • Environment
  • 🏗️Run a Gluon Node
    • Networks
    • Node
      • Validator Node
  • 🔗Links
    • GitHub
    • Discord
    • X (Twitter)
    • Medium
    • dev.to
  • 📓Deprecated (UnUniFi)
    • IBC Channels
    • Security
    • CosmWasm
      • Tutorial
      • Create Project
    • IYA Strategy
      • Interface
      • External CosmWasm chain with IBCHooks
      • External EVM chain with Axelar
    • Frontend
      • Cosmos Client TS
    • Resources
    • Setup ununifid
    • ununifid
      • Basic Commands
      • Module Commands
        • wasm
    • Build a Node
    • Build a Validator Node
    • Setup Cosmovisor
    • Mainnet Upgrades
    • IBC Relayer
Powered by GitBook
On this page
  • Choose an Operating System
  • Requirements
  • Install pre-requisites
  • Install Go
  • Build UnUniFi from source
  1. Deprecated (UnUniFi)

Setup ununifid

Instruction to install the ununifid binary

Choose an Operating System

The operating system you use for your node is entirely your personal preference. You will be able to compile the ununifid daemon on most modern linux distributions and recent versions of macOS

For the tutorial, it is assumed that you are using an Ubuntu LTS release. If you have chosen a different operating system, you will need to modify your commands to suit your operating system.

Requirements

Validator Node Server

  • Memory: 8 GB or more

  • Storage: SSD 160 GB or more

  • The following ports: 26656 must be open for peer to peer communication between nodes.

We will write examples as if you are using an Ubuntu LTS release.

Install pre-requisites

# update the local package list and install any available upgrades
sudo apt update && sudo apt upgrade -y
# install toolchain and ensure accurate time synchronization
sudo apt install build-essential git jq -y

Install Go

# Please install Go v1.19
# from $HOME dir
$ wget https://go.dev/dl/go1.19.linux-amd64.tar.gz
$ sudo rm -rf /usr/local/go
$ sudo tar -C /usr/local -xzf go1.19.linux-amd64.tar.gz
$ go version
go version go1.19 linux/amd64

Unless you want to configure in a non standard way, then set these in the .bash_profile in the user's home (i.e. ~/) folder.

echo "export GOROOT=/usr/local/go" >> ~/.bash_profile
echo "export GOPATH=$HOME/go" >> ~/.bash_profile
echo "export GO111MODULE=on" >> ~/.bash_profile
echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> ~/.bash_profile

After updating your ~/.bash_profile you will need to source it:

source ~/.bash_profile

Build UnUniFi from source

Clone the UnUniFi blockchain repository, check out the given branch, and build it with make install to build binaries.

# from $HOME dir
git clone https://github.com/UnUniFi/chain chain_repo
cd chain_repo
git checkout v3.1.0
make install

To confirm that the installation has succeeded, you can run:

ununifid version
PreviousResourcesNextununifid

Last updated 8 months ago

Follow the instructions to install Go. For an Ubuntu LTS, you can probably use:

📓
here