Skip to content

Commit

Permalink
Cast subcommand syntax in README.md (#989)
Browse files Browse the repository at this point in the history
`cast --from-utf8` -> `cast from-utf8` 

Cast subcommand doesn't execute properly as shown due to outdated syntax
  • Loading branch information
robriks authored Aug 22, 2023
1 parent 5293d2e commit 3d4eea4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cast/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Let's use `cast` to retrieve the total supply of the DAI token:
You can also use `cast` to send arbitrary messages. Here's an example of sending a message between two Anvil accounts.

```bash
$ cast send --private-key <Your Private Key> 0x3c44cdddb6a900fa2b585dd299e03d12fa4293bc $(cast --from-utf8 "hello world") --rpc-url http://127.0.0.1:8545/
$ cast send --private-key <Your Private Key> 0x3c44cdddb6a900fa2b585dd299e03d12fa4293bc $(cast from-utf8 "hello world") --rpc-url http://127.0.0.1:8545/
```

<br>
Expand Down

0 comments on commit 3d4eea4

Please sign in to comment.