Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NetworkGenesisRoots = map[string]uint64{
"0x4b363db94e286120d76eb905340fdd4e54bfe9f06bf33ff6cf5ad27f511bfe95": 1,
"0x043db0d9a83813551ee2f33450d23797757d430911a9320530ad8a0eabc43efb": 5,
"0xd8ea171f3c94aea21ebc42a1ed61052acf3f9209c00e4efbaaddac09ed9b8078": 11155111,
"0x9143aa7c615a7f7115e2b6aac319c03529df8242ae705fba9df39b79c59fa8b1": 17000,
}
View Source
var NetworkIds = map[uint64]NetworkName{ 1: NetworkNameMainnet, 5: NetworkNameGoerli, 11155111: NetworkNameSepolia, 17000: NetworkNameHolesky, }
Functions ¶
This section is empty.
Types ¶
type Network ¶
type Network struct { Name NetworkName ID uint64 }
func DeriveFromGenesisRoot ¶
func DeriveFromID ¶
type NetworkName ¶
type NetworkName string
var ( NetworkNameNone NetworkName = "none" NetworkNameUnknown NetworkName = "unknown" NetworkNameMainnet NetworkName = "mainnet" NetworkNameGoerli NetworkName = "goerli" NetworkNameSepolia NetworkName = "sepolia" NetworkNameHolesky NetworkName = "holesky" )
Click to show internal directories.
Click to hide internal directories.