Package chainid provides Chain IDs (i.e., chain-ids / chain_ids / ChainIDs) (as per ERC-155), for the Go programming language.
The data for the chain-ids comes from https://chainid.network/
This package provides those chain-ids as constants, which are easily usable by programs written in the Go programming language.
Online documentation, which includes examples, can be found at: http://godoc.org/github.com/reiver/go-chainid
To import package chainid use import
code like the follownig:
import "github.com/reiver/go-chainid"
To install package chainid do the following:
GOPROXY=direct go get https://github.com/reiver/go-chainid
Package chainid was written by Charles Iliya Krempeaux