Skip to content

Commit

Permalink
docs: add flag in the README
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexD10S committed Jun 11, 2024
1 parent 56a990e commit c61fadd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ Some of the options available are:
- You also can specify the url of your node with `--url ws://your-endpoint`, by default it is
using `ws://localhost:9944`.
- To perform a dry-run via RPC to estimate the gas usage without submitting a transaction use the `--dry-run` flag.

For more information about the options,
check [cargo-contract documentation](https://github.com/paritytech/cargo-contract/blob/master/crates/extrinsics/README.md#instantiate)
Expand All @@ -195,6 +196,7 @@ Example executing the `flip()` message:
pop call contract -p ./my_contract --contract $INSTANTIATED_CONTRACT_ADDRESS --message flip --suri //Alice -x
```


## E2E testing

For end-to-end testing you will need to have a Substrate node with `pallet contracts`.
Expand Down

0 comments on commit c61fadd

Please sign in to comment.