Skip to content

Commit 84e24d3

Browse files
authored
Merge pull request #1060 from disperze/fix-cli-example
Update instantiate cli example
2 parents 97f85fc + 4f86739 commit 84e24d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

x/wasm/client/cli/tx.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ func InstantiateContractCmd() *cobra.Command {
183183
Long: fmt.Sprintf(`Creates a new instance of an uploaded wasm code with the given 'constructor' message.
184184
Each contract instance has a unique address assigned.
185185
Example:
186-
$ %s wasmd tx wasm instantiate 1 '{"foo":"bar"}' --admin="$(%s keys show mykey -a)" \
186+
$ %s tx wasm instantiate 1 '{"foo":"bar"}' --admin="$(%s keys show mykey -a)" \
187187
--from mykey --amount="100ustake" --label "local0.1.0"
188188
`, version.AppName, version.AppName),
189189
Aliases: []string{"start", "init", "inst", "i"},
@@ -224,7 +224,7 @@ Each contract instance has a unique address assigned. They are assigned automati
224224
for special use cases, the given 'salt' argument and '--fix-msg' parameters can be used to generate a custom address.
225225
226226
Predictable address example (also see '%s query wasm build-address -h'):
227-
$ %s wasmd tx wasm instantiate2 1 '{"foo":"bar"}' $(echo -n "testing" | xxd -ps) --admin="$(%s keys show mykey -a)" \
227+
$ %s tx wasm instantiate2 1 '{"foo":"bar"}' $(echo -n "testing" | xxd -ps) --admin="$(%s keys show mykey -a)" \
228228
--from mykey --amount="100ustake" --label "local0.1.0" \
229229
--fix-msg
230230
`, version.AppName, version.AppName, version.AppName),

0 commit comments

Comments
 (0)