Skip to content

Instantly share code, notes, and snippets.

@garyschulte
Last active April 21, 2020 19:26
Show Gist options
  • Save garyschulte/269c9f67c8ecc38c762d0246a1c4e2ed to your computer and use it in GitHub Desktop.
Save garyschulte/269c9f67c8ecc38c762d0246a1c4e2ed to your computer and use it in GitHub Desktop.
Instructions for building and running prysmatic beacon chain on a pi4
Instructions for building and running prysmatic beacon chain on a pi4:
----------------------------------------------------------------------
* download unofficial arm64 bazel, copy it to /usr/local/bin:
https://github.com/SuburbanDad/bazel/releases/tag/2.1.0-arm64
* clone prysm:
```git clone https://github.com/prysmaticlabs/prysm.git```
* build beacon-chain from prysm repo directory:
```bazel build //beacon-chain:beacon-chain```
* build validator from prysm repo directory:
```bazel build //validator:validator```
* shutdown bazel to conserve memory
```bazel shutdown```
* run the beacon chain in a loop (in case it OOMs):
```while true; do bazel-bin/beacon-chain/linux_arm64_stripped/beacon-chain; sleep 5s; done```
* sip tecates in the kiddie pool while you wait for sync to complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment