wallet

package
v0.0.0-...-c3a2cad Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TransactionRequest

type TransactionRequest struct {
	SenderPrivateKey           string
	SenderBlockchainAddress    string
	RecipientBlockchainAddress string
	SenderPublicKey            string
	Value                      float32
}

type Wallet

type Wallet struct {
	PrivateKey        *ecdsa.PrivateKey
	PublicKey         *ecdsa.PublicKey
	BlockchainAddress string
}

func New

func New() *Wallet

func (*Wallet) PrivateKeyStr

func (w *Wallet) PrivateKeyStr() string

func (*Wallet) PublicKeyStr

func (w *Wallet) PublicKeyStr() string

Jump to

Keyboard shortcuts

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