types

package
v7.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chain

type Chain struct {
	ID             string
	Name           string
	Prefix         string
	DerivationPath string
}

Chain contains the data of a single chain

func NewChain

func NewChain(id, name, prefix, derivationPath string) Chain

NewChain returns a new Chain instance

type Config

type Config struct {
	Chains []Chain
}

Config contains the data of the configuration

func DefaultConfig

func DefaultConfig() Config

DefaultConfig returns the default config instance of the configuration

Jump to

Keyboard shortcuts

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