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"`
Other Construction `json:"other,omitempty"`
}
type Construction ¶
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
Mcs string `json:"mcs,omitempty"`
OracleNode string `json:"oracleNode,omitempty"`
LightNode string `json:"lightNode,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.