Skip to content
This repository has been archived by the owner on Oct 29, 2021. It is now read-only.

Latest commit

 

History

History
52 lines (33 loc) · 1.38 KB

README.md

File metadata and controls

52 lines (33 loc) · 1.38 KB

Minimal

This repo has been archived, see polygon-sdk for a more up to date version of the client.

CircleCI Join the chat at https://gitter.im/umbracle/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