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: 4 months 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 (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-07-25T01:13:24.000Z (12 months ago)
- Last Synced: 2025-01-25T13:08:10.522Z (5 months ago)
- Topics: chainid, erc-155, ethereum
- Language: Go
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- 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
[](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)