Skip to content

Instantly share code, notes, and snippets.

@bernardoaraujor
Last active November 30, 2021 00:07
Show Gist options
  • Save bernardoaraujor/4afba7da3637ff66b1111ce2346818b4 to your computer and use it in GitHub Desktop.
Save bernardoaraujor/4afba7da3637ff66b1111ce2346818b4 to your computer and use it in GitHub Desktop.
Nimbus Eth2 on Android Termux
  1. Install the Termux app from FDroid or the Google Play store.
  2. Install a PRoot of your choice following the instructions for your preferred distribution. Note, the Ubuntu PRoot is known to contain all Nimbus prerequisites compiled on Arm64 architecture (the most common architecture for Android devices).
$ pkg install proot
$ pkg install proot-distro
$ proot-distro install ubuntu
$ proot-distro login ubuntu

Here, we are already inside the PRoot Ubuntu environment.

  1. Install the dependencies inside the PRoot Ubuntu environment:
$ apt update
$ apt install build-essential git
  1. Clone and build Nimbus:
$ git clone https://github.com/status-im/nimbus-eth2
$ cd nimbus-eth2
$ make nimbus_beacon_node
  1. Start Nimbus:
WEB3_URL=wss://mainnet.infura.io/ws/v3/xxxxxxxxxxxxxxxxxxxxxxxxxxx ./run-mainnet-beacon-node.sh
  1. Visualize Nimbus metrics on Android browser via http://127.0.0.1:8008/metrics.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment