Skip to content

A Framework for Building Ethereum-compatible Blockchain Networks

License

Notifications You must be signed in to change notification settings

slvc/polygon-sdk

Repository files navigation

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

About

A Framework for Building Ethereum-compatible Blockchain Networks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%