Skip to content

armoniax/amax.meta.chain

Repository files navigation

amax.meta.chain

This is the mother chain of Armonia Multi-chain Platform.

Official Blockchain Explorer

How to build

prepare the dev environment

  1. Hardware requirement
  • Minimum HW Spec: 4 Core CPU, 16 GB RAM
  • Preferred HW Spec: 8 Core CPU, 32 GB RAM
  1. Software requirement
  • OS preferred: Ubuntu 18.04

  • LLVM preferred: version 8

  1. check clang version: clang --version
  2. if the above result shows llvm thats' beyond the scope of 7 to 11, run the following to swith your llvm to version 8
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-8 100

Download source code and make sure you pick the right branch/tag

git clone https://github.com/armoniax/amax.meta.chain.git
cd amax.meta.chain
git checkout $tag
git submodule update --init --recursive

Update version info

Open ./CMakeLists.txt for editing:

set(VERSION_MAJOR 0)
set(VERSION_MINOR 5)
set(VERSION_PATCH 2)

Build the code

./scripts/amax_build.sh -y

How to install

install amcli

./scripts/amax_install.sh