cosmwasm-cli
v0.1.6
Published
Cosmwasm Command Line Interface
Downloads
2
Readme
COSMWASM CLI
This package is a cli that allows cosmwasm to interact with different networks.
Installation
npm i -g cosmwasm-cli
:warning: Is necessary to config a key in order to interact with the cli
API Usage
Usage: cwcli [command]
Cosmwasm Command Line Interface
Options:
-V, --version output the version number
-h, --help display help for command
Commands:
keys [command] manage your keys
networks [command] manage networks
wasm [command] wasm transaction subcommands
Wasm Command
Usage: cwcli wasm [command]
Wasm transaction subcommands
Options:
-h, --help display help for command
Commands:
upload <wasm file> Upload a wasm binary
query <address> <msg> Querying commands for contracts
execute <address> <msg> execute a smart contract method
instantiate <codeId> <msg> instantiate an uploaded contract
Keys Command
Usage: cwcli keys [command]
Manage your keys
Options:
-h, --help display help for command
Commands:
add <name> Add an encrypted private key (either newly generated or recovered), encrypt it, and save to keyring
delete <name> Delete keys from the cli
show <name> Return address depending on network selection
list Return a list of all public keys stored by this cli
Network Command
Usage: cwcli networks [command]
Manage networks
Options:
-h, --help display help for command
Commands:
add <filePath> Load a custom network
delete <name> Remove a custom network
list show a list of networks