Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/reiver/go-chainid
- Owner: reiver
- License: mit
- Created: 2024-05-26T14:09:36.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-07-25T01:13:24.000Z (5 months ago)
- Last Synced: 2024-07-25T02:47:21.299Z (5 months ago)
- Topics: chainid, erc-155, ethereum
- Language: Go
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)