Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientConfig ¶
type ClientConfig struct { ChainURLs map[string]string // map[ChainID]url OpHost string OpPort int Mnemonic string AccountIndex int UserName string }
func ParseClientConfig ¶
func ParseClientConfig() (cfg ClientConfig)
func (*ClientConfig) ChainURL ¶
func (c *ClientConfig) ChainURL(networkID string) string
ChainURL looks up the configured ethereum network URL for a network ID.
Click to show internal directories.
Click to hide internal directories.