package
2.129.31
Repository: https://github.com/bloxroute-labs/gateway.git
Documentation: pkg.go.dev

# Functions

LoadOrGeneratePrivateKey tries to load an ECDSA private key from the provided path.
NewEthereumPreset returns an Ethereum configuration for the given network name.
NewPresetEthConfigFromCLI builds a new EthConfig from the command line context.

# Constants

BSCMainnetChainID BSC mainnet chain ID.
BSCTestnetChainID BSC testnet chain ID.
EthMainnetChainID ethereum mainnet chain ID.
HoleskyChainID Holesky testnet chain ID.
PolygonMainnetChainID Polygon mainnet chain ID.
PolygonMumbaiChainID Polygon testnet chain ID.

# Structs

EthConfig represents Ethereum network configuration settings (e.g.
PeerInfo contains the enode and websockets endpoint for an Ethereum peer.

# Type aliases

StaticPeers is a list of peers to connect to.