From aa4fb53fec7a72bde650d36a2a560bc449190e51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mehmet=20Sait=20G=C3=BClmez?= Date: Thu, 21 Dec 2023 03:10:58 +0300 Subject: [PATCH] Fix the public-key param --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c9d39ae..d8544ba 100644 --- a/README.md +++ b/README.md @@ -147,7 +147,7 @@ casper-client get-dictionary-item \ --node-address http://$NODE_ADDRESS:7777 \ --state-root-hash "$STATE_ROOT_HASH" \ --seed-uref "$ACCOUNT_INFO_URLS_DICT_UREF" \ - --dictionary-item-key "$(casper-client account-address -public-key $PUBLIC_KEY | sed -r 's/account-hash-//g')" + --dictionary-item-key "$(casper-client account-address --public-key $PUBLIC_KEY | sed -r 's/account-hash-//g')" ``` ##### Using the ```tools/get-account-info-url.sh``` and ```tools/get-account-info.sh``` scripts @@ -197,7 +197,7 @@ casper-client put-deploy \ --session-hash "$ACCOUNT_INFO_CONTRACT_HASH" \ --session-entry-point "set_url_for_account" \ --payment-amount 500000000 \ - --session-arg=account:"account_hash='$(casper-client account-address -public-key $PUBLIC_KEY)'" \ + --session-arg=account:"account_hash='$(casper-client account-address --public-key $PUBLIC_KEY)'" \ --session-arg=url:"string='https://casper-account-info-example.make.services'" ``` @@ -249,7 +249,7 @@ casper-client put-deploy \ --session-hash "$ACCOUNT_INFO_CONTRACT_HASH" \ --session-entry-point "disable_admin" \ --payment-amount 500000000 \ - --session-arg=account:"account_hash='$(casper-client account-address -public-key $PUBLIC_KEY)'" + --session-arg=account:"account_hash='$(casper-client account-address --public-key $PUBLIC_KEY)'" ``` #### Set amount of CSPR to burn during the first ```set_url``` call @@ -296,7 +296,7 @@ casper-client get-dictionary-item \ --node-address http://$NODE_ADDRESS:7777 \ --state-root-hash "$STATE_ROOT_HASH" \ --seed-uref "$ACCOUNT_INFO_ADMINS_DICT_UREF" \ - --dictionary-item-key "$(casper-client account-address -public-key $PUBLIC_KEY | sed -r 's/account-hash-//g')" + --dictionary-item-key "$(casper-client account-address --public-key $PUBLIC_KEY | sed -r 's/account-hash-//g')" ``` ##### Using the ```tools/is-admin.sh``` script