- Install the Termux app from FDroid or the Google Play store.
- 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.
- Install the dependencies inside the PRoot Ubuntu environment:
$ apt update
$ apt install build-essential git
- Clone and build Nimbus:
$ git clone https://github.com/status-im/nimbus-eth2
$ cd nimbus-eth2
$ make nimbus_beacon_node
- Start Nimbus:
WEB3_URL=wss://mainnet.infura.io/ws/v3/xxxxxxxxxxxxxxxxxxxxxxxxxxx ./run-mainnet-beacon-node.sh
- Visualize Nimbus metrics on Android browser via
http://127.0.0.1:8008/metrics
.