Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultConfigPath = "./config.json"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Chains []RawChainConfig `json:"chains"`
}
type RawChainConfig ¶
type RawChainConfig struct { Name string `json:"name"` Type string `json:"type"` Id string `json:"id"` // ChainID Endpoint string `json:"endpoint"` // url for rpc endpoint From string `json:"from"` // address of key to use Opts map[string]string `json:"opts"` }
RawChainConfig is parsed directly from the config file and should be using to construct the core.ChainConfig
Click to show internal directories.
Click to hide internal directories.