account

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 5, 2023 License: Apache-2.0 Imports: 8 Imported by: 3

Documentation

Index

Constants

View Source
const (
	ADDRESS_LENGTH = 64
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	PublicKey []byte
	Address   string
	// contains filtered or unexported fields
}

func NewAccount

func NewAccount(seed []byte) *Account

func (*Account) Sign

func (a *Account) Sign(data []byte) []byte

func (*Account) SignAndGetEncode

func (a *Account) SignAndGetEncode(txString string) (string, error)

Jump to

Keyboard shortcuts

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