Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶ added in v0.3.0
type Config struct {
Name string `validate:"required" yaml:"-"`
Path string `validate:"required" yaml:"-"`
IpfsEndpoint string `validate:"required"`
Server struct {
Address string `validate:"required"`
}
Log struct {
Format string `validate:"required,oneof=json text"`
ForceColors bool
Level string `validate:"required"`
}
Tendermint struct {
Config *tmconfig.Config `validate:"required"`
RelativePath string `validate:"required"`
}
Cosmos struct {
RelativePath string `validate:"required"`
// Minimum gas prices for transactions.
MinGasPrices string `validate:"required"`
// Token name to use in the staking module.
StakeTokenDenom string `validate:"required"`
// Bech32MainPrefix defines the main Bech32 prefix.
Bech32MainPrefix string `validate:"required"`
// CoinType is the mesg registered coin type from https://github.com/satoshilabs/slips/blob/master/slip-0044.md.
CoinType uint32 `validate:"required"`
// BIP44Prefix is the parts of the BIP44 HD path that are fixed by what we used during the fundraiser.
FullFundraiserPath string `validate:"required"`
// Power reduction between the staking token and the voting power on tendermint.
PowerReduction int64 `validate:"required"`
}
DevGenesis struct {
ChainID string `validate:"required"`
InitialBalances string `validate:"required"`
ValidatorDelegationCoin string `validate:"required"`
}
Account struct {
Name string `validate:"required"`
Password string `validate:"required"`
Number uint32
Index uint32
Mnemonic string
}
}
Config contains all the configuration needed.
Click to show internal directories.
Click to hide internal directories.