ceremonyclient/client/cmd/mutualTransfer.go
2024-10-13 18:37:19 -07:00

30 lines
646 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package cmd
import (
"fmt"
"github.com/spf13/cobra"
)
var mutualTransferCmd = &cobra.Command{
Use: "mutual-transfer",
Short: "Initiates a mutual transfer",
Long: `Initiates a mutual transfer:
mutual-transfer <Rendezvous> (<Amount>|<OfCoin>)
Rendezvous - the rendezvous point to connect to the recipient
Amount the amount to send, splitting/merging and sending as needed
OfCoin the address of the coin to send in whole
Either Amount or OfCoin must be specified
`,
Run: func(cmd *cobra.Command, args []string) {
fmt.Println("command not yet available")
},
}
func init() {
tokenCmd.AddCommand(mutualTransferCmd)
}