Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/reiver/go-chainid

Package chainid implements Chain ID (chain_id / ChainID) (as per ERC-155 ( https://eips.ethereum.org/EIPS/eip-155 )), for the Go programming language.
https://github.com/reiver/go-chainid

chainid erc-155 ethereum

Last synced: about 1 month ago
JSON representation

Package chainid implements Chain ID (chain_id / ChainID) (as per ERC-155 ( https://eips.ethereum.org/EIPS/eip-155 )), for the Go programming language.

Awesome Lists containing this project

README

        

# go-chainid

Package **chainid** provides **Chain IDs** (i.e., **chain-id**s / **chain_id**s / **ChainID**s) (as per [ERC-155](https://eips.ethereum.org/EIPS/eip-155)), for the Go programming language.

The data for the **chain-id**s comes from https://chainid.network/

This package provides those **chain-id**s as **constants**, which are easily usable by programs written in the Go programming language.

## Documention

Online documentation, which includes examples, can be found at: http://godoc.org/github.com/reiver/go-chainid

[![GoDoc](https://godoc.org/github.com/reiver/go-chainid?status.svg)](https://godoc.org/github.com/reiver/go-chainid)

## Import

To import package **chainid** use `import` code like the follownig:
```
import "github.com/reiver/go-chainid"
```

## Installation

To install package **chainid** do the following:
```
GOPROXY=direct go get https://github.com/reiver/go-chainid
```

## Author

Package **chainid** was written by [Charles Iliya Krempeaux](http://reiver.link)