chains

package
v1.2.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 30, 2024 License: Apache-2.0 Imports: 0 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChainData

type ChainData struct {
	ChainName     string
	ChainID       string
	AccountPrefix string

	GrpcUrl string

	NativeToken         string
	NativeTokenDecimals int
}

type OfflineChainRegistry

type OfflineChainRegistry struct {
	ChainIDToData       map[string]*ChainData
	ChainNameToData     map[string]*ChainData
	AccountPrefixToData map[string]*ChainData
}

Provides offline chain data for applications where we don't need everything under the sun TODO: This is kinda a hack and we should probably replace it with a cache / chain client

func NewOfflineChainRegistry

func NewOfflineChainRegistry() *OfflineChainRegistry

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL