prompt

package
v0.13.111 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2022 License: ISC Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Passphrase added in v0.13.111

func Passphrase(confirm bool) ([]byte, error)

Passphrase prompts the user for a passphrase. All prompts are repeated until the user enters a valid response.

func Seed

func Seed(reader *bufio.Reader) ([]byte, time.Time, error)

Seed prompts the user whether they want to use an existing wallet generation seed. When the user answers no, a seed will be generated and displayed to the user along with prompting them for confirmation. When the user answers yes, a the user is prompted for it. All prompts are repeated until the user enters a valid response.

Types

This section is empty.

Jump to

Keyboard shortcuts

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