chainid

package module
v0.0.0-...-39ef4d2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 25, 2024 License: MIT Imports: 0 Imported by: 4

README

go-chainid

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.

Documention

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

GoDoc

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

Documentation

Index

Constants

View Source
const ArbitrumNova = 42170
View Source
const ArbitrumOne = 42161
View Source
const AvalancheCChain = 43114
View Source
const AvalancheFujiTestnet = 43113
View Source
const BerachainArtio = 80085
View Source
const Blast = 81457
View Source
const BlastSepoliaTestnet = 168587773
View Source
const EthereumClassic = 61
View Source
const EthereumMainnet = 1
View Source
const FantomOpera = 250
View Source
const FantomTestnet = 4002
View Source
const Holesky = 17000
View Source
const OPMainnet = 10
View Source
const OPSepoliaTestnet = 11155420
View Source
const PolygonMainnet = 137
View Source
const RootstockMainnet = 30
View Source
const RootstockTestnet = 31
View Source
const Sepolia = 11155111
View Source
const ShapeSepolia = 11011
View Source
const Zora = 7777777
View Source
const ZoraSepoliaTestnet = 999999999

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL