terrad tx gov submit-legacy-proposal store-instantiate
Submit and instantiate a wasm contract proposal.
Terrad
_1terrad tx gov submit-legacy-proposal store-instantiate [wasm file] [json_encoded_init_args] --label [text] --title [text] --description [text] --run-as [address]--unpin-code [unpin_code,optional] --source [source,optional] --builder [builder,optional] --code-hash [code_hash,optional] --admin [address,optional] --amount [coins,optional] [flags]
Options
Terrad
_41  -a, --account-number uint                   The account number of the signing account (offline mode only)_41      --admin string                          Address of an admin_41      --amount string                         Coins to send to the contract during instantiation_41      --aux                                   Generate aux signer data instead of sending a tx_41  -b, --broadcast-mode string                 Transaction broadcasting mode (sync|async|block) (default "sync")_41      --builder string                        Builder is a valid docker image name with tag, such as "cosmwasm/workspace-optimizer:0.12.9"_41      --code-hash bytesHex                    CodeHash is the sha256 hash of the wasm code_41      --code-source-url string                Code Source URL is a valid absolute HTTPS URI to the contract's source code,_41      --deposit string                        Deposit of proposal_41      --description string                    Description of proposal_41      --dry-run                               ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible)_41      --fee-granter string                    Fee granter grants fees for the transaction_41      --fee-payer string                      Fee payer pays fees for the transaction instead of deducting from the signer_41      --fees string                           Fees to pay along with transaction; eg: 10uatom_41      --from string                           Name or address of private key with which to sign_41      --gas string                            gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically. Note: "auto" option doesn't always report accurate results. Set a valid coin value to adjust the result. Can be used instead of "fees". (default 200000)_41      --gas-adjustment float                  adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored  (default 1)_41      --gas-prices string                     Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom)_41      --generate-only                         Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name)_41  -h, --help                                  help for store-instantiate_41      --instantiate-anyof-addresses strings   Any of the addresses can instantiate a contract from the code, optional_41      --instantiate-everybody string          Everybody can instantiate a contract from the code, optional_41      --instantiate-nobody string             Nobody except the governance process can instantiate a contract from the code, optional_41      --instantiate-only-address string       Only this address can instantiate a contract instance from the code, optional_41      --keyring-backend string                Select keyring's backend (os|file|kwallet|pass|test|memory) (default "os")_41      --keyring-dir string                    The client Keyring directory; if omitted, the default 'home' directory will be used_41      --label string                          A human-readable name for this contract in lists_41      --ledger                                Use a connected Ledger device_41      --no-admin                              You must set this explicitly if you don't want an admin_41      --node string                           <host>:<port> to tendermint rpc interface for this chain (default "tcp://localhost:26657")_41      --note string                           Note to add a description to the transaction (previously --memo)_41      --offline                               Offline mode (does not allow any online functionality)_41  -o, --output string                         Output format (text|json) (default "json")_41      --run-as string                         The address that is stored as code creator. It is the creator of the contract and passed to the contract as sender on proposal execution_41  -s, --sequence uint                         The sequence number of the signing account (offline mode only)_41      --sign-mode string                      Choose sign mode (direct|amino-json|direct-aux), this is an advanced feature_41      --timeout-height uint                   Set a block timeout height to prevent the tx from being committed past a certain height_41      --tip string                            Tip is the amount that is going to be transferred to the fee payer on the target chain. This flag is only valid when used with --aux, and is ignored if the target chain didn't enable the TipDecorator_41      --title string                          Title of proposal_41      --unpin-code                            Unpin code on upload, optional_41  -y, --yes                                   Skip tx broadcasting prompt confirmation
Options inherited from parent commands
Terrad
_1      --chain-id string   The network chain ID
See also
- terrad tx gov submit-legacy-proposal - Submit a legacy proposal along with an initial deposit