diff --git a/src/pages/write-smart-contracts/hello-world-tutorial.md b/src/pages/write-smart-contracts/hello-world-tutorial.md index 8571e93c..fcd8e518 100644 --- a/src/pages/write-smart-contracts/hello-world-tutorial.md +++ b/src/pages/write-smart-contracts/hello-world-tutorial.md @@ -197,9 +197,9 @@ As soon as the contract deploys, you can call one of its methods. In this exampl -> This is a `read-only` method, so it returns the result [without generating a new transaction](/understand-stacks/network#read-only-function-calls) ```bash -# stx call_read_only_contract_func -t -# replace `stx_address` and `privateKey` with values from your keychain -stx call_read_only_contract_func -t hello-world echo-number 2000 1 +# stx call_read_only_contract_func -t +# replace `stx_address` with value from your keychain +stx call_read_only_contract_func -t hello-world echo-number ``` The command looks up the contract method definition on the network, identify that it requires an input parameter, and ask you for an integer to set `val`. Enter 42 an hit ENTER.