atom

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CosmosExporter

type CosmosExporter struct{}

func (*CosmosExporter) Desc

func (exp *CosmosExporter) Desc() string

func (*CosmosExporter) Export

func (exp *CosmosExporter) Export(key []byte) ([]byte, error)

func (*CosmosExporter) KeySize

func (exp *CosmosExporter) KeySize() int

func (*CosmosExporter) Name

func (exp *CosmosExporter) Name() string

type LocalInfo

type LocalInfo struct {
	PubKey       cryptotypes.PubKey `json:"pubkey"`
	PrivKeyArmor string             `json:"privkey.armor"`
	Algo         hd.PubKeyType      `json:"algo"`
}

func NewAccount

func NewAccount(mnemonic string, hdPath string) (*LocalInfo, error)

func (LocalInfo) GetAddress

func (i LocalInfo) GetAddress() types.AccAddress

func (LocalInfo) GetAlgo

func (i LocalInfo) GetAlgo() hd.PubKeyType

func (LocalInfo) GetPubKey

func (i LocalInfo) GetPubKey() cryptotypes.PubKey

Jump to

Keyboard shortcuts

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