Documentation ¶
Index ¶
- Constants
- func BufferStdin() *bufio.Reader
- func GetCheckPassword(prompt, prompt2 string, buf *bufio.Reader) (string, error)
- func GetPassphrase(addr sdk.AccAddress) (string, error)
- func GetPassword(prompt string, buf *bufio.Reader) (pass string, err error)
- func GetPasswordFromStd() (string, error)
- func ParseAddrs(addrStr string) ([]sdk.AccAddress, error)
- func StrToAddress(addrStr string) (sdk.AccAddress, error)
Constants ¶
View Source
const ( MinPassLength = 4 FlagBlocked = "blocked" FlagHeight = "height" FlagHomeDir = "clihome" FlagVerbose = "verbose" FlagNode = "node" FlagAddress = "address" FlagPassword = "password" FlagFile = "file" FlagGas = "gas" FlagPrivateKey = "privateKey" //FlagMsg = "msg" FlagArgs = "args" FlagName = "name" FlagCodeHash = "codeHash" FlagVersion = "version" FlagAuthor = "author" FlagEmail = "email" FlagDescribe = "describe" FlagHash = "codeHash" FlagFunds = "funds" FlagContractAddress = "contractAddress" )
Variables ¶
This section is empty.
Functions ¶
func GetCheckPassword ¶
Prompts for a password twice to verify they match
func GetPassphrase ¶
func GetPassphrase(addr sdk.AccAddress) (string, error)
func GetPassword ¶
Prompts for a password one-time Enforces minimum password length
func GetPasswordFromStd ¶
func ParseAddrs ¶
func ParseAddrs(addrStr string) ([]sdk.AccAddress, error)
func StrToAddress ¶
func StrToAddress(addrStr string) (sdk.AccAddress, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.