stellarsvc

package
v1.0.47 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2018 License: BSD-3-Clause, BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Balances added in v1.0.47

func Balances(ctx context.Context, g *libkb.GlobalContext, accountID stellar1.AccountID) ([]stellar1.Balance, error)

func CreateWallet

func CreateWallet(ctx context.Context, g *libkb.GlobalContext) (created bool, err error)

CreateWallet creates and posts an initial stellar bundle for a user. Only succeeds if they do not already have one. Safe to call even if the user has a bundle already.

func Dump added in v1.0.47

func Dump(ctx context.Context, g *libkb.GlobalContext) (res stellar1.Bundle, err error)

func ImportSecretKey added in v1.0.47

func ImportSecretKey(ctx context.Context, g *libkb.GlobalContext, secretKey stellar1.SecretKey, makePrimary bool) (err error)

func OwnAccount added in v1.0.47

func OwnAccount(ctx context.Context, g *libkb.GlobalContext, accountID stellar1.AccountID) (isOwn bool, err error)

func Send added in v1.0.47

Types

type Recipient added in v1.0.47

type Recipient struct {
	Input     string
	User      *libkb.User
	AccountID stellarnet.AddressStr
}

Jump to

Keyboard shortcuts

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