Skip to content

j0nl1/cw-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6a84dca · May 16, 2022

History

14 Commits
May 10, 2022
May 13, 2022
May 10, 2022
May 10, 2022
May 12, 2022
May 12, 2022
May 12, 2022
May 13, 2022
May 11, 2022
May 13, 2022
May 10, 2022

Repository files navigation

COSMWASM CLI

This package is a cli that allows cosmwasm to interact with different networks.

GitHub license npm

Installation

npm i -g cosmwasm-cli

⚠️ 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

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published