UNPKG

cosmic-interchain-cli

Version:

A command-line utility for Cosmic Wire's interchain messaging protocol

9 lines 427 B
// Commands that send tx and require a key to sign. // It's useful to have this listed here so the context // middleware can request keys up front when required. export const SIGN_COMMANDS = ['deploy', 'send', 'status', 'submit']; export function isSignCommand(argv) { return (SIGN_COMMANDS.includes(argv._[0]) || (argv._.length > 1 && SIGN_COMMANDS.includes(argv._[1]))); } //# sourceMappingURL=signCommands.js.map