cli

package
v0.16.4 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

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

Variables

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

Functions

func GetCmdClaimHTLC

func GetCmdClaimHTLC(cdc *codec.Codec) *cobra.Command

GetCmdClaimHTLC implements the claim HTLC command

func GetCmdCreateHTLC

func GetCmdCreateHTLC(cdc *codec.Codec) *cobra.Command

GetCmdCreateHTLC implements the create HTLC command

func GetCmdQueryHTLC

func GetCmdQueryHTLC(cdc *codec.Codec) *cobra.Command

GetCmdQueryHTLC implements the query HTLC command.

func GetCmdRefundHTLC

func GetCmdRefundHTLC(cdc *codec.Codec) *cobra.Command

GetCmdRefundHTLC implements the refund HTLC command

Types

This section is empty.

Jump to

Keyboard shortcuts

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