Skip to content

Latest commit

 

History

History
50 lines (32 loc) · 1.26 KB

README.md

File metadata and controls

50 lines (32 loc) · 1.26 KB

Minimal

CircleCI Join the chat at https://gitter.im/0xPolygon/minimal

Modular implementation of different stacks of the Ethereum blockchain.

This is a work in progress so architectural changes are expected in the near future. Besides, there exist intentional panics intended to cover areas where the logic is unfinished or the test coverage is not complete.

Commands

Agent

Starts the Ethereum client for the mainnet:

$ go run main.go agent [--config ./config.json]

The configuration file can be specified either in HCL or JSON format:

{
    "data-dir": "/tmp/data-dir"
}

Some attributes can be also set from the command line:

$ go run main.go agent --config ./config.json --data-dir /tmp/local --port 30304 --log-level TRACE

The values from the CLI have preference over the ones in the configuration file.

Dev

Start a development chain with instant sealing:

$ go run main.go dev

Genesis

Generates a test genesis file:

$ go run main.go genesis