Skip to main content

beaker wasm proposal

Arguments:

  • --help: Print help information

  • --version: Print version information

Subcommands

beaker wasm proposal store-code

Proposal for storing .wasm on chain for later initialization

Arguments:

  • --help: Print help information

  • --version: Print version information

  • <contract-name>Name of the contract to store

  • --permit-instantiate-only <permit-instantiate-only>: Restricting the code to be able to instantiate/migrate only by given address, no restriction by default

  • -p/--proposal <proposal>: Path to proposal file, could be either yaml / toml format

  • --title <title>: Proposal title (default: ``)

  • --description <description>: Proposal description (default: ``)

  • --deposit <deposit>: Proposal deposit to activate voting

  • --repo <repo>: Public repository of the code (default: ``)

  • --rust-flags <rust-flags>: RUST_FLAGS that passed while compiling to wasm If building with Beaker, it's usually "-C link-arg=-s"

  • --optimizer <optimizer>: Type and version of the optimizer, either: rust-optimizer: or workspace-optimizer:. Beaker use workspace-optimizer, the version, if not manually configured, can be found in wasm config doc

  • -n/--network <network>: Name of the network to broadcast transaction to, the actual endpoint / chain-id are defined in config (default: local)

  • --gas <gas>: Coin (amount and denom) you are willing to pay as gas eg. 1000uosmo

  • --gas-limit <gas-limit>: Limit to how much gas amount allowed to be consumed

  • --signer-account <signer-account>: Specifies predefined account as a tx signer

  • --signer-keyring <signer-keyring>: Specifies private_key as a tx signer (base64 encoded string)

  • --signer-mnemonic <signer-mnemonic>: Specifies mnemonic as a tx signer

  • --signer-private-key <signer-private-key>: Specifies private_key as a tx signer (base64 encoded string)

  • -t/--timeout-height <timeout-height>: Specifies a block timeout height to prevent the tx from being committed past a certain height (default: 0)


beaker wasm proposal vote

Vote for proposal

Arguments:

  • --help: Print help information

  • --version: Print version information

  • <contract-name>Name of the contract to store

  • -o/--option <option>: Vote option, one of: yes, no, no_with_veto, abstain

  • -n/--network <network>: Name of the network to broadcast transaction to, the actual endpoint / chain-id are defined in config (default: local)

  • --gas <gas>: Coin (amount and denom) you are willing to pay as gas eg. 1000uosmo

  • --gas-limit <gas-limit>: Limit to how much gas amount allowed to be consumed

  • --signer-account <signer-account>: Specifies predefined account as a tx signer

  • --signer-keyring <signer-keyring>: Specifies private_key as a tx signer (base64 encoded string)

  • --signer-mnemonic <signer-mnemonic>: Specifies mnemonic as a tx signer

  • --signer-private-key <signer-private-key>: Specifies private_key as a tx signer (base64 encoded string)

  • -t/--timeout-height <timeout-height>: Specifies a block timeout height to prevent the tx from being committed past a certain height (default: 0)


beaker wasm proposal query

> beaker wasm proposal query's subcommands

Arguments:

  • --help: Print help information

  • --version: Print version information