Setting up a private blockchain on Mac

So, how do we create a custom Ethereum blockchain? These are the instructions for Mac. I've tried them and they should work for you:

  1. First, install the Ethereum packet with homebrew by executing the following command:
brew install Ethereum

It will take some time to process, especially if it's your first time executing brew. In my case, it said Updating Homebrew… and after some time, it was installed.

  1. Now, you should have access to the geth and puppeth commands. Geth is the main command-line interface that's used to interact with the Ethereum blockchain to download the main chain among other tasks. Puppeth is a tool for setting up your own private blockchain.
  1. You'll need an Ethereum address before ...

Get Mastering Ethereum now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.