wallet

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2024 License: MIT Imports: 7 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 string `json:"privateKey"`
	NodeUrl    string `json:"nodeUrl"`
	Address    string `json:"address"`
	Balance    uint   `json:"balance"`
}

func LoadWallet

func LoadWallet(nodeAddress string) Wallet

func (*Wallet) SaveWallet

func (w *Wallet) SaveWallet()

func (*Wallet) SignTx

func (w *Wallet) SignTx(tx *pcore.Tx) error

Jump to

Keyboard shortcuts

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