Skip to content

Instantly share code, notes, and snippets.

@cc32d9
Last active June 27, 2023 20:17
Show Gist options
  • Save cc32d9/786f45f0f502224155edc622dc83d79d to your computer and use it in GitHub Desktop.
Save cc32d9/786f45f0f502224155edc622dc83d79d to your computer and use it in GitHub Desktop.
Leap 3.2.x build

Building Antelope.IO Leap 3.2.x

The procedure is tested on Ubuntu 20.04 and 22.04.

As a result, binary packages will be placed in build/ subfolder of where you cloned the Git repository (e.g. leap-3.2.3wax01-rc4-ubuntu22.04-x86_64.deb).

If you need to install the binaries in a specific separate directlry (for example, if several different versions of nodeos need to run on the same server), unpack the debian package as follows:

dpkg-deb --vextract ./leap-3.2.3wax01-rc4-ubuntu22.04-x86_64.deb /srv/wax-mandel

Otherwise, install it the usual way:

apt install -y ./leap-3.2.3wax01-rc4-ubuntu22.04-x86_64.deb

Generic nodeos (will work with EOS, Telos, Proton, Jungle, Kylin)

sudo apt update && sudo apt install -y file
LEAPDIR=${HOME}/build/leap
mkdir -p ${LEAPDIR}
cd ${LEAPDIR}
git clone -b release/3.2 --recursive https://github.com/AntelopeIO/leap.git leap-3.2.x
cd leap-3.2.x
sudo bash scripts/install_deps.sh
nice bash scripts/pinned_build.sh ${LEAPDIR}/leap-3.2.x-deps ${LEAPDIR}/leap-3.2.x/build $(nproc)

WAX nodeos (required to run on WAX mainnet and testnet)

sudo apt update && sudo apt install -y file
LEAPDIR=${HOME}/build/leap
mkdir -p ${LEAPDIR}
cd ${LEAPDIR}
git clone --recursive https://github.com/cc32d9/wax-leap.git wax-leap-3.2.x
cd wax-leap-3.2.x
sudo bash scripts/install_deps.sh
nice bash scripts/pinned_build.sh ${LEAPDIR}/leap-3.2.x-deps ${LEAPDIR}/wax-leap-3.2.x/build $(nproc)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment