networks

package
v0.0.0-...-d70dd78 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetActiveNetwork

func SetActiveNetwork(network Network)

Set the active network globally

Types

type Network

type Network struct {
	URL string
	NID jsonrpc.HexInt
}

func GetActiveNetwork

func GetActiveNetwork() Network

Get the active network

func Lisbon

func Lisbon() Network

Network for Lisbon

func Mainnet

func Mainnet() Network

Network for Mainnet

Jump to

Keyboard shortcuts

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