chainname

package module
v0.0.0-...-9045312 Latest Latest
Warning

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

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

README

go-chainname

Package chainname provides chain-names for different blockchain-networks, for the Go programming language.

The data for the chain-names comes from https://chainid.network/

Documention

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

GoDoc

Import

To import package chainname use import code like the follownig:

import "github.com/reiver/go-chainname"

Installation

To install package chainname do the following:

GOPROXY=direct go get https://github.com/reiver/go-chainname

Author

Package chainname was written by Charles Iliya Krempeaux

Documentation

Index

Constants

View Source
const ArbitrumNova = "Arbitrum Nova"
View Source
const ArbitrumOne = "Arbitrum One"
View Source
const AvalancheCChain = "Avalanche C-Chain"
View Source
const AvalancheFujiTestnet = "Avalanche Fuji Testnet"
View Source
const BerachainArtio = "Berachain Artio"
View Source
const Blast = "Blast"
View Source
const BlastSepoliaTestnet = "Blast Sepolia Testnet"
View Source
const EthereumClassic = "Ethereum Classic"
View Source
const EthereumMainnet = "Ethereum Mainnet"
View Source
const FantomOpera = "Fantom Opera"
View Source
const FantomTestnet = "Fantom Testnet"
View Source
const Holesky = "Holesky"
View Source
const OPMainnet = "OP Mainnet"
View Source
const OPSepoliaTestnet = "OP Sepolia Testnet"
View Source
const PolygonMainnet = "Polygon Mainnet"
View Source
const RootstockMainnet = "Rootstock Mainnet"
View Source
const RootstockTestnet = "Rootstock Testnet"
View Source
const Sepolia = "Sepolia"
View Source
const ShapeSepolia = "Shape Sepolia"
View Source
const Zora = "Zora"
View Source
const ZoraSepoliaTestnet = "Zora Sepolia Testnet"

Variables

This section is empty.

Functions

func ChainName

func ChainName(chainid uint64) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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