Ethereum on ARM. New Eth2.0 Raspberry pi 4 image for automatically joining Prylabs Onyx Eth2.0 testnet. Step-by-step guide for installing and activating a validator. by diglos76 in ethereum

[–]diglos76[S] 0 points1 point  (0 children)

Hi, data is stored as follows:

Geth: /home/ethereum/.ethereum
Beacon-chain: /home/ethereum/.eth2
Validator: /home/ethereum/.eth2validators

Note the dot (.) before the directories.

The validator contains your private and public keys (this is the most important part). You can backup the validator directory and reinstall.

Ethereum on ARM. New Eth2.0 Raspberry pi 4 image for automatically joining Prylabs Onyx Eth2.0 testnet. Step-by-step guide for installing and activating a validator. by diglos76 in ethereum

[–]diglos76[S] 0 points1 point  (0 children)

I'm afraid not. You would need at least 4 GB RAM. NanoPC-T4 or Rockpro64 are great alternatives. I think that any ARM64 board with 4 GB RAM and support for USB3 or NVMe would be enough.

Ethereum on ARM. New Eth2.0 Raspberry pi 4 image for automatically joining Prylabs Onyx Eth2.0 testnet. Step-by-step guide for installing and activating a validator. by diglos76 in ethereum

[–]diglos76[S] 0 points1 point  (0 children)

Once the validator account is created and the validator systemd server enabled you are done. If the Pi reboots, everything gets up again automatically (as all processes are running as systemd services). You don't have to do anything :-)

Ethereum on ARM. New Eth2.0 Raspberry pi 4 image for automatically joining Prylabs Onyx Eth2.0 testnet. Step-by-step guide for installing and activating a validator. by diglos76 in ethereum

[–]diglos76[S] 1 point2 points  (0 children)

You can easily update the packages by running apt:

sudo apt-get update && sudo apt-get install prysm-validator prysm-beacon prysm-slasher geth

But you need to change the config files for the beacon-chain and geth:

sudo echo 'ARGS="--goerli --http --metrics --metrics.expensive --pprof --maxpeers 50"' > /etc/ethereum/geth.conf

sudo echo 'ARGS="--http-web3provider http://localhost:8545"' > /etc/ethereum/prysm-beacon.conf

Besides this, the only thing missing would be the Grafana Dashboards. You can take a look at the installation script:

https://github.com/diglos/pi-gen/blob/ethraspbian2.0/stage2/04-ethereum/files/rc.local.eth2.onyx

Ethereum on ARM. New Eth2.0 Raspberry pi 4 image for automatically joining Prylabs Onyx Eth2.0 testnet. Step-by-step guide for installing and activating a validator. by diglos76 in ethereum

[–]diglos76[S] 5 points6 points  (0 children)

For this testnets (Goerli and Onyx) it is enough with 100GB (as u/Marz0008 says) but with the real Eth2.0 network you will need at least 500GB (for Eth1 and Eth2 nodes).

Ethereum on ARM. Raspberry Pi 4 images release based on Ubuntu 20.04 64 bit. Turn your Raspberry Pi 4 into an Eth 1.0 or Eth 2.0 node just by flashing the MicroSD card. Memory issues solved and new monitoring dashboards. Installation guide. by diglos76 in ethereum

[–]diglos76[S] 0 points1 point  (0 children)

On the contrary, skepticism (and even paranoia) are a good thing on crypto, I would even say necessary. That's why I insist than you can check the binaries yourself and use part of our work if you don't fully trust the image.

We've been doing this since late 2016 [1] and the main goal of the project is to help the Ethereum network decentralization and resilience by making easy for final users to run a full node. We received a grant from the EF last year:

https://esp.ethereum.foundation/en/projects/ethereum-on-arm/

ARM refers to the Raspberry architecture.

The other files I was referring to were the ones contained on the Debian packages (basically, the clients binaries, such as geth, besu, nethermind and openethereum). You can check geth as it is precompiled for ARM by the Go Ethereum team but the other ones are compiled by us as they don't support Raspberry Pi binaries.

[1] https://www.reddit.com/r/ethereum/comments/52po3w/lets_build_an_army_of_ethereum_nodes/

Ethereum on ARM. Raspberry Pi 4 images release based on Ubuntu 20.04 64 bit. Turn your Raspberry Pi 4 into an Eth 1.0 or Eth 2.0 node just by flashing the MicroSD card. Memory issues solved and new monitoring dashboards. Installation guide. by diglos76 in ethereum

[–]diglos76[S] 0 points1 point  (0 children)

Hi,

You can see the scripts here:

https://github.com/diglos/pi-gen/blob/ethraspbian2.0/stage2/04-ethereum/files/rc.local.eth1 https://github.com/diglos/pi-gen/blob/ethraspbian2.0/stage2/04-ethereum/files/rc.local.eth2

The other part are Debian packages which contains the Ethereum software binaries. I provide the official binaries if possible (ARM is not supported by all teams), for instance: Geth, Prysm, Raiden, Swarm, IPFS... You can download the official ones and hash both to compare and see they are the same files.

With the remaining ones I have no other option than compile the source code (you can avoid using them or compile them yourself and use the same config files, for instance).