简体   繁体   中英

Private ethereum blockchain mining on a Raspberry Pi - is it possible?

I am trying to write a private ethereum blockchain lab for both the college class I teach and a MeetUp group at the financial services firm where I work during the day. Using ethereum and geth on RPi 3B+. Can mining be performed on a Pi's running Raspbian (32 bit).

I've been working with two dates articles that don't appear to be current with the geth and java script console commands and options. Does anyone have any good pointers to an ethereum private blockchain on a raspberry pi for running smart contracts?

There are some pretty good guides out there for setting up your own node (I use this one ). For a Raspberry Pi 3B+ you can use two types of packages when downloading from https://geth.ethereum.org/downloads/ (choose tab linux, you should download the latest Geth & Tools):

  • armV7 (32bit)
  • arm64 (64bit)

They both work for me. You should use Proof of Authority for consensus in a private network. The guide above describe how to create a private PoA network. Some of the commands may be outdated due to updates to the geth client, but you should be able to work it out yourself. If you need any specific pointers, feel free to comment.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM