cli

package
v0.0.0-...-4696dcf Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

nolint

Index

Constants

View Source
const (
	FlagTo                   = "to"
	FlagReceiverOnOtherChain = "receiver-on-other-chain"
	FlagAmount               = "amount"
	FlagHashLock             = "hash-lock"
	FlagTimeLock             = "time-lock"
	FlagTimestamp            = "timestamp"
	FlagSecret               = "secret"
)

Variables

View Source
var (
	FsCreateHTLC = flag.NewFlagSet("", flag.ContinueOnError)
)

Functions

func GetCmdClaimHTLC

func GetCmdClaimHTLC() *cobra.Command

GetCmdClaimHTLC implements claiming an HTLC command

func GetCmdCreateHTLC

func GetCmdCreateHTLC() *cobra.Command

GetCmdCreateHTLC implements creating an HTLC command

func GetCmdQueryHTLC

func GetCmdQueryHTLC() *cobra.Command

GetCmdQueryHTLC implements the query HTLC command.

func GetCmdRefundHTLC

func GetCmdRefundHTLC() *cobra.Command

GetCmdRefundHTLC implements refunding an HTLC command

func GetQueryCmd

func GetQueryCmd() *cobra.Command

GetQueryCmd returns the cli query commands for the module.

func NewTxCmd

func NewTxCmd() *cobra.Command

NewTxCmd returns the transaction commands for this module

Types

This section is empty.

Jump to

Keyboard shortcuts

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