Skip to content

Commit

Permalink
Update packages/contracts-core/README.md
Browse files Browse the repository at this point in the history
Co-authored-by: χ² <[email protected]>
  • Loading branch information
trajan0x and ChiTimesChi authored Sep 16, 2023
1 parent 00cdb48 commit 46c1b61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/contracts-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ To run a devnet, you can run `make devnet-up` and `make devnet-deploy` from this
By default, the [`PingPongClient.sol`](contracts/client/PingPongClient.sol) is deployed, so you can interact with it with cast. For instance, to send a ping from chain 42 to chain 44:

```bash
cast send 0x521F44132489CDD54c9ceC8167CfC377CbAEa351 --rpc-url http://localhost:9001/rpc/43 --private-key 0x526db1890baf94e82162f17f25ad769eb7f981272d8d99c527ea1af443c2d0cc "doPing(uint32,address,uint16)" 42 0x521F44132489CDD54c9ceC8167CfC377CbAEa351 44
cast send 0x521F44132489CDD54c9ceC8167CfC377CbAEa351 --rpc-url http://localhost:9001/rpc/42 --private-key 0x526db1890baf94e82162f17f25ad769eb7f981272d8d99c527ea1af443c2d0cc "doPing(uint32,address,uint16)" 44 0x521F44132489CDD54c9ceC8167CfC377CbAEa351 1
```

Now, to make sure it work, you can pull up [scribe](../../services/scribe/) by going to http://localhost:9002/graphiql and [querying the logs](http://localhost:9002/graphiql?query=%7B%0A%20%20%0A%20%20logs(chain_id%3A%2044%2C%20page%3A%201)%7B%0A%20%20%20%20topics%0A%20%20%20%20receipt%0A%20%20%20%20block_number%0A%20%20%7D%0A%7D) for chain 44:
Expand Down

0 comments on commit 46c1b61

Please sign in to comment.