sign

package
v0.0.0-...-ee306bc Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SignCmd = &cobra.Command{
	Use:   "sign [content]",
	Short: "Sign with ECDSA",
	Example: `  $ rcx wallet sign -w example -xd mnemonic '{"value": "0xd"}'
  $ rcx wallet sign -d m/44'/138'/0'/0/0 '{"value": "0xd"}'
  $ rcx wallet sign -w example -d m/44'/138'/0'/0/0 '{"value": "0xd"}'`,
	Long: `Signs content with key derived from wallet.

Reads console stdin on empty arguments and -f file path flag.

Default wallet name used is "default".`,
	Annotations: map[string]string{"category": "wallet"},
	Args:        checkSignArgs,
	Run:         cmdutil.WrapCommand(HandleSignCmd),
}

SignCmd - Key sign command.

Functions

func HandleSignCmd

func HandleSignCmd(cmd *cobra.Command, args []string) (err error)

HandleSignCmd - Handles key sign command.

Types

This section is empty.

Jump to

Keyboard shortcuts

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