client

package
v0.0.0-...-60ae506 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2019 License: MIT Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BankCommand

func BankCommand(ctx context.Context, client proto.WalletServiceClient) cli.Command

BankCommand creates the bank command, returning to the user the current balance of all their local wallets

syntax: bank [full]

func CreateCommand

func CreateCommand(context context.Context, client proto.WalletServiceClient) cli.Command

CreateCommand creates the create command, generating currency in the provided wallet address. Requires a server-set password.

syntax: create ${ADDRESS} ${AMOUNT} ${CURRENCY} ${PASSWORD}

func SendCommand

func SendCommand(ctx context.Context, client proto.WalletServiceClient) cli.Command

SendCommand creates the send command, allowing the user to send currency from one of their wallets to another.

syntax: send ${SRC} ${DST} ${CURRENCY} ${AMOUNT}

Types

This section is empty.

Jump to

Keyboard shortcuts

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