account

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Send

func Send(to, msg, amount, key string, testnet bool) error

Types

type Account

type Account struct {
	Wallet *wallet.Wallet
	Seed   string
	Key    string
	State  *State
}

func New

func New() (*Account, error)

func NewVanity

func NewVanity(suffix string, withSeed bool) (*Account, error)

func (*Account) Print

func (a *Account) Print()

type State

type State struct {
	IsActive     bool
	Status       string
	Balance      tlb.Coins
	Transactions []*tlb.Transaction
}

func GetState

func GetState(addr string, testnet bool) (*State, error)

func (*State) Print

func (s *State) Print()

Jump to

Keyboard shortcuts

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