Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Initialize ¶
Initialize creates a config with default settings if one does not exist.
Types ¶
type Config ¶
type Config struct { Accounts Accounts `json:"accounts"` Ethereum Ethereum `json:"ethereum"` HTTP HTTP `json:"http"` // contains filtered or unexported fields }
func (*Config) DatabasePath ¶
DatabasePath returns the database directory path.
func (*Config) InstallPath ¶
InstallPath returns the path to install binaries.
func (*Config) KeyStorePath ¶
KeyStorePath returns the keystore directory path.
func (*Config) StoragePath ¶
type Ethereum ¶
type Ethereum struct { // BiconomyApiKey is the mexa public api key. BiconomyApiKey string `json:"biconomy_api_key"` // Contracts is a mapping of contract addresses. Contracts map[string]common.Address `json:"contracts"` // MetaTx enables meta transactions. MetaTx bool `json:"meta_tx"` // RPC is the ethereum rpc address. RPC string `json:"rpc"` }
Click to show internal directories.
Click to hide internal directories.