privatekey

package
v0.0.0-...-e9c744c Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PkInfo

type PkInfo struct {
	PrivKeyBytes string                `json:"privKeyBytes"`
	PrivKey      *secp256k1.PrivateKey `json:"-"`
	XPrivKey     *avacrypto.PrivateKey `json:"-"`
	PrivKeyECDSA *ecdsa.PrivateKey     `json:"-"`
	Caddr        common.Address        `json:"caddr"`
	CaddrShort   ids.ShortID           `json:"-"`
	Xaddr        string                `json:"xaddr"`
	XaddrShort   ids.ShortID           `json:"-"`
}

func DecodeB32

func DecodeB32(key string, network uint32) (pkInfo *PkInfo, err error)

DecodeB32 format PrivateKey-xxxxx

Jump to

Keyboard shortcuts

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