New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

github.com/0xpolygon/polygon-sdk-old

Package Overview
Dependencies
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/0xpolygon/polygon-sdk-old

Source
Go Modules
Version
v0.0.0-20200814122207-8f649d9ad1a2
Version published
Created
Source

Polygon SDK

Polygon SDK is a modular and extensible framework for building Ethereum-compatible blockchain networks.

This repository is the first implementation of Polygon SDK, written in Golang. Other implementations, written in other programming languages might be introduced in the future. If you would like to contribute to this or any future implementation, please reach out to Polygon team.

To find out more about Polygon, visit the official website.

WARNING: This is a work in progress so architectural changes may happen in the future. The code has not been audited yet, so please contact Polygon team if you would like to use it in production.

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

FAQs

Package last updated on 02 Nov 2026

Related posts