Skip to content

Files

This branch is 2467 commits behind ethereumjs/ethereumjs-monorepo:master.

run-blockchain

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Feb 25, 2020
Nov 10, 2020
Feb 25, 2020
Feb 25, 2020

Run Blockchain example

This directory contains an example on how to run a blockchain.

The example does these things:

  1. Instantiates a VM and a Blockchain
  2. Creates the accounts from ./test-data.json's pre
  3. Creates a genesis block
  4. Puts the blocks from ./test-data.json's blocks into the Blockchain
  5. Runs the Blockchain on the VM.

Installation

  1. Run npm install in the root of this project

Running the example

  1. Run npm run build:dist in the root of this project
  2. Run npm run example in this directory