wallet

package
v0.0.0-...-64eff32 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2020 License: GPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServerWallet

type ServerWallet struct {
	Addr    bmail.Address
	PubKey  ed25519.PublicKey
	PrivKey ed25519.PrivateKey
}

func (*ServerWallet) BCAddress

func (sw *ServerWallet) BCAddress() bmail.Address

func (*ServerWallet) Sign

func (sw *ServerWallet) Sign(message []byte) []byte

type ServerWalletIntf

type ServerWalletIntf interface {
	BCAddress() bmail.Address
	Sign(message []byte) []byte
}

func GetServerWallet

func GetServerWallet() ServerWalletIntf

func NewWallet

func NewWallet() ServerWalletIntf

Jump to

Keyboard shortcuts

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