wallet

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2023 License: ISC Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Wallet

type Wallet struct {
	PrivateKey *btcec.PrivateKey
	PublicKey  *btcec.PublicKey
}

func NewWallet

func NewWallet(pk []byte) *Wallet

func NewWalletFromSeed

func NewWalletFromSeed(pk []byte) *Wallet

func (*Wallet) ClassicAddress

func (e *Wallet) ClassicAddress() string

func (*Wallet) Sign

func (e *Wallet) Sign(msg []byte) (*btcec.Signature, error)

Jump to

Keyboard shortcuts

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