run

package
v0.0.0-...-478f857 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2022 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppName = "dotkey"
)

Variables

This section is empty.

Functions

func Gen

func Gen(cmd *cobra.Command, args []string) error

func Hash

func Hash(cmd *cobra.Command, args []string) error

func NetworkList

func NetworkList(cmd *cobra.Command, args []string) error

func Sign

func Sign(cmd *cobra.Command, args []string) error

func Validate

func Validate(cmd *cobra.Command, args []string) error

func Verify

func Verify(cmd *cobra.Command, args []string) error

Types

type Network

type Network struct {
	Prefix          int      `json:"prefix"`
	Network         string   `json:"network"`
	DisplayName     string   `json:"displayName"`
	Symbols         []string `json:"symbols"`
	Decimals        []int    `json:"decimals"`
	StandardAccount string   `json:"standardAccount"`
	Website         string   `json:"website"`
}

type Registry

type Registry struct {
	Specification string    `json:"specification"`
	Schema        Schema    `json:"schema"`
	Networks      []Network `json:"registry"`
}

type Schema

type Schema struct {
	Prefix          string `json:"prefix"`
	Network         string `json:"network"`
	DisplayName     string `json:"displayName"`
	Symbols         string `json:"symbols"`
	Decimals        string `json:"decimals"`
	StandardAccount string `json:"standardAccount"`
	Website         string `json:"website"`
}

Jump to

Keyboard shortcuts

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