example

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2017 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Account = "account"
	Asset   = "asset"
)

Variables

This section is empty.

Functions

func IssueTest

func IssueTest(client *rpc.Client, args []string)

func NewAnnotate added in v0.1.3

func NewAnnotate(client *rpc.Client, typ string, ins ...Ins) ([]query.AnnotatedAccount, []query.AnnotatedAsset)

func SpendTest

func SpendTest(client *rpc.Client, args []string)

func WalletTest

func WalletTest(client *rpc.Client, args []string)

TO DO: issue a asset to a account.

Types

type Ins added in v0.1.3

type Ins struct {
	RootXPubs   []chainkd.XPub `json:"root_xpubs"`
	Quorum      int
	Alias       string
	Tags        map[string]interface{}
	Definition  map[string]interface{} `json:"omitempty"`
	ClientToken string                 `json:"client_token"`
}

func NewInstance added in v0.1.3

func NewInstance(alias, typ string) (Ins, chainkd.XPrv)

Jump to

Keyboard shortcuts

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