Skip to content

Commit

Permalink
Merge pull request #131 from casper-ecosystem/Update_InstallCommand
Browse files Browse the repository at this point in the history
Update install command
  • Loading branch information
ShalmaliCL authored Mar 18, 2024
2 parents 4f9c260 + 35b39f9 commit 2b41c44
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/1-quickstart-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ casper-client put-deploy -n http://<NODE IP>:<PORT> \
--chain-name <CHAIN NAME> \
--secret-key ~/casper/demo/user_a/secret_key.pem \
--session-path ~/casper/demo/cep18_test_contract.wasm \
--payment-amount 50000000000
--payment-amount 55000000000
```

At this point, the account that installed both the main contract and the helper contract will look like this.
Expand Down
16 changes: 11 additions & 5 deletions docs/full-tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -271,9 +271,12 @@ casper-client put-deploy \
--node-address http://95.216.24.237:7777 \
--chain-name casper-test \
--secret-key "/home/ubuntu/secret_key.pem" \
--payment-amount 1000000 \
--session-path "<machine-path>/cep18/target/wasm32-unknown-unknown/release/cep18.wasm"
--session-arg "name='Token test', symbol='TEST', decimals:u8=10, total_supply:u256=1000"
--payment-amount 300000000000 \
--session-path "<machine-path>/cep18/target/wasm32-unknown-unknown/release/cep18.wasm" \
--session-arg "name:string='Token test'" \
--session-arg "symbol:string='TEST'" \
--session-arg "total_supply:u256='1000'" \
--session-arg "decimals:u8='10'"
```

## Querying the Network Status {#querying-the-network-status}
Expand Down Expand Up @@ -376,8 +379,11 @@ casper-client put-deploy \
--chain-name casper-test \
--secret-key "/home/ubuntu/secret_key.pem" \
--payment-amount 1000000 \
--session-path "<machine-path>/cep18/target/wasm32-unknown-unknown/release/cep18.wasm"
--session-arg "name='Token test', symbol='TEST', decimals:u8=10, total_supply:u256=1000"
--session-path "<machine-path>/cep18/target/wasm32-unknown-unknown/release/cep18.wasm" \
--session-arg "name:string='Token test'" \
--session-arg "symbol:string='TEST'" \
--session-arg "total_supply:u256='1000'" \
--session-arg "decimals:u8='10'"
```

**Result**:
Expand Down

0 comments on commit 2b41c44

Please sign in to comment.