At the moment, Namada only supports Linux and macOS.
This section covers the minimum and recommended hardware requirements for engaging with the Namada as a validator node.
Hardware | Minimal Specifications |
---|---|
CPU | x86_64 or arm64 processor with at least 4 physical cores |
RAM | 16GB DDR4 |
Storage | at least 60GB SSD (NVMe SSD is recommended. HDD will be enough for localnet only) |
There are different ways to install Namada:
If you'd like to install Namada from source you will have to install some dependencies first: Rust, Git, Clang, OpenSSL and LLVM.
First, install Rust by following the instructions from the official page.
At the end of the installation, make sure that Cargo's bin directory ($HOME/.cargo/bin) is available on your PATH environment variable. You can either restart your shell or run source $HOME/.cargo/env
to continue.
If you already have Rust installed, make sure you're using the latest version by running:
rustup update
Then, install the remaining dependencies.
Ubuntu: running the following command should install everything needed:
sudo apt-get install -y make git-core libssl-dev pkg-config libclang-12-dev build-essential
Mac: installing the Xcode command line tools should provide you with almost everything you need:
xcode-select --install
Now, that you have all dependencies installed you can clone the source code from the Namada repository and build it with:
During internal and private testnets, checkout the latest testnet branch using `git checkout $NAMADA_TESTNET_BRANCH`.
git clone https://github.com/anoma/namada.git
cd namada
make install
Prebuilt binaries might not be available for a specific release or architecture, in this case you have to [build from source](#from-source).
If you'd like to install Namada from binaries you will have to install some dependencies first: Tendermint 0.34.x
and GLIBC v2.29
or higher.
Let's install Tendermint.
You can either follow the instructions on the Tendermint guide or download the get_tendermint.sh
script from the Namada repository and execute it (will ask you for root
access):
curl -LO https://raw.githubusercontent.com/namada/anoma/main/scripts/install/get_tendermint.sh
chmod +x get_tendermint.sh
./get_tendermint.sh
Finally, you should have GLIBC v2.29
or higher.
MacOS: the system-provided glibc should be recent enough.
Ubuntu 20.04: this is installed by default and you don't have to do anything more.
Ubuntu 18.04: glibc has v2.27
by default which is lower than the required version to run Namada. We recommend to directly install from source or upgrade to Ubuntu 19.04, instead of updating glibc to the required version, since the latter way can be a messy and tedious task. In case, updating glibc would interest you this website gives you the steps to build the package from source.
Now, that you have all dependencies installed you can download the latest binary release from our releases page by choosing the appropriate architecture.
Go to heliaxdev dockerhub account and pull the image.