Versions in this module Expand all Collapse all v0 v0.1.0 Mar 23, 2023 Changes in this version + func IsHealthyRPC(ctx context.Context, endpoint string) error + type AssetList struct + Assets []struct{ ... } + ChainID string + Schema string + type ChainInfo struct + Apis struct{ ... } + Bech32Prefix string + ChainID string + ChainName string + Codebase struct{ ... } + DaemonName string + Genesis struct{ ... } + NetworkType string + NodeHome string + Peers struct{ ... } + PrettyName string + Schema string + Slip44 int + Status string + func NewChainInfo(log *zap.Logger) ChainInfo + func (c ChainInfo) GetAllRPCEndpoints() (out []string, err error) + func (c ChainInfo) GetAssetList(ctx context.Context) (AssetList, error) + func (c ChainInfo) GetChainConfig(ctx context.Context) (*client.ChainClientConfig, error) + func (c ChainInfo) GetRPCEndpoints(ctx context.Context) (out []string, err error) + func (c ChainInfo) GetRandomRPCEndpoint(ctx context.Context) (string, error) + type ChainRegistry interface + GetChain func(ctx context.Context, name string) (ChainInfo, error) + ListChains func(ctx context.Context) ([]string, error) + SourceLink func() string + func DefaultChainRegistry(log *zap.Logger) ChainRegistry + type CosmosGithubRegistry struct + func NewCosmosGithubRegistry(log *zap.Logger) CosmosGithubRegistry + func (c CosmosGithubRegistry) GetChain(ctx context.Context, name string) (ChainInfo, error) + func (c CosmosGithubRegistry) ListChains(ctx context.Context) ([]string, error) + func (c CosmosGithubRegistry) SourceLink() string